$(document).ready(function() {
	if ($('div[id*="ThreadMsgView"]').length > 0) {
		$('a[name="forums"] + table td + td').css('width','').show();
	}
});

function FilchGPUserNameFromHTML() {
	var nameRegex = /Welcome, ([^:]*) | </;
	var topBar = $("#ctl00_ContentPlaceHolder1_stateBarPageTop_pnlTopBar");
	var topBarText = topBar.get(0).innerHTML;
	var results = nameRegex.exec(topBarText);
	if (results != null) {
		return results[1];
	}
	return null;
}

function getGPUserName() {
	var userName = GetCookie('GuildPortalUserName');
	if ((userName == null) || (userName == "")) {
		userName = FilchGPUserNameFromHTML();
	}
	return userName;
}

function GetCookie(cookiename) {
	 var cookiestring = "" + document.cookie;
	 var index1 = cookiestring.indexOf(cookiename);
	 if (index1 == -1 || cookiename=="") return ""; 
	 var index2=cookiestring.indexOf(';',index1);
	 if (index2 == -1) index2 = cookiestring.length; 
	 return unescape(cookiestring.substring(index1+cookiename.length+1,index2));
}

$(document).ready(function()
{
	if (typeof($('#limericktable')) != "undefined") {
		$.getJSON("http://legionsgs.com/cgi/Limericks.cgi?user=" + escape(getGPUserName()) + "&jsoncallback=?", showLimericks);
	}
});

function showLimericks(data) {
	$.each(data, showLimerick);
	$("#limericktable").show();
	$("#limerickloadanim").hide();
}

function showLimerick(i, ldata)
{
	var lid = ldata[0];
	var score = ldata[1];
	var limerick = ldata[2];
	var ii;
	var tr = $("<tr />");
	
	tr.append($('<td class="limerick"></td>').append(limerick));
	for (ii = 0; ii < 5; ii++) {
		var create_str = "<input type=radio name=limerick" + lid 
		  + ' onclick="scoreLimerick(' + lid + "," + ii + ')" ';
		if (ii == score) {
		    create_str = create_str + 'checked="checked" ';
		}
		var ipt = $(create_str + '/>');
		tr.append(ipt);
		ipt.wrap('<td class="limerickrb"></td>');
	}
	$("#limericktable").append(tr);
}
		
function scoreLimerick(lid, score) {
	$.getJSON("http://legionsgs.com/cgi/Limericks.cgi?lid=" + lid + "&score=" + score + "&user=" + escape(getGPUserName()) + "&jsoncallback=?", function(data){});
}

if (typeof window.attachEvent=='object'){
document.write('<!--[if lte IE 6]>\n'+
'<script type="text/javascript">\n'+
'var ie6_or_less=1;\n'+
'<\/script>\n'+
'<![endif]-->\n'+
'<!--[if lt IE 5.5]>\n'+
'<script type="text/javascript">\n'+
'var less_than_ie5_5=1;\n'+
'<\/script>\n'+
'<![endif]-->')
}

var menu=[], resizereinit=true;
function truebody(){
return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body;
}

function getedge(o, is_top){
var edge;
if (is_top)
edge=window.pageYOffset? window.pageYOffset : truebody().scrollTop? truebody().scrollTop : 0;
else{
edge=o.menupos=='left'? 0 : truebody().clientWidth? truebody().clientWidth : window.innerWidth&&truebody().offsetHeight<=window.innerHeight? window.innerWidth :  window.innerWidth? window.innerWidth-20 : 0;
edge+=window.pageXOffset? window.pageXOffset : truebody().scrollLeft? truebody().scrollLeft: 0;
}
return edge;
}

function keep_in_view(o){
if(o.keepinview){
if(o.m.ft){
o.m.ft=0;
o.m.topP=o.m.offsetTop;
o.m.ltop=0;
}
var pt=getedge(o, 'top'), ks=typeof o.keepinview=='number'&&o.keepinview<o.m.topP&&o.keepinview>0? o.keepinview : o.m.topP, smooth=0;
if (pt!=o.m.ltop){
if(o.menupos=='top')
o.m.style.visibility='hidden';
smooth = pt>o.m.topP-ks? .2 * (pt - o.m.ltop - o.m.topP + ks) : o.m.ltop>0? -.2 * o.m.ltop : 0;
smooth = smooth > 0 ? Math.ceil(smooth) : Math.floor(smooth);
}
else if(o.menupos=='top')
o.m.style.visibility='';
o.m.style.top=(o.m.style.top? parseInt(o.m.style.top) : o.m.topP)+smooth+'px';
o.m.ltop += smooth;
}
if(o.menupos=='top'){
if(typeof o.menuleft=='string'){
o.m.style.left=o.menuleft
o.m.style.marginLeft=Math.floor(o.m.getElementsByTagName('div')[0].offsetWidth/-2)+'px';
o.lleft=o.m.offsetLeft;
}
o.m.style.marginLeft=0;
o.m.style.left=o.lleft+(window.pageXOffset? window.pageXOffset : truebody().scrollLeft? truebody().scrollLeft: 0)+'px';
}
else
o.m.style.left=getedge(o)-(o.menupos=='right'? o.m.offsetWidth : 0)+'px';
}
function move(el, num){
el.getElementsByTagName('div')[0].style[el.menupos]=parseInt(el.getElementsByTagName('div')[0].style[el.menupos])+num+'px';
if(el.menupos=='right'){
if(el.kviewtype=='absolute')
el.style.left=parseInt(el.style.left)-num+'px';
el.style.width=parseInt(el.style.width)+num+'px';
}
if(num>0)
el.moving=setTimeout(function(){movein(el)}, el.menuspeed)
else
el.moving=setTimeout(function(){moveout1(el)}, el.menuspeed)
}
function movein(el){
var m1=parseInt(el.getElementsByTagName('div')[0].style[el.menupos]);
if(el.moving)
clearTimeout(el.moving);
if (m1<-1*el.borderwidth)
move(el, Math.min(-1*m1-el.borderwidth, 10));
}
function moveout(el){
if(el.moving)
clearTimeout(el.moving);
el.moving=setTimeout(function(){moveout1(el)}, el.menupause);
}
function moveout1(el){
var aw=el.menupos=='top'? el.b.offsetHeight : el.b.offsetWidth, m1=el.getElementsByTagName('div')[0];
if(el.moving)
clearTimeout(el.moving);
if (parseInt(m1.style[el.menupos])>aw-(el.menupos=='top'? m1.offsetHeight : m1.offsetWidth)+10)
move(el, -10);
else {
m1.style[el.menupos]=aw-(el.menupos=='top'? m1.offsetHeight : m1.offsetWidth)+'px';
if(el.menupos=='right'){
el.style.width=aw+'px';
if(el.kviewtype=='absolute'){
var ed=truebody().clientWidth? truebody().clientWidth : window.innerWidth&&truebody().offsetHeight<=window.innerHeight? window.innerWidth :  window.innerWidth? window.innerWidth-20 : 0;
ed+=window.pageXOffset? window.pageXOffset : truebody().scrollLeft? truebody().scrollLeft: 0;
el.style.left=ed-el.offsetWidth+'px';
}
}
}
}
function to_em(n, o){
return Math.round((n/(16*parseInt(o.fontsize)/100))*1000)/1000;
}
function getrows(o){
var r=o.menuItems.length+(o.wrapbar? 1 : 0);
for (var i_tem = 0; i_tem < o.menuItems.length; i_tem++)
if (o.menuItems[i_tem][4]&&o.menuItems[i_tem][4]=='no')
r--;
return r;
}
function make_bar(o){
var bt=o.menupos=='right'||o.menupos=='top'? '<tr>' : '';
bt+='<td id="'+o.id+'bar" '+(o.menupos=='top'? 'colspan="'+o.d_colspan : 'rowspan="'+getrows(o))+'">'
if (!/<img/.test(o.bartext.toLowerCase())){
for (var i_tem = 0; i_tem < o.bartext.length-(o.menupos=='top'? 1 : 0); i_tem++)
bt+=o.menupos=='top'&&o.bartext.charAt(i_tem)==' '? '\u00a0 ' : o.menupos=='top'? o.bartext.charAt(i_tem)+' ' : '<br>'+o.bartext.charAt(i_tem);
bt+=o.menupos=='top'? o.bartext.charAt(o.bartext.length-1)+'</td>' : '<br>\u00a0</td>';
}
else
bt+=o.bartext+'</td>'
return bt+(o.menupos=='right'? '\n' : '</tr>\n');
}

function make_style(o){
if(o.user_defined_stylesheet&&!o.design_mode)
return '';
var sheet=''
sheet+='#'+o.id+' {\n'+
(o.menupos=='top'? 'top:0;\n' : 'top:'+o.menutop+'px; /*set initial Height from top*/\n')+
(o.menupos=='top'? 'left:'+o.menuleft+(typeof o.menuleft=='number'? 'px' : '')+';\n' : '')+
(o.menupos=='right'&&o.kviewtype=='fixed'? 'right:0;\n' : '')+
'position:'+o.kviewtype+';\n'+
'overflow:'+(o.menupos=='right'? 'hidden' : 'visible')+';\n'+
'z-index:100;\n'+
(o.menupos=='left'? 'left:0;\n' : '')+
'}\n'+
'#'+o.id+' div {\n'+
'border-width:'+(typeof o.outbrdwidth=='number'? o.outbrdwidth+'px' : o.outbrdwidth)+'; /*Menu\'s outer border*/\n'+
'border-style:'+o.outbrdstyle+';\n'+
(o.outbrdcolor=='none'? '' : 'border-color:'+o.outbrdcolor+';\n')+
'position:absolute;\n'+
'color:black;\n'+
'background-color:transparent;\n'+
'}\n'+
'#'+o.id+' table {\n'+
'border:'+o.borderwidth+'px '+o.borderstyle+' '+o.bordercolor+'; /*Menu\'s inner border*/\n'+
(o.menupos=='top'? 'border-left-width:0;\n' : '')+
(o.menupos=='top'? 'border-bottom-width:0;\n' : '')+
'font-family:'+o.menufont+', sans-serif; /*Overall font for Menu*/\n'+
'font-size:'+o.fontsize+';\n'+
'border-collapse:collapse;\n'+
'background-color:'+(o.allowtransparent? 'transparent' : o.bordercolor)+';\n'+
'width:'+to_em(o.barwidth+o.hdingwidth+o.borderwidth*(o.d_colspan+2), o)+'em;\n'+
'}\n'+
'#'+o.id+' td { /*Characteristics for cells in the menu table - do not specify width here*/\n'+
'border-bottom:'+o.borderwidth+'px '+o.borderstyle+' '+o.bordercolor+';\n'+
'border-left:'+o.borderwidth+'px '+o.borderstyle+' '+o.bordercolor+';\n'+
'height:'+to_em(o.linkheight, o)+'em;\n'+
'padding:0;\n'+
'margin:0;\n'+
'text-align:'+o.linktxtalign+';\n'+
'}\n'+
'#'+o.id+' #'+o.id+'bar { /*Characteristics for initially visible \'draw\' bar (the vertical cell)*/\n'+
(o.menupos=='top'? 'height:' : 'width:')+to_em(o.barwidth+(document.all||o.menupos=='top'? o.borderwidth*2 : 0), o)+'em;\n'+
'background-color:'+o.barbgcolor+';\n'+
'color:'+o.barcolor+';\n'+
'font-weight:'+o.barfontweight+';\n'+
'text-align:'+o.baralign+';\n'+
(o.menupos=='top'? '' : 'border-width:0;\n')+
'cursor:default;\n'+
'}\n'+
'#'+o.id+' .heading { /*Characteristics for heading cells in the menu table*/\n'+
'height:'+to_em(o.hdingheight, o)+'em;\n'+
'color:'+o.hdingcolor+';\n'+
'font-weight:'+o.hdingfontweight+';\n'+
'text-indent:'+o.hdingindent+'ex;\n'+
'background-color:'+o.hdingbgcolor+'; /*Background Color for menu headings */\n'+
'width:'+to_em(o.hdingwidth, o)+'em; /*This will be the menu body width.  This'+(o.menupos!='top'? ' (plus #'+o.id+'bar width for left and right menus)' : '')+' and 4 times the border width should also be the menu table\'s approximate width*/\n'+
'vertical-align:'+o.hdingvalign+';\n'+
'text-align:'+o.hdingtxtalign+';\n'+
'border-left-color:'+o.hdingbgcolor+';\n'+
'border-left-style:solid;\n'+
'}\n'+
(o.wrapbar&&o.menupos!='top'? '#'+o.id+' #'+o.id+'lastrow {\n'+
'height:'+to_em(o.barwidth, o)+'em;\n'+
'background-color:'+o.barbgcolor+';\n'+
'border-width:0;\n'+
'margin:0 0 '+o.borderwidth+'px '+o.borderwidth+'px;\n'+
'}\n' : o.menupos!='top'? '#'+o.id+' #'+o.id+'lastrow {\n'+
'border-bottom-width:0;\n'+
'margin:0 0 '+o.borderwidth+'px '+o.borderwidth+'px;\n'+
'}\n' : '')+
'#'+o.id+' a {\n'+
'width:100%;\n'+
'height:100%;\n'+
'display:block;\n'+
'padding-top:'+to_em(o.linktopad, o)+'em;\n'+
'}\n';
if(o.design_mode){
if(document.getElementById('ooostyle'))
alert('Only one menu\'s script generated styles may be displayed at a time!\n\nCurrently showing '+document.getElementById('ooostyle').tell+'\'s stylesheet\n\n(or there is a syntax error - most\n\u00a0\u00a0\u00a0\u00a0likely in the menuItem.js file)');
else{
var isusing=o.user_defined_stylesheet? ' not' : '';
var sw=(window.innerWidth? window.innerWidth : truebody().clientWidth)/1.5; 
document.write('<textarea id="ooostyle" cols="'+Math.floor(sw/8)+'" rows="65" wrap="off" style="margin-left:-'+Math.floor(sw/2)+'px;overflow:auto;position:absolute;top:10px;left:50%;z-index:1000;">\n')
document.write('\/* '+o.id+'\'s Script Generated Styles: */\n\/* '+o.id+' is'+isusing+' currently using these via the script */\n\n'+sheet);
document.write('\n\/* End '+o.id+'\'s Script Generated Styles */');
document.write('</textarea>')
document.getElementById('ooostyle').tell=o.id;
}
}
if(!o.user_defined_stylesheet)
return '<style type="text/css">\n'+sheet+'</style>';
return '';
}
function make_style_make_menu(o, s){
if(s){
if(!o.id) {alert('a unique id is required for each menu');return;};
if(!o.menuItems||o.menuItems.constructor!=Array) {alert('an array of menu items is required for each menu');return;};
if(!o.menutop) {o.menutop=150};
if(!o.menuleft) {o.menuleft='50%'};
if(!o.keepinview&&typeof o.keepinview=='boolean')
o.keepinview=false;
else if(!o.keepinview) {o.keepinview=30};
if(!o.menuspeed) {o.menuspeed=20};
if(!o.menupause) {o.menupause=500};
if(!o.d_colspan) {o.d_colspan=2};
if(!o.allowtransparent) {o.allowtransparent=false};
if(!o.barwidth) {o.barwidth=22};
if(!o.hdingwidth) {o.hdingwidth=149};
if(!o.hdingheight) {o.hdingheight=22};
if(!o.hdingindent) {o.hdingindent=1};
if(!o.linkheight) {o.linkheight=16};
if(!o.outbrdwidth) {o.outbrdwidth=0};
if(!o.outbrdcolor) {o.outbrdcolor="none"};
if(!o.outbrdstyle) {o.outbrdstyle="none"};
if(!o.borderwidth) {o.borderwidth=1};
if(!o.bordercolor) {o.bordercolor="black"};
if(!o.borderstyle) {o.borderstyle="solid"};
if(!o.barcolor) {o.barcolor="white"};
if(!o.barbgcolor) {o.barbgcolor="#444444"};
if(!o.barfontweight) {o.barfontweight="bold"};
if(!o.baralign) {o.baralign="center"};
if(!o.menufont) {o.menufont="verdana"};
if(!o.fontsize) {o.fontsize="80%"};
if(!o.hdingcolor) {o.hdingcolor="white"};
if(!o.hdingbgcolor) {o.hdingbgcolor="#170088"};
if(!o.hdingfontweight) {o.hdingfontweight="bold"};
if(!o.hdingvalign) {o.hdingvalign="middle"};
if(!o.hdingtxtalign) {o.hdingtxtalign="left"};
if(!o.linktopad) {o.linktopad=0};
if(!o.linktxtalign) {o.linktxtalign="left"};
if(!o.linktarget) {o.linktarget=""};
if(!o.menupos) {o.menupos="left"};
if(!o.bartext) {o.bartext="SIDE MENU"};
if(!o.user_defined_stylesheet) {o.user_defined_stylesheet=false};
if(!o.user_defined_markup) {o.user_defined_markup=false};
if(!o.design_mode) {o.design_mode=false};
if(!o.wrapbar) {o.wrapbar=false};
if(!o.kviewtype) {o.kviewtype='absolute'};
if(typeof ie6_or_less!='undefined')
o.kviewtype='absolute';
else if(o.menupos=='top'&&o.kviewtype=='absolute')
o.kviewtype='fixed';
while(!o.menuItems[o.menuItems.length-1])
o.menuItems.length=o.menuItems.length-1;
document.write(make_style(o));
return;
}
else {
if(o.design_mode||!o.user_defined_markup){
var hw=o.hdingwidth;

var tb='<div id="'+o.id+'" onmouseover="movein(this);" onmouseout="moveout(this);"><div><table>\n';
tb+=o.menupos=='right'? make_bar(o) : '';
for (var i_tem = 0; i_tem < o.menuItems.length; i_tem++){
if ((o.menupos=='top'&&i_tem==0)||i_tem>0&&(!o.menuItems[i_tem-1][4]||o.menuItems[i_tem-1][4]!=='no'))
tb+='<tr>'
if (o.menuItems[i_tem][1]&&o.menuItems[i_tem][1]!==''){
tb+='<td '+(i_tem==o.menuItems.length-1&&!o.wrapbar&&o.menupos!='top'? 'id="'+o.id+'lastrow" ' : '')+'colspan="'+(o.menuItems[i_tem][3]&&o.menuItems[i_tem][3]!==''? o.menuItems[i_tem][3] : o.d_colspan)+'"><a href="'+o.menuItems[i_tem][1]+'" target="'+(o.menuItems[i_tem][2]? o.menuItems[i_tem][2] : o.linktarget)+'">'+o.menuItems[i_tem][0]+'</a></td>'
}
else
tb+='<td '+(i_tem==o.menuItems.length-1&&!o.wrapbar&&o.menupos!='top'? 'id="'+o.id+'lastrow" ' : '')+'class="heading" '+(o.menuItems[i_tem][3]&&o.menuItems[i_tem][3]!==''&&o.menuItems[i_tem][3]!==o.d_colspan? 'style="width:'+to_em(hw*o.menuItems[i_tem][3]/o.d_colspan, o)+'em;'+(i_tem>0&&o.menuItems[i_tem-1][4]&&o.menuItems[i_tem-1][4]=='no'? 'border-left-width:0;margin-left:'+o.borderwidth+'px;' : '')+'" ' : '')+'colspan="'+(o.menuItems[i_tem][3]&&o.menuItems[i_tem][3]!==''? o.menuItems[i_tem][3] : o.d_colspan)+'">'+o.menuItems[i_tem][0]+'</td>'
if (!o.menuItems[i_tem][4]||o.menuItems[i_tem][4]!=='no')
tb+=o.menupos=='left'&&i_tem==0? make_bar(o) : '</tr>\n';
}
tb+=o.wrapbar&&o.menupos!='top'? '<tr><td id="'+o.id+'lastrow" colspan="'+o.d_colspan+'">\u00a0</td></tr>\n' : '';
tb+=o.menupos=='top'? make_bar(o) : '';

if(!o.user_defined_markup)
document.write(tb+'</table></div></div>')
}
if(o.design_mode)
document.getElementById('ooostyle').value+='\n\n<!-- The Markup for '+o.id+' -->\n\n'+tb+'</table></div></div>\n\n<!-- End '+o.id+'\'s Markup -->'
o.m=document.getElementById(o.id);
var b=document.getElementById(o.id+'bar');
o.m.b=b;
o.m.ft=1;
o.m.menupos=o.menupos;
o.m.menupause=o.menupause;
o.m.menuspeed=o.menuspeed;
o.m.borderwidth=o.borderwidth;
o.m.kviewtype=o.kviewtype;
resizevent(o);
if(o.menupos=='top'&&typeof window.attachEvent=='object'&&typeof ie6_or_less!='undefined')
window.attachEvent('onscroll', function(){o.m.style.visibility='hidden';});
if(o.kviewtype=='absolute'&&(o.menupos!='top'||(typeof ie6_or_less!='undefined'&&typeof window.attachEvent=='object')))
setInterval(function(){keep_in_view(o)}, 20)
}
}

function resizevent(o){
var m1=o.m.getElementsByTagName('div')[0], bo=o.menupos=='top'? o.m.b.offsetHeight : o.m.b.offsetWidth;
m1.style[o.menupos]=bo-(o.menupos=='top'? m1.offsetHeight : m1.offsetWidth)+'px'
if(o.menupos=='right'){
if(o.kviewtype=='absolute')
o.m.style.left=getedge(o)-o.m.offsetWidth+'px';
o.m.style.width=bo+'px';
o.m.style.height=m1.offsetHeight+'px';
if(typeof less_than_ie5_5!='undefined'){
o.m.onmouseover(o.m);
o.m.onmouseout(o.m);
}
}
if(o.menupos=='top'){
o.m.style.width=m1.style.width=o.m.getElementsByTagName('table')[0].offsetWidth+'px';
if(typeof o.menuleft=='string')
o.m.style.marginLeft=Math.floor(m1.offsetWidth/-2)+'px';
}
}
/*

ONTEXTRESIZE EVENT SPOOFER

Including this file in your page will allow you to assign a function
to window.ontextresize, which will be called when the user changes the
size of text on the page.

Used with (as far as I know) permission from: http://forkandspoonhelmet.com/Fork_and_Spoon_Helmet

*/
var ontextresizeLastSize = false;
if (window.attachEvent) window.attachEvent("onload", initOntextresizeListener);
else if (window.addEventListener) window.addEventListener("load", initOntextresizeListener, false);
function initOntextresizeListener() {
if(!resizereinit||typeof less_than_ie5_5!='undefined')
return;
	var testDiv = document.createElement("div");
	testDiv.style.position = "absolute";
	testDiv.style.height = "1em";
	testDiv.style.width = "1em";
	testDiv.style.top = "-2em";
	testDiv.style.left = "-2em";
	var docTestDiv = document.body.appendChild(testDiv);
	docTestDiv.id = "ontextresizeTestDiv";
	ontextresizeListener = setInterval("ontextresizeCheckTestDiv()",100);
}
function ontextresizeCheckTestDiv() {
	if (ontextresizeLastSize!=document.getElementById("ontextresizeTestDiv").offsetWidth) {
		if (ontextresizeLastSize && window.ontextresize) window.ontextresize.call();
		ontextresizeLastSize = document.getElementById("ontextresizeTestDiv").offsetWidth;
	}
}
window.ontextresize=function(){
for (var i_tem = 0; i_tem < menu.length; i_tem++)
if(typeof menu[i_tem]!='undefined')
resizevent(menu[i_tem]);
};

function make_menus(){
if(document.getElementById){
for (var i_tem = 0; i_tem < menu.length; i_tem++)
if(typeof menu[i_tem]!='undefined')
make_style_make_menu(menu[i_tem], 's');
for (i_tem = 0; i_tem < menu.length; i_tem++)
if(typeof menu[i_tem]!='undefined')
make_style_make_menu(menu[i_tem]);
}
}
/***********************************************
* Omni Slide Menu script - © John Davenport Scheuer
* very freely adapted from Dynamic-FX Slide-In Menu (v 6.5) script- by maXimus
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full original source code
* as first mentioned in http://www.dynamicdrive.com/forums
* username:jscheuer1
***********************************************/

//One global variable to set, use true if you want the menus to reinit when the user changes text size (recommended):

resizereinit = true;

menu[1] = 
{
	id:'lovmenu', 				//use unique quoted id (quoted) REQUIRED!!
	keepinview: true,			// Fixed menu position as page scrolls
	menutop: 30,				// Y offset from top of page
	borderwidth: 0,	
	
	hdingwidth: 200,  			// heading - non linked horizontal cells width
	hdingheight: 24,			// Height of nonlinking menu items
	hdingcolor: "white",		// Heading text color
	hdingbgcolor: "#AA0000",	// Heading bkgnd color
	hdingtxtalign: "center",	// Heading horz text alignment
	hdingvalign: "center",		// Heading vert alignment

	linktxtalign: "center",	 	// Links text align
	menuspeed: 10,				// Milliseconds
	menupause: 350,
	linkheight: 17,				// Height of linking cells
	linktopad: 4,				// Space padding at top of each link cell

	barwidth: 30,				// Width of pull tab
	barbgcolor: "#111133",		// Pull tab background color
	
	bartext: '<img src="http://legionsgs.com/img/site/lov/SiteMenu4.jpg" valign="top" border="0" alt="Site Menu">',

	menuItems: [
		// [name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header
		 ["Public Access"],
		 ["Home Page", "http://legionofvalor.guildportal.com", ""],
		 ["Join the Legion", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=258394",""],
		 ["Legion Info", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=183536",""],
		 ["Image Gallery", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=229736", ""],
		 ["Events Calendar", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=161510", ""],
		 ["Electronic Mail", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=161514", ""],
		 ["Message Forums", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=161508", ""],
		
		 ["Members Only", "", ""],
		 ["Roster of Heroes", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=161511", ""],
		 ["Voting", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=161509", "", 1, "no"],
		 ["Medals", "http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=167152", "", 1]
	]
};

make_menus();

/*
 * Copyright (c) 2009 Simo Kinnunen.
 * Licensed under the MIT license.
 */
var Cufon=(function(){var K=function(){return K.replace.apply(null,arguments)};var U=K.DOM={ready:(function(){var Z=false,b={loaded:1,complete:1};var Y=[],a=function(){if(Z){return}Z=true;for(var c;c=Y.shift();c()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",a,false);window.addEventListener("pageshow",a,false)}if(!window.opera&&document.readyState){(function(){b[document.readyState]?a():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");a()}catch(c){setTimeout(arguments.callee,1)}})()}O(window,"load",a);return function(c){if(!arguments.length){a()}else{Z?c():Y.push(c)}}})()};var L=K.CSS={Size:function(Z,Y){this.value=parseFloat(Z);this.unit=String(Z).match(/[a-z%]*$/)[0]||"px";this.convert=function(a){return a/Y*this.value};this.convertFrom=function(a){return a/this.value*Y};this.toString=function(){return this.value+this.unit}},getStyle:function(Z){var Y=document.defaultView;if(Y&&Y.getComputedStyle){return new A(Y.getComputedStyle(Z,null))}if(Z.currentStyle){return new A(Z.currentStyle)}return new A(Z.style)},ready:(function(){var a=false;var Z=[],b=function(){a=true;for(var d;d=Z.shift();d()){}};var Y=Object.prototype.propertyIsEnumerable?F("style"):{length:0};var c=F("link");U.ready(function(){var g=0,f;for(var e=0,d=c.length;f=c[e],e<d;++e){if(!f.disabled&&f.rel.toLowerCase()=="stylesheet"){++g}}if(document.styleSheets.length>=Y.length+g){b()}else{setTimeout(arguments.callee,10)}});return function(d){if(a){d()}else{Z.push(d)}}})(),supports:function(a,Z){var Y=document.createElement("span").style;if(Y[a]===undefined){return false}Y[a]=Z;return Y[a]===Z},textAlign:function(b,a,Y,Z){if(a.get("textAlign")=="right"){if(Y>0){b=" "+b}}else{if(Y<Z-1){b+=" "}}return b},textDecoration:function(d,c){if(!c){c=this.getStyle(d)}var Z={underline:null,overline:null,"line-through":null};for(var Y=d;Y.parentNode&&Y.parentNode.nodeType==1;){var b=true;for(var a in Z){if(Z[a]){continue}if(c.get("textDecoration").indexOf(a)!=-1){Z[a]=c.get("color")}b=false}if(b){break}c=this.getStyle(Y=Y.parentNode)}return Z},textShadow:I(function(c){if(c=="none"){return null}var b=[],d={},Y,Z=0;var a=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(Y=a.exec(c)){if(Y[0]==","){b.push(d);d={},Z=0}else{if(Y[1]){d.color=Y[1]}else{d[["offX","offY","blur"][Z++]]=Y[2]}}}b.push(d);return b}),color:I(function(Z){var Y={};Y.color=Z.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(b,a,c){Y.opacity=parseFloat(c);return"rgb("+a+")"});return Y}),textTransform:function(Z,Y){return Z[{uppercase:"toUpperCase",lowercase:"toLowerCase"}[Y.get("textTransform")]||"toString"]()}};function Q(Z){var Y=this.face=Z.face;this.glyphs=Z.glyphs;this.w=Z.w;this.baseSize=parseInt(Y["units-per-em"],10);this.family=Y["font-family"].toLowerCase();this.weight=Y["font-weight"];this.style=Y["font-style"]||"normal";this.viewBox=(function(){var b=Y.bbox.split(/\s+/);var a={minX:parseInt(b[0],10),minY:parseInt(b[1],10),maxX:parseInt(b[2],10),maxY:parseInt(b[3],10)};a.width=a.maxX-a.minX,a.height=a.maxY-a.minY;a.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return a})();this.ascent=-parseInt(Y.ascent,10);this.descent=-parseInt(Y.descent,10);this.height=-this.ascent+this.descent}function E(){var Z={},Y={oblique:"italic",italic:"oblique"};this.add=function(a){(Z[a.style]||(Z[a.style]={}))[a.weight]=a};this.get=function(e,f){var d=Z[e]||Z[Y[e]]||Z.normal||Z.italic||Z.oblique;if(!d){return null}f={normal:400,bold:700}[f]||parseInt(f,10);if(d[f]){return d[f]}var b={1:1,99:0}[f%100],h=[],c,a;if(b===undefined){b=f>400}if(f==500){f=400}for(var g in d){g=parseInt(g,10);if(!c||g<c){c=g}if(!a||g>a){a=g}h.push(g)}if(f<c){f=c}if(f>a){f=a}h.sort(function(j,i){return(b?(j>f&&i>f)?j<i:j>i:(j<f&&i<f)?j>i:j<i)?-1:1});return d[h[0]]}}function P(){function a(c,d){if(c.contains){return c.contains(d)}return c.compareDocumentPosition(d)&16}function Y(d){var c=d.relatedTarget;if(!c||a(this,c)){return}Z(this)}function b(c){Z(this)}function Z(c){setTimeout(function(){K.replace(c,D.get(c).options,true)},10)}this.attach=function(c){if(c.onmouseenter===undefined){O(c,"mouseover",Y);O(c,"mouseout",Y)}else{O(c,"mouseenter",b);O(c,"mouseleave",b)}}}function X(){var a={},Y=0;function Z(b){return b.cufid||(b.cufid=++Y)}this.get=function(b){var c=Z(b);return a[c]||(a[c]={})}}function A(Y){var a={},Z={};this.get=function(b){return a[b]!=undefined?a[b]:Y[b]};this.getSize=function(c,b){return Z[c]||(Z[c]=new L.Size(this.get(c),b))};this.extend=function(b){for(var c in b){a[c]=b[c]}return this}}function O(Z,Y,a){if(Z.addEventListener){Z.addEventListener(Y,a,false)}else{if(Z.attachEvent){Z.attachEvent("on"+Y,function(){return a.call(Z,window.event)})}}}function R(Z,Y){var a=D.get(Z);if(a.options){return Z}if(Y.hover&&Y.hoverables[Z.nodeName.toLowerCase()]){B.attach(Z)}a.options=Y;return Z}function I(Y){var Z={};return function(a){if(!Z.hasOwnProperty(a)){Z[a]=Y.apply(null,arguments)}return Z[a]}}function C(d,c){if(!c){c=L.getStyle(d)}var Z=c.get("fontFamily").split(/\s*,\s*/),b;for(var a=0,Y=Z.length;a<Y;++a){b=Z[a].replace(/^(["'])(.*?)\1$/,"$2").toLowerCase();if(H[b]){return H[b].get(c.get("fontStyle"),c.get("fontWeight"))}}return null}function F(Y){return document.getElementsByTagName(Y)}function G(){var Y={},b;for(var a=0,Z=arguments.length;a<Z;++a){for(b in arguments[a]){Y[b]=arguments[a][b]}}return Y}function M(b,k,Z,m,c,a){var j=m.separate;if(j=="none"){return W[m.engine].apply(null,arguments)}var h=document.createDocumentFragment(),e;var f=k.split(N[j]),Y=(j=="words");if(Y&&S){if(/^\s/.test(k)){f.unshift("")}if(/\s$/.test(k)){f.push("")}}for(var g=0,d=f.length;g<d;++g){e=W[m.engine](b,Y?L.textAlign(f[g],Z,g,d):f[g],Z,m,c,a,g<d-1);if(e){h.appendChild(e)}}return h}function J(Z,g){var a,Y,d,f;for(var b=R(Z,g).firstChild;b;b=d){d=b.nextSibling;f=false;if(b.nodeType==1){if(!b.firstChild){continue}if(!/cufon/.test(b.className)){arguments.callee(b,g);continue}else{f=true}}if(!Y){Y=L.getStyle(Z).extend(g)}if(!a){a=C(Z,Y)}if(!a){continue}if(f){W[g.engine](a,null,Y,g,b,Z);continue}var e=b.data;if(e===""){continue}var c=M(a,e,Y,g,b,Z);if(c){b.parentNode.replaceChild(c,b)}else{b.parentNode.removeChild(b)}}}var S=" ".split(/\s+/).length==0;var D=new X();var B=new P();var V=[];var W={},H={},T={enableTextDecoration:false,engine:null,hover:false,hoverables:{a:true},printable:true,selector:(window.Sizzle||window.jQuery||(window.dojo&&dojo.query)||(window.$$&&function(Y){return $$(Y)})||(window.$&&function(Y){return $(Y)})||(document.querySelectorAll&&function(Y){return document.querySelectorAll(Y)})||F),separate:"words",textShadow:"none"};var N={words:/\s+/,characters:""};K.now=function(){U.ready();return K};K.refresh=function(){var a=V.splice(0,V.length);for(var Z=0,Y=a.length;Z<Y;++Z){K.replace.apply(null,a[Z])}return K};K.registerEngine=function(Z,Y){if(!Y){return K}W[Z]=Y;return K.set("engine",Z)};K.registerFont=function(a){var Y=new Q(a),Z=Y.family;if(!H[Z]){H[Z]=new E()}H[Z].add(Y);return K.set("fontFamily",Z)};K.replace=function(a,Z,Y){Z=G(T,Z);if(!Z.engine){return K}if(typeof Z.textShadow=="string"){Z.textShadow=L.textShadow(Z.textShadow)}if(!Y){V.push(arguments)}if(a.nodeType||typeof a=="string"){a=[a]}L.ready(function(){for(var c=0,b=a.length;c<b;++c){var d=a[c];if(typeof d=="string"){K.replace(Z.selector(d),Z,true)}else{J(d,Z)}}});return K};K.set=function(Y,Z){T[Y]=Z;return K};return K})();Cufon.registerEngine("canvas",(function(){var B=document.createElement("canvas");if(!B||!B.getContext||!B.getContext.apply){return null}B=null;var A=Cufon.CSS.supports("display","inline-block");var E=!A&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var F=document.createElement("style");F.type="text/css";F.appendChild(document.createTextNode("@media screen,projection{.cufon-canvas{display:inline;display:inline-block;position:relative;vertical-align:middle"+(E?"":";font-size:1px;line-height:1px")+"}.cufon-canvas .cufon-alt{position:absolute;left:-10000in;font-size:1px}"+(A?".cufon-canvas canvas{position:relative}":".cufon-canvas canvas{position:absolute}")+"}@media print{.cufon-canvas{padding:0 !important}.cufon-canvas canvas{display:none}.cufon-canvas .cufon-alt{display:inline}}"));document.getElementsByTagName("head")[0].appendChild(F);function D(O,H){var M=0,L=0;var G=[],N=/([mrvxe])([^a-z]*)/g,J;generate:for(var I=0;J=N.exec(O);++I){var K=J[2].split(",");switch(J[1]){case"v":G[I]={m:"bezierCurveTo",a:[M+~~K[0],L+~~K[1],M+~~K[2],L+~~K[3],M+=~~K[4],L+=~~K[5]]};break;case"r":G[I]={m:"lineTo",a:[M+=~~K[0],L+=~~K[1]]};break;case"m":G[I]={m:"moveTo",a:[M=~~K[0],L=~~K[1]]};break;case"x":G[I]={m:"closePath"};break;case"e":break generate}H[G[I].m].apply(H,G[I].a)}return G}function C(K,J){for(var I=0,H=K.length;I<H;++I){var G=K[I];J[G.m].apply(J,G.a)}}return function(q,T,k,P,X,r){var I=(T===null);var V=q.viewBox;var J=k.getSize("fontSize",q.baseSize);var h=k.get("letterSpacing");h=(h=="normal")?0:J.convertFrom(parseInt(h,10));var W=0,j=0,f=0,R=0;var U=P.textShadow,d=[];if(U){for(var p=0,m=U.length;p<m;++p){var Z=U[p];var c=J.convertFrom(parseFloat(Z.offX));var b=J.convertFrom(parseFloat(Z.offY));d[p]=[c,b];if(b<W){W=b}if(c>j){j=c}if(b>f){f=b}if(c<R){R=c}}}var u=Cufon.CSS.textTransform(I?X.alt:T,k).split("");var G=0,S=null;for(var p=0,m=u.length;p<m;++p){var Q=q.glyphs[u[p]]||q.missingGlyph;if(!Q){continue}G+=S=Number(Q.w||q.w)+h}if(S===null){return null}j+=(V.width-S);R+=V.minX;var O,K;if(I){O=X;K=X.firstChild}else{O=document.createElement("span");O.className="cufon cufon-canvas";O.alt=T;K=document.createElement("canvas");O.appendChild(K);if(P.printable){var n=document.createElement("span");n.className="cufon-alt";n.appendChild(document.createTextNode(T));O.appendChild(n)}}var v=O.style;var a=K.style;var H=J.convert(V.height-W+f);var t=Math.ceil(H);var e=t/H;K.width=Math.ceil(J.convert(G+j-R)*e);K.height=t;W+=V.minY;a.top=Math.round(J.convert(W-q.ascent))+"px";a.left=Math.round(J.convert(R))+"px";var N=Math.ceil(J.convert(G*e))+"px";if(A){v.width=N;v.height=J.convert(q.height)+"px"}else{v.paddingLeft=N;v.paddingBottom=(J.convert(q.height)-1)+"px"}var s=K.getContext("2d"),Y=t/V.height;s.scale(Y,Y);s.translate(-R,-W);s.lineWidth=q.face["underline-thickness"];s.save();function L(i,g){s.strokeStyle=g;s.beginPath();s.moveTo(0,i);s.lineTo(G,i);s.stroke()}var M=P.enableTextDecoration?Cufon.CSS.textDecoration(r,k):{};if(M.underline){L(-q.face["underline-position"],M.underline)}if(M.overline){L(q.ascent,M.overline)}s.fillStyle=k.get("color");function o(){for(var w=0,g=u.length;w<g;++w){var x=q.glyphs[u[w]]||q.missingGlyph;if(!x){continue}s.beginPath();if(x.d){if(x.code){C(x.code,s)}else{x.code=D("m"+x.d,s)}}s.fill();s.translate(Number(x.w||q.w)+h,0)}}if(U){for(var p=0,m=U.length;p<m;++p){var Z=U[p];s.save();s.fillStyle=Z.color;s.translate.apply(s,d[p]);o();s.restore()}}o();s.restore();if(M["line-through"]){L(-q.descent,M["line-through"])}return O}})());Cufon.registerEngine("vml",(function(){if(!document.namespaces){return}document.write('<!--[if vml]><script type="text/javascript">Cufon.vmlEnabled=true;<\/script><![endif]-->');if(!Cufon.vmlEnabled){return}if(document.namespaces.cvml==null){document.namespaces.add("cvml","urn:schemas-microsoft-com:vml");document.write('<style type="text/css">@media screen{cvml\\:shape,cvml\\:group,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute}.cufon-vml-canvas{position:absolute;text-align:left}.cufon-vml{display:inline-block;position:relative;vertical-align:middle}.cufon-vml .cufon-alt{position:absolute;left:-10000in;font-size:1px}a .cufon-vml{cursor:pointer}}@media print{.cufon-vml *{display:none}.cufon-vml .cufon-alt{display:inline}}</style>')}function B(C,D){return A(C,/(?:em|ex|%)$/i.test(D)?"1em":D)}function A(F,G){if(/px$/i.test(G)){return parseFloat(G)}var E=F.style.left,D=F.runtimeStyle.left;F.runtimeStyle.left=F.currentStyle.left;F.style.left=G;var C=F.style.pixelLeft;F.style.left=E;F.runtimeStyle.left=D;return C}return function(r,U,m,R,Y,s,h){var F=(U===null);if(F){U=Y.alt}var W=r.viewBox;var G=m.computedFontSize||(m.computedFontSize=new Cufon.CSS.Size(B(s,m.get("fontSize"))+"px",r.baseSize));var g=m.computedLSpacing;if(g==undefined){g=m.get("letterSpacing");m.computedLSpacing=g=(g=="normal")?0:G.convertFrom(A(s,g))}var O,H;if(F){O=Y;H=Y.firstChild}else{O=document.createElement("span");O.className="cufon cufon-vml";O.alt=U;H=document.createElement("span");H.className="cufon-vml-canvas";O.appendChild(H);if(R.printable){var p=document.createElement("span");p.className="cufon-alt";p.appendChild(document.createTextNode(U));O.appendChild(p)}if(!h){O.appendChild(document.createElement("cvml:group"))}}var x=O.style;var b=H.style;var D=G.convert(W.height),u=Math.ceil(D);var f=u/D;var e=W.minX,d=W.minY;b.height=u;b.top=Math.round(G.convert(d-r.ascent));b.left=Math.round(G.convert(e));x.height=G.convert(r.height)+"px";var K=R.enableTextDecoration?Cufon.CSS.textDecoration(s,m):{};var T=m.get("color");var v=Cufon.CSS.textTransform(U,m).split("");var C=0,c=0,L=null;var S,M,V=R.textShadow;for(var q=0,o=0,n=v.length;q<n;++q){S=r.glyphs[v[q]]||r.missingGlyph;if(S){C+=L=~~(S.w||r.w)+g}}if(L===null){return null}var N=-e+C+(W.width-L);var w=G.convert(N*f),j=Math.round(w);var a=N+","+W.height,E;var X="r"+a+"nsnf";for(q=0;q<n;++q){S=r.glyphs[v[q]]||r.missingGlyph;if(!S){continue}if(F){M=H.childNodes[o];if(M.firstChild){M.removeChild(M.firstChild)}}else{M=document.createElement("cvml:shape");H.appendChild(M)}M.stroked="f";M.coordsize=a;M.coordorigin=E=(e-c)+","+d;M.path=(S.d?"m"+S.d+"xe":"")+"m"+E+X;M.fillcolor=T;var t=M.style;t.width=j;t.height=u;if(V){var J=V[0],I=V[1];var Q=Cufon.CSS.color(J.color),P;var Z=document.createElement("cvml:shadow");Z.on="t";Z.color=Q.color;Z.offset=J.offX+","+J.offY;if(I){P=Cufon.CSS.color(I.color);Z.type="double";Z.color2=P.color;Z.offset2=I.offX+","+I.offY}Z.opacity=Q.opacity||(P&&P.opacity)||1;M.appendChild(Z)}c+=~~(S.w||r.w)+g;++o}x.width=Math.max(Math.ceil(G.convert(C*f)),0);return O}})());
Cufon.registerFont({"w":249,"face":{"font-family":"Komika Axis","font-weight":400,"font-stretch":"normal","units-per-em":"360","panose-1":"2 0 5 6 0 0 0 2 0 4","ascent":"288","descent":"-72","cap-height":"6","bbox":"-47.5693 -450.584 359.486 75","underline-thickness":"18","underline-position":"-45","unicode-range":"U+0020-U+007E"},"glyphs":{" ":{"w":129},"\u00a0":{"w":129},"!":{"d":"130,-281v9,-38,-41,-47,-74,-52v-29,63,-40,156,-54,233v-4,32,31,33,59,36xm24,13v40,2,52,-59,10,-65v-26,-7,-48,5,-50,29v-2,22,18,37,40,36","w":144},"\"":{"d":"21,-222v64,6,71,-58,81,-113v-5,-21,-31,-32,-52,-38v-20,32,-26,98,-41,135v-3,9,2,14,12,16xm106,-214v62,12,75,-46,96,-86v13,-24,-12,-41,-28,-52v-27,-16,-27,16,-37,34r-42,87v-5,9,-1,15,11,17","w":201},"#":{"d":"23,-68v-3,29,13,44,34,46v11,-12,10,-36,16,-56v15,-3,30,-4,45,-8v-9,28,-1,57,28,58v13,-14,14,-45,22,-65v21,-2,63,1,39,-24v-6,-7,-15,-10,-28,-10r15,-48v16,-2,41,0,53,-6v0,-18,-17,-32,-40,-31v13,-23,20,-62,-9,-76v-27,-15,-26,22,-34,40v-5,12,-8,25,-12,39r-46,4v13,-28,11,-61,-16,-73v-25,-16,-24,24,-30,40v-5,19,-5,19,-10,40v-20,5,-49,5,-64,14v7,19,23,37,53,31r-8,44v-16,4,-40,4,-51,13v6,14,20,31,43,28xm140,-168v-5,15,-9,28,-12,45r-45,5r11,-44v13,-4,30,-4,46,-6","w":258},"$":{"d":"153,-141v17,-35,22,-99,-19,-110v11,-28,16,-68,-12,-83v-34,-16,-29,42,-42,66v-46,5,-66,44,-82,79v-11,67,54,79,93,108v8,6,1,13,-8,12v-31,0,-50,-19,-76,-25v-13,0,-26,3,-26,14v6,16,31,35,49,41v-9,28,2,64,29,64v10,-10,8,-37,16,-53v50,12,104,-50,55,-83v-26,-19,-86,-37,-57,-84v7,-11,17,-22,31,-22v9,24,-15,64,18,74v8,5,24,14,31,2","w":199},"%":{"d":"231,-208v18,-22,58,-53,27,-85v-17,-20,-29,14,-43,17v-23,19,-77,36,-99,6v-14,-27,-49,-45,-83,-28v-51,34,-58,160,21,162v51,5,69,-41,70,-93v21,7,44,3,62,-6r-121,155v-17,22,-54,66,-8,81v59,-64,114,-145,174,-209xm159,-22v49,57,134,0,116,-83v-4,-45,-80,-52,-99,-15v-18,21,-34,66,-17,98xm47,-165v-25,-27,8,-124,31,-97v3,37,-2,94,-31,97xm192,-39v2,-32,23,-87,44,-69v3,29,-12,61,-23,77v-10,13,-24,11,-21,-8","w":320},"&":{"d":"166,-20v16,20,56,27,72,2v-5,-12,-22,-22,-31,-32v12,-12,26,-25,26,-49v-2,-33,-32,-11,-45,1v-7,7,-8,6,-17,12r-36,-43v38,-20,92,-48,92,-100v-5,-40,-41,-91,-95,-89v-64,9,-115,35,-115,105v0,26,19,47,32,67v-37,18,-92,61,-59,110v21,29,74,53,124,36v18,-6,36,-11,52,-20xm102,-176v-26,-46,13,-76,51,-86v27,41,-20,72,-51,86xm125,-59v-25,11,-50,24,-73,15v-10,-25,15,-41,35,-56","w":280},"'":{"d":"20,-214v65,10,80,-51,97,-102v-2,-17,-19,-28,-32,-36v-27,-17,-25,17,-36,34r-40,87v-4,9,-1,15,11,17","w":114},"(":{"d":"76,-335v-64,67,-107,222,-44,321v11,20,37,31,61,23v-46,-73,-21,-207,21,-266v15,-24,12,-49,-11,-76v-10,-12,-18,-12,-27,-2","w":131},")":{"d":"32,0v64,-51,117,-223,49,-310v-11,-14,-41,-28,-65,-20v31,106,23,271,-43,331v-5,7,-2,11,8,12v21,1,38,-3,51,-13","w":146},"*":{"d":"219,-137v-16,-19,-38,-30,-56,-47v24,-4,38,-10,61,-12v10,-2,11,-6,6,-15v-13,-24,-48,-22,-81,-15v10,-29,22,-70,-13,-84v-23,-18,-24,27,-31,39v-3,11,-5,22,-8,33v-21,-19,-46,-53,-84,-34v-10,4,-11,11,-2,19r56,48v-27,8,-55,13,-75,27v11,33,59,34,90,17v-10,32,3,64,32,64v10,-16,10,-38,16,-60v22,19,63,50,89,20","w":256},"+":{"d":"125,-114v32,-6,70,0,95,-7v-1,-21,-12,-45,-35,-47r-46,0v2,-18,24,-41,5,-53v-10,-11,-43,-35,-54,-11v-7,19,-14,46,-19,68v-30,5,-66,4,-92,13v-4,25,28,60,62,45v6,-1,13,-2,19,-2v-6,28,-7,55,21,61v8,2,27,17,28,-1","w":263},",":{"d":"50,7v30,-26,-10,-52,-38,-55v-15,7,-17,32,-28,45v-8,12,-15,24,-21,35v-6,15,18,19,37,18v27,-2,35,-28,50,-43","w":112},"-":{"d":"115,-201v-48,-9,-110,4,-153,10v-22,4,0,30,6,39v10,10,19,33,42,27v38,-12,93,-11,134,-19v1,-20,-14,-45,-29,-57","w":213},".":{"d":"28,9v42,2,54,-57,12,-65v-28,-8,-51,6,-51,30v0,22,16,35,39,35","w":119},"\/":{"d":"190,-261v17,-27,-20,-38,-36,-53v-32,-16,-36,24,-51,44v-43,74,-86,163,-123,243v-10,28,22,34,42,41","w":191},"0":{"d":"27,-256v-58,72,-70,260,60,260v82,0,103,-58,125,-118v20,-72,19,-172,-51,-185v-31,-13,-77,-14,-101,7v-13,11,-24,23,-33,36xm99,-218v10,-15,38,-47,46,-13v8,73,-11,151,-51,187v-34,15,-37,-31,-34,-68v6,-41,20,-79,39,-106","w":246},"1":{"d":"67,-306v-39,-7,-46,42,-62,66v1,13,12,12,21,19v-13,62,-31,138,-29,206v8,14,36,19,55,20v25,-82,41,-185,68,-266v7,-30,-30,-35,-53,-45","w":139},"2":{"d":"80,-52v55,-45,113,-88,136,-164v13,-85,-108,-119,-165,-66v-21,18,-46,39,-50,73v10,23,61,18,79,6v18,-15,32,-41,62,-37v3,31,-29,53,-46,78v-36,43,-81,83,-124,118v7,40,50,62,95,46v34,-7,77,-7,109,-14v0,-44,-47,-53,-96,-40","w":222},"3":{"d":"198,-77v-4,-34,-30,-54,-60,-64v36,-17,73,-30,78,-76v5,-99,-132,-120,-184,-54v-20,10,-26,40,4,47v40,19,65,-14,99,-20v22,7,5,26,-10,36v-27,18,-59,33,-99,45v-22,13,13,39,23,46v24,16,78,-12,76,31v-4,44,-60,54,-98,31v-17,-10,-52,-10,-56,9v41,75,225,80,227,-31","w":233},"4":{"d":"-20,-139v-19,31,25,57,48,68v26,-1,51,-7,76,-9v-19,54,-10,89,46,88v14,-27,16,-59,27,-94v22,-1,59,6,43,-27v-5,-10,-11,-27,-27,-26v12,-43,29,-82,37,-127v-21,-22,-60,-41,-96,-47v-64,44,-114,108,-154,174xm48,-131r71,-79v9,-8,18,-17,26,-25r-27,99","w":255},"5":{"d":"-22,-48v22,64,165,69,188,2v41,-67,-18,-120,-83,-118v7,-22,16,-44,26,-65v35,-5,76,-6,107,-15v0,-24,-4,-66,-37,-63r-55,3v-29,4,-76,1,-84,27v-17,48,-35,83,-39,135v10,16,27,21,43,32v22,-5,67,-20,67,19v0,43,-43,62,-76,35v-13,-10,-55,-11,-57,8","w":212},"6":{"d":"183,-110v-3,-45,-39,-63,-86,-65v24,-35,53,-68,87,-95v19,-28,-33,-36,-64,-43v-3,0,-6,1,-8,1v-70,53,-126,125,-129,237v1,61,53,81,111,81v59,0,85,-54,89,-116xm59,-41v-24,-25,2,-91,46,-84v27,25,-9,93,-46,84","w":220},"7":{"d":"17,-37v-10,29,27,43,49,47v29,-38,47,-85,76,-124r80,-114v21,-28,-13,-47,-24,-68v-39,-32,-141,-4,-196,4v-23,11,14,36,20,50v27,23,75,-1,114,0r-67,103v-19,33,-38,67,-52,102","w":231},"8":{"d":"148,-138v46,-20,103,-68,64,-126v-23,-28,-61,-60,-111,-42v-46,20,-102,55,-90,118v5,15,17,29,36,42v-38,20,-91,68,-52,118v32,43,143,47,175,0v18,-21,32,-55,11,-82v-7,-9,-18,-19,-33,-28xm100,-111v35,23,1,82,-37,74v-32,-24,15,-61,37,-74xm136,-253v36,38,-7,55,-42,81v-26,-34,16,-65,42,-81","w":235},"9":{"d":"69,-93v-20,26,-45,48,-70,70v5,22,47,37,67,23v68,-47,140,-115,140,-216v0,-68,-62,-93,-130,-94v-65,14,-98,81,-86,157v9,37,35,55,79,60xm125,-236v0,44,-12,102,-52,98v-31,-30,1,-109,43,-110v4,2,7,6,9,12","w":219},":":{"d":"49,-106v44,3,57,-65,13,-74v-30,-7,-52,7,-55,34v0,26,17,39,42,40xm-2,-53v-26,15,-14,63,19,61v36,10,57,-32,32,-56v-9,-10,-38,-14,-51,-5","w":132},";":{"d":"-16,55v50,22,62,-26,77,-62v8,-29,-29,-38,-50,-51v-23,0,-15,39,-25,55v-2,20,-28,49,-2,58xm25,-220v-50,-18,-59,52,-29,78v27,24,79,8,67,-36v-5,-21,-18,-35,-38,-42","w":140},"<":{"d":"109,-69v21,11,27,-22,21,-38v-17,-17,-41,-22,-65,-34v29,-13,63,-22,89,-38v-6,-27,-40,-50,-72,-30v-37,21,-100,23,-91,87v32,25,84,30,118,53","w":187},"=":{"d":"172,-207v-55,-2,-130,-7,-175,7v-3,19,11,51,39,48v54,-8,113,-3,168,-7v2,-20,-7,-46,-32,-48xm161,-130v-58,2,-125,0,-169,17v2,18,16,48,43,42r72,-9v27,-4,62,0,86,-7v2,-17,-11,-43,-32,-43","w":235},">":{"d":"12,-216v-9,60,43,51,74,69v-30,13,-67,19,-93,36v4,16,31,44,50,34v45,-24,128,-12,124,-87v-42,-25,-95,-47,-148,-59v-4,1,-6,3,-7,7","w":199},"?":{"d":"-5,-236v-5,35,60,34,79,16v22,-14,41,-46,77,-36v23,77,-132,72,-115,174v9,12,34,22,55,21v12,-89,153,-78,127,-187v-10,-43,-57,-82,-121,-70v-48,9,-81,43,-102,82xm97,-18v1,-39,-79,-45,-81,-5v-4,42,70,48,80,15v2,-1,1,-7,1,-10","w":244},"@":{"d":"215,-46v85,-9,99,-157,42,-212v-48,-47,-175,-60,-224,-5v-50,33,-64,148,-20,201v25,36,70,58,122,62v15,-1,42,0,34,-15v-13,-12,-37,-17,-63,-17v-83,-4,-88,-130,-43,-185v29,-57,143,-74,174,-10v23,53,2,131,-34,155v-16,5,-13,-12,-9,-27v1,-30,37,-77,1,-92v-5,-35,-61,-41,-85,-15v-41,25,-70,130,-1,144v22,6,38,5,52,-7v9,16,29,23,54,23xm165,-195v20,27,-18,82,-32,105v-15,14,-25,-3,-22,-22v6,-36,25,-71,54,-83","w":321},"A":{"d":"188,6v14,-1,32,5,32,-11r6,-267v1,-42,-53,-43,-97,-43v-51,0,-47,49,-72,82r-85,198v-9,29,23,36,47,40v15,-13,18,-39,30,-56v30,-9,66,-12,101,-17v4,36,-2,75,38,74xm81,-118r65,-125r1,117","w":258},"B":{"d":"173,-138v44,-19,96,-73,59,-129v-27,-73,-171,-48,-226,-15r-20,241v41,90,187,31,217,-23v14,-29,-8,-63,-30,-74xm78,-163r17,-69v21,-9,59,-25,77,-6v-9,42,-55,59,-94,75xm53,-46r11,-58v23,-9,83,-13,65,17v-13,22,-47,32,-76,41"},"C":{"d":"26,-259v-71,89,-76,303,90,266v36,-10,59,-35,69,-71v-10,-21,-57,-19,-70,0v-31,37,-57,35,-60,-11v0,-73,28,-128,61,-170v21,-22,29,3,27,25v0,38,21,56,58,58v27,-22,25,-108,-5,-126v-34,-20,-101,-44,-137,-8v-12,11,-23,23,-33,37","w":231},"D":{"d":"6,-285r-21,243v6,26,30,33,50,45v40,17,74,-11,103,-24v67,-36,131,-125,91,-221v-25,-78,-152,-86,-223,-43xm54,-50r41,-186v59,-20,81,34,60,86v-19,45,-53,80,-101,100","w":263},"E":{"d":"175,-313v-58,2,-113,14,-160,26r-34,239v-1,32,28,40,49,53v42,-3,90,-13,126,-24v-2,-21,-9,-49,-37,-46r-66,7v5,-14,7,-26,11,-42v32,-7,72,-9,100,-20v-1,-21,-7,-55,-37,-51r-45,3r21,-70v35,-6,78,-5,107,-16v2,-24,-6,-60,-35,-59","w":207},"F":{"d":"8,-292v2,91,-21,180,-29,262v-1,31,32,32,61,34v16,-27,16,-70,27,-105r96,-19v3,-42,-31,-62,-80,-48r19,-70v35,-6,78,-5,107,-16v3,-23,-7,-60,-38,-59v-59,2,-115,9,-163,21","w":205},"G":{"d":"119,-246v19,-17,26,5,25,26v-3,40,27,64,64,57v13,-15,11,-49,12,-77v-5,-64,-96,-93,-153,-63v-57,46,-99,123,-89,226v4,70,91,107,156,76v36,-17,60,-57,71,-104v-5,-57,-92,-47,-136,-27v4,30,19,46,52,44v-13,22,-22,52,-53,51v-45,-61,12,-171,51,-209","w":238},"H":{"d":"116,-10v10,7,50,27,57,8r74,-264v7,-34,-40,-43,-70,-48v-25,38,-27,107,-43,157r-58,5v7,-41,23,-80,26,-122v-16,-19,-47,-32,-76,-35v-29,69,-22,195,-45,279v-4,30,36,32,61,36v12,-27,10,-62,20,-94r60,-8r-11,67v-3,9,-1,15,5,19","w":244},"I":{"d":"105,-259v4,-36,-42,-44,-75,-49v-34,72,-39,184,-52,278v-4,31,34,32,59,36v22,-70,34,-158,57,-228","w":112},"J":{"d":"-12,-118v-40,84,55,156,136,114v64,-54,82,-170,96,-275v-15,-19,-47,-31,-77,-32v-29,70,-26,195,-64,261v-7,16,-21,17,-26,3v-3,-35,-6,-56,-47,-71v-8,-4,-14,-4,-18,0","w":225},"K":{"d":"-24,-30v-3,30,31,31,55,37v18,-1,11,-31,17,-45v3,-20,3,-20,8,-44v23,29,45,67,78,84v21,1,64,-6,47,-25r-46,-62v-5,-8,-11,-16,-15,-24r67,-67v23,-26,50,-50,60,-84v-1,-26,-18,-47,-39,-55v-46,42,-88,99,-133,144v7,-36,21,-71,23,-108v-16,-17,-46,-33,-77,-34v-32,70,-34,188,-45,283","w":239},"L":{"d":"16,3v44,4,90,-17,134,-22v-2,-21,-9,-50,-37,-47r-62,7r41,-160v4,-26,30,-56,4,-73v-16,-10,-41,-23,-64,-21v-35,71,-43,174,-56,267v-3,29,25,34,40,49","w":191},"M":{"d":"139,-141v-8,-45,-10,-96,-23,-137v-20,-22,-62,-31,-101,-30v-30,70,-30,186,-39,280v0,29,34,33,59,34v15,-48,18,-128,32,-182r12,70v10,46,12,96,71,90r88,-165v-13,53,-31,110,-32,167v10,13,36,22,56,19r78,-264v11,-41,-45,-39,-75,-52v-52,-16,-62,43,-79,77","w":332},"N":{"d":"141,-118r-27,-139v-5,-42,-53,-45,-92,-51v-31,70,-33,183,-45,276v-3,30,34,33,59,37v17,-43,21,-111,33,-163v14,43,26,91,42,130v8,21,34,26,56,31v13,3,20,0,21,-9r68,-272v-10,-18,-39,-31,-67,-30v-28,48,-34,127,-48,190","w":252},"O":{"d":"192,-57v38,-65,63,-223,-28,-244v-30,-15,-80,-14,-102,7v-59,46,-101,163,-61,255v21,41,111,62,155,28v14,-13,26,-28,36,-46xm101,-218v9,-16,36,-50,46,-15v12,73,-11,154,-52,191v-34,15,-36,-36,-32,-72v6,-39,21,-75,38,-104"},"P":{"d":"67,-77v73,-22,142,-51,177,-110v18,-73,-40,-145,-125,-120v-37,8,-70,24,-100,39v-21,62,-11,172,-30,240v-5,29,31,33,58,35v13,-22,9,-57,20,-84xm104,-229v18,-9,59,-21,73,-3v-1,49,-53,71,-95,87","w":254},"Q":{"d":"29,-257v-68,87,-68,288,85,262v11,2,23,-10,29,0v18,15,50,4,61,-9v-2,-11,-18,-23,-24,-33v36,-49,62,-149,34,-224v-19,-42,-107,-69,-152,-33v-13,11,-24,23,-33,37xm95,-43v-25,16,-34,-17,-33,-44v3,-70,26,-128,67,-161v39,2,17,88,11,121v-4,18,-10,34,-17,48v-25,1,-56,16,-28,36"},"R":{"d":"65,-84v38,36,92,118,153,70v-23,-32,-61,-56,-85,-88v46,-21,90,-46,111,-84v16,-68,-31,-142,-117,-126v-32,6,-67,21,-94,34v-37,59,-32,165,-44,250v-3,29,28,31,54,33v13,-23,13,-61,22,-89xm80,-147r24,-83v18,-11,62,-20,75,-2v-8,47,-56,69,-99,85","w":261},"S":{"d":"205,-187v50,-100,-90,-174,-160,-100v-45,31,-84,128,-22,170v26,23,64,38,88,63v2,14,-17,12,-34,10v-28,-4,-63,-45,-107,-28v-4,3,-7,7,-7,11v33,67,180,101,220,18v16,-66,-87,-68,-108,-121v-4,-44,26,-70,55,-85v12,15,-8,42,-7,63v-5,21,25,46,58,49v14,-8,18,-33,24,-50","w":216},"T":{"d":"44,-30v-4,32,38,35,62,36r60,-252v24,-4,57,-4,78,-10v0,-25,-12,-58,-43,-58r-158,14v-21,5,-44,4,-57,13v7,30,27,72,70,55r20,-3r-28,163v-2,17,-4,31,-4,42","w":239},"U":{"d":"17,-293v-31,102,-82,324,94,297v74,-18,84,-99,107,-172v6,-36,20,-72,22,-109v-15,-17,-42,-34,-72,-32v-5,1,-7,6,-8,13v-21,83,-29,184,-70,247v-11,14,-28,13,-30,-4v-9,-69,21,-137,36,-194v9,-37,-37,-56,-70,-58v-4,1,-7,5,-9,12","w":243},"V":{"d":"138,-1v40,-85,89,-174,117,-272v-6,-25,-35,-39,-62,-38v-40,70,-62,162,-99,234r-24,-192v-1,-29,-48,-46,-78,-34v1,92,22,184,39,260v10,36,54,50,95,53v4,-2,8,-6,12,-11","w":251},"W":{"d":"199,-97v1,-52,11,-109,8,-158v-14,-13,-57,-34,-71,-10v-28,51,-53,115,-77,171r5,-170v-3,-35,-41,-43,-75,-42v-10,86,-1,217,17,297v15,11,42,18,67,17v28,-31,42,-89,67,-127v2,38,4,81,16,108v13,13,68,34,79,10r120,-252v18,-34,-22,-53,-52,-59v-43,61,-70,145,-104,215","w":345},"X":{"d":"109,-213v-16,-50,-38,-116,-115,-87v8,53,43,101,61,148r-47,61v-17,27,-30,38,-38,63v5,15,22,26,35,34v9,6,17,6,22,-2r64,-80v16,35,23,56,44,77v11,7,36,6,53,5v10,-2,13,-7,7,-15r-52,-122r97,-113v22,-29,-13,-64,-41,-72v-23,8,-30,31,-49,50","w":254},"Y":{"d":"232,-257v16,-31,-21,-54,-48,-59v-4,0,-8,4,-10,10r-76,129v-16,-41,-25,-90,-46,-125v-12,-13,-54,-14,-70,-4v16,68,46,135,67,198v-2,32,-14,66,-9,96v9,13,39,21,58,22v13,-25,13,-62,24,-94r92,-139v8,-14,14,-25,18,-34","w":234},"Z":{"d":"212,-251v-6,-26,-6,-62,-38,-60v-61,3,-129,6,-174,24v5,24,19,63,54,58r55,-9r-81,109v-19,32,-43,59,-58,95v22,68,122,33,179,20v1,-21,-11,-49,-39,-46r-54,9r148,-184v5,-6,7,-11,8,-16","w":202},"[":{"d":"102,0v25,0,5,-26,0,-36v-5,-15,-29,-10,-47,-9r49,-199v20,-3,46,-2,60,-10v1,-24,-9,-58,-37,-57v-31,3,-81,-5,-89,21v-20,75,-36,167,-47,250v0,53,65,53,111,40","w":164},"\\":{"d":"77,-292v-5,-26,-35,-25,-65,-25v-34,4,-8,38,-5,62r71,214v11,37,27,64,76,48","w":193},"]":{"d":"152,-265v-11,-20,-23,-50,-54,-46v-27,3,-66,0,-83,15v-4,30,19,65,58,50r-46,201v-17,5,-58,2,-48,23v10,12,13,33,39,28v22,-6,60,2,68,-18r47,-181v6,-28,18,-46,19,-72","w":171},"^":{"d":"194,-145v-24,-65,-11,-165,-82,-181v-45,31,-78,81,-110,125v-10,23,17,40,33,50v30,-22,45,-54,74,-79r23,77v7,19,39,22,61,18v2,-2,3,-5,1,-10","w":241},"_":{"d":"15,34v-18,-1,-19,14,-21,30v-1,8,2,11,12,11r242,-1v11,-6,14,-21,17,-34v0,-5,-6,-7,-13,-6r-237,0","w":232},"`":{"d":"32,-415v37,24,83,48,129,64v19,9,58,-13,36,-30v-40,-18,-80,-39,-114,-65v-20,-13,-52,3,-51,31","w":213},"a":{"d":"188,6v14,-1,32,5,32,-11r6,-267v1,-42,-53,-43,-97,-43v-51,0,-47,49,-72,82r-85,198v-9,29,23,36,47,40v15,-13,18,-39,30,-56v30,-9,66,-12,101,-17v4,36,-2,75,38,74xm81,-118r65,-125r1,117","w":258},"b":{"d":"173,-138v44,-19,96,-73,59,-129v-27,-73,-171,-48,-226,-15r-20,241v41,90,187,31,217,-23v14,-29,-8,-63,-30,-74xm78,-163r17,-69v21,-9,59,-25,77,-6v-9,42,-55,59,-94,75xm53,-46r11,-58v23,-9,83,-13,65,17v-13,22,-47,32,-76,41"},"c":{"d":"26,-259v-71,89,-76,303,90,266v36,-10,59,-35,69,-71v-10,-21,-57,-19,-70,0v-31,37,-57,35,-60,-11v0,-73,28,-128,61,-170v21,-22,29,3,27,25v0,38,21,56,58,58v27,-22,25,-108,-5,-126v-34,-20,-101,-44,-137,-8v-12,11,-23,23,-33,37","w":231},"d":{"d":"6,-285r-21,243v6,26,30,33,50,45v40,17,74,-11,103,-24v67,-36,131,-125,91,-221v-25,-78,-152,-86,-223,-43xm54,-50r41,-186v59,-20,81,34,60,86v-19,45,-53,80,-101,100","w":263},"e":{"d":"175,-313v-58,2,-113,14,-160,26r-34,239v-1,32,28,40,49,53v42,-3,90,-13,126,-24v-2,-21,-9,-49,-37,-46r-66,7v5,-14,7,-26,11,-42v32,-7,72,-9,100,-20v-1,-21,-7,-55,-37,-51r-45,3r21,-70v35,-6,78,-5,107,-16v2,-24,-6,-60,-35,-59","w":207},"f":{"d":"8,-292v2,91,-21,180,-29,262v-1,31,32,32,61,34v16,-27,16,-70,27,-105r96,-19v3,-42,-31,-62,-80,-48r19,-70v35,-6,78,-5,107,-16v3,-23,-7,-60,-38,-59v-59,2,-115,9,-163,21","w":205},"g":{"d":"119,-246v19,-17,26,5,25,26v-3,40,27,64,64,57v13,-15,11,-49,12,-77v-5,-64,-96,-93,-153,-63v-57,46,-99,123,-89,226v4,70,91,107,156,76v36,-17,60,-57,71,-104v-5,-57,-92,-47,-136,-27v4,30,19,46,52,44v-13,22,-22,52,-53,51v-45,-61,12,-171,51,-209","w":238},"h":{"d":"116,-10v10,7,50,27,57,8r74,-264v7,-34,-40,-43,-70,-48v-25,38,-27,107,-43,157r-58,5v7,-41,23,-80,26,-122v-16,-19,-47,-32,-76,-35v-29,69,-22,195,-45,279v-4,30,36,32,61,36v12,-27,10,-62,20,-94r60,-8r-11,67v-3,9,-1,15,5,19","w":244},"i":{"d":"105,-259v4,-36,-42,-44,-75,-49v-34,72,-39,184,-52,278v-4,31,34,32,59,36v22,-70,34,-158,57,-228","w":112},"j":{"d":"-12,-118v-40,84,55,156,136,114v64,-54,82,-170,96,-275v-15,-19,-47,-31,-77,-32v-29,70,-26,195,-64,261v-7,16,-21,17,-26,3v-3,-35,-6,-56,-47,-71v-8,-4,-14,-4,-18,0","w":225},"k":{"d":"-24,-30v-3,30,31,31,55,37v18,-1,11,-31,17,-45v3,-20,3,-20,8,-44v23,29,45,67,78,84v21,1,64,-6,47,-25r-46,-62v-5,-8,-11,-16,-15,-24r67,-67v23,-26,50,-50,60,-84v-1,-26,-18,-47,-39,-55v-46,42,-88,99,-133,144v7,-36,21,-71,23,-108v-16,-17,-46,-33,-77,-34v-32,70,-34,188,-45,283","w":239},"l":{"d":"16,3v44,4,90,-17,134,-22v-2,-21,-9,-50,-37,-47r-62,7r41,-160v4,-26,30,-56,4,-73v-16,-10,-41,-23,-64,-21v-35,71,-43,174,-56,267v-3,29,25,34,40,49","w":191},"m":{"d":"139,-141v-8,-45,-10,-96,-23,-137v-20,-22,-62,-31,-101,-30v-30,70,-30,186,-39,280v0,29,34,33,59,34v15,-48,18,-128,32,-182r12,70v10,46,12,96,71,90r88,-165v-13,53,-31,110,-32,167v10,13,36,22,56,19r78,-264v11,-41,-45,-39,-75,-52v-52,-16,-62,43,-79,77","w":332},"n":{"d":"141,-118r-27,-139v-5,-42,-53,-45,-92,-51v-31,70,-33,183,-45,276v-3,30,34,33,59,37v17,-43,21,-111,33,-163v14,43,26,91,42,130v8,21,34,26,56,31v13,3,20,0,21,-9r68,-272v-10,-18,-39,-31,-67,-30v-28,48,-34,127,-48,190","w":252},"o":{"d":"192,-57v38,-65,63,-223,-28,-244v-30,-15,-80,-14,-102,7v-59,46,-101,163,-61,255v21,41,111,62,155,28v14,-13,26,-28,36,-46xm101,-218v9,-16,36,-50,46,-15v12,73,-11,154,-52,191v-34,15,-36,-36,-32,-72v6,-39,21,-75,38,-104"},"p":{"d":"67,-77v73,-22,142,-51,177,-110v18,-73,-40,-145,-125,-120v-37,8,-70,24,-100,39v-21,62,-11,172,-30,240v-5,29,31,33,58,35v13,-22,9,-57,20,-84xm104,-229v18,-9,59,-21,73,-3v-1,49,-53,71,-95,87","w":254},"q":{"d":"29,-257v-68,87,-68,288,85,262v11,2,23,-10,29,0v18,15,50,4,61,-9v-2,-11,-18,-23,-24,-33v36,-49,62,-149,34,-224v-19,-42,-107,-69,-152,-33v-13,11,-24,23,-33,37xm95,-43v-25,16,-34,-17,-33,-44v3,-70,26,-128,67,-161v39,2,17,88,11,121v-4,18,-10,34,-17,48v-25,1,-56,16,-28,36"},"r":{"d":"65,-84v38,36,92,118,153,70v-23,-32,-61,-56,-85,-88v46,-21,90,-46,111,-84v16,-68,-31,-142,-117,-126v-32,6,-67,21,-94,34v-37,59,-32,165,-44,250v-3,29,28,31,54,33v13,-23,13,-61,22,-89xm80,-147r24,-83v18,-11,62,-20,75,-2v-8,47,-56,69,-99,85","w":261},"s":{"d":"213,-215v18,-75,-45,-109,-115,-109v-60,23,-100,68,-110,140v7,77,85,85,124,129v1,13,-17,15,-35,10v-28,-3,-65,-46,-107,-28v-5,3,-7,6,-7,11v32,66,188,107,221,18v29,-78,-139,-66,-102,-163v12,-19,28,-41,50,-47v9,17,-5,45,-8,65v-3,22,25,47,59,49v19,-14,22,-49,30,-75","w":216},"t":{"d":"44,-30v-4,32,38,35,62,36r60,-252v24,-4,57,-4,78,-10v0,-25,-12,-58,-43,-58r-158,14v-21,5,-44,4,-57,13v7,30,27,72,70,55r20,-3r-28,163v-2,17,-4,31,-4,42","w":239},"u":{"d":"17,-293v-31,102,-82,324,94,297v74,-18,84,-99,107,-172v6,-36,20,-72,22,-109v-15,-17,-42,-34,-72,-32v-5,1,-7,6,-8,13v-21,83,-29,184,-70,247v-11,14,-28,13,-30,-4v-9,-69,21,-137,36,-194v9,-37,-37,-56,-70,-58v-4,1,-7,5,-9,12","w":243},"v":{"d":"138,-1v40,-85,89,-174,117,-272v-6,-25,-35,-39,-62,-38v-40,70,-62,162,-99,234r-24,-192v-1,-29,-48,-46,-78,-34v1,92,22,184,39,260v10,36,54,50,95,53v4,-2,8,-6,12,-11","w":251},"w":{"d":"199,-97v1,-52,11,-109,8,-158v-14,-13,-57,-34,-71,-10v-28,51,-53,115,-77,171r5,-170v-3,-35,-41,-43,-75,-42v-10,86,-1,217,17,297v15,11,42,18,67,17v28,-31,42,-89,67,-127v2,38,4,81,16,108v13,13,68,34,79,10r120,-252v18,-34,-22,-53,-52,-59v-43,61,-70,145,-104,215","w":345},"x":{"d":"109,-213v-16,-50,-38,-116,-115,-87v8,53,43,101,61,148r-47,61v-17,27,-30,38,-38,63v5,15,22,26,35,34v9,6,17,6,22,-2r64,-80v16,35,23,56,44,77v11,7,36,6,53,5v10,-2,13,-7,7,-15r-52,-122r97,-113v22,-29,-13,-64,-41,-72v-23,8,-30,31,-49,50","w":254},"y":{"d":"232,-257v16,-31,-21,-54,-48,-59v-4,0,-8,4,-10,10r-76,129v-16,-41,-25,-90,-46,-125v-12,-13,-54,-14,-70,-4v16,68,46,135,67,198v-2,32,-14,66,-9,96v9,13,39,21,58,22v13,-25,13,-62,24,-94r92,-139v8,-14,14,-25,18,-34","w":234},"z":{"d":"212,-251v-6,-26,-6,-62,-38,-60v-61,3,-129,6,-174,24v5,24,19,63,54,58r55,-9r-81,109v-19,32,-43,59,-58,95v22,68,122,33,179,20v1,-21,-11,-49,-39,-46r-54,9r148,-184v5,-6,7,-11,8,-16","w":202},"{":{"d":"121,0v23,-1,8,-24,1,-36v-7,-15,-29,-9,-48,-9r50,-199v19,-3,47,-2,60,-10v2,-24,-10,-59,-37,-57v-31,3,-80,-6,-88,21v-11,38,-18,77,-27,119v-16,5,-54,-1,-46,22v8,15,14,38,33,42v-3,36,-25,89,11,103v18,22,61,8,91,4","w":182},"|":{"d":"145,-290v8,-34,-38,-41,-67,-47v-39,88,-44,222,-65,328v-3,27,28,31,53,33","w":193},"}":{"d":"27,-45v-18,2,-41,4,-51,13v3,46,65,41,105,28v15,-30,16,-63,27,-100v18,-5,57,5,52,-20v-7,-17,-11,-45,-35,-43v8,-33,23,-62,26,-98v-11,-20,-22,-48,-54,-46v-27,5,-64,1,-84,14v-5,26,20,67,59,51","w":203},"~":{"d":"68,-226v47,-1,64,29,113,27v38,0,88,-40,93,-63v-5,-25,-51,-23,-62,-4v-7,6,-16,15,-25,18v-39,-6,-64,-35,-109,-31v-41,4,-89,23,-97,62v1,11,10,17,27,17v28,1,36,-22,60,-26","w":267}}});
// JavaScript Document

function loadSGCensuses() {
 	myVictim = document.getElementById('SGCensusBlock');
	if (myVictim) {
		var scriptElement = document.createElement('script');
		scriptElement.type = 'text/javascript';
		scriptElement.src = 'http://legionsgs.com/cgi/SGCensuses.cgi';
		myVictim.appendChild(scriptElement);
	}
}

function SGCensus(sg, submitter, otime, nplayers) {
 	myVictim = document.getElementById('SGCensusBlock');
 	if (!myVictim) {
 		return;
 	}
	var base = new Date();
	var msecNow = base.getTime();
	var tz = base.getTimezoneOffset() * 60;
	var utc = (otime + 0) * 1000;
	base.setTime(utc);
	var hours = base.getHours();
	var localTimeString;
	if (!hours) {
		localTimeString = "12";
	} else if (hours > 12) {
		localTimeString = hours - 12;
	} else {
		localTimeString = hours;
	}
	localTimeString += ":" + ((base.getMinutes() > 9) ? base.getMinutes() : ("0" + base.getMinutes()))
		+ ((hours > 11) ? "pm" : "am");
	var newBlock;
	newBlock = '<div class="SGCensusName">' + sg + '</div>\n<div class="SGCensus">';
	if (nplayers > 70) {
		newBlock += '<span class="SGCensusBad">' + nplayers + '</span>\n';
	} else {
		newBlock += '<span class="SGCensusGood">' + nplayers + '</span>\n';
	}
	newBlock += '</div><div class="SGCensusTime">Last updated ' 
	if ((msecNow - base.getTime()) / (1000 * 60 * 60) > 2) {
		newBlock += '<span class="SGCensusOvertime">';
	}
	newBlock += localTimeString + '</span> (your time) by ' + submitter;
	newBlock += '</div>\n</div>\n';

	var dbox = document.createElement('div');
	dbox.className = 'SGCensusBox';
	dbox.innerHTML = newBlock;
	myVictim.appendChild(dbox);
}

// Auto-block avatars and signatures that exceed Legion guidelines
// Garth Snyder (Trizor) Jan 2010
// Requires jQuery

function legionCheckSizes(sel, maxw, maxh, notice) {
	$(sel).each(function(i) {
		var jThis = $(this);
		if (jThis.width() > maxw || jThis.height() > maxh) {
			var randomClass = Math.floor(Math.random() * 999999999) + "_class";
			jThis.addClass(randomClass).hide();
			jThis.before($(notice.replace('*class*', randomClass)).addClass(randomClass));
		}
	});
}

function legionToggle(cname) {
	stub = $("." + cname + ":visible");
  $("." + cname + ":hidden").show('slide', {direction: 'up'});
	stub.toggle();
}



Cufon.replace('h1');
Cufon.now();
_uacct = "UA-593922-1";
urchinTracker();

$(window).load(function() {
  legionCheckSizes('.MessageAuthorThumb', 120, 215, '<div class="LegionTooBig LegionTooBigAvatar">This avatar has been hidden because of its size. See the <a href="http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=1322668">FAQ</a> for details.<br />[ <a href="javascript:{}" onclick="legionToggle(\'*class*\')">Show it</a> ]</div>');
  legionCheckSizes('.MessageSignature', 2400, 229, '<div class="LegionTooBig">This signature has been hidden because of its size. See the <a href="http://legionofvalor.guildportal.com/Guild.aspx?GuildID=17911&TabID=1322668">FAQ</a> for details.  [ <a href="javascript:{}" onclick="legionToggle(\'*class*\')">Show it</a> ]</div>');
});

