function runSWF(src,w,h)
{
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0";
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="'+codebase+'" width="'+w+'" height="'+h+'">\n');
document.write('<param name="movie" value="'+src+'" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="wmode" value="transparent" />\n');
document.write('<embed src="'+src+'" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="'+w+'" height="'+h+'"></embed>\n');
document.write('</object>\n');
}

//TOP Flash
function topSWF()
{
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="100%" height="280">\n');
document.write('<param name="movie" value="/images/top.swf" />\n');
document.write('<param name="quality" value="high" />\n');
document.write('<param name="wmode" />\n');
document.write('<embed src="/images/top.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="100%" height="280"></embed>\n');
document.write('</object>\n');
}


function goToURL() { //v3.0
  var i, args=goToURL.arguments; document.returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function setFsizeCookie(flg) {
	//1:S 2:M 3:L
	var name = 'fsize='+flg;
	tm = new Date();
	tm.setTime(tm.getTime() + (365 * 1000 * 60 * 60 * 24));
	tm = tm.toGMTString();
	document.cookie = name + ";path=/;expires=" + tm;
}
function large(obj)  {
document.body.style.fontSize = "100%";
document.getElementById('fontS').className = "";
document.getElementById('fontM').className = "";
document.getElementById('fontL').className = "active";
setFsizeCookie(3);
}
function middle(obj) {
document.body.style.fontSize = "85%";
document.getElementById('fontS').className = "";
document.getElementById('fontM').className = "active";
document.getElementById('fontL').className = "";
setFsizeCookie(2);
}
function small(obj)  {
document.body.style.fontSize = "75%";
document.getElementById('fontS').className = "active";
document.getElementById('fontM').className = "";
document.getElementById('fontL').className = "";
setFsizeCookie(1);
}
