function mOvr(src,clrOver) { if (!src.contains(event.fromElement)) { src.style.cursor = 'hand'; src.bgColor = clrOver; }}function mOut(src,clrIn) { if (!src.contains(event.toElement)) { src.style.cursor = 'default'; src.bgColor = clrIn; }} 

function createmenu(Url, MenuName, IsActive)
{
	if (IsActive == 0)
	{
		myStr = "<table border=0 cellpadding=4 cellspacing=0 height=100%  width=100%  bgcolor=#00963E onMouseOut=mOut(this,'#00963E');                              onMouseOver=mOvr(this,'#36614B');  onclick = location.href='" + Url + "'  class=indexnamewhite>                <tbody>                 <tr>                  <td noWrap width=100%>                     <div align=center >" + MenuName + "</div>                  </td>  </tr></tbody> </table>"
	}
	else
	{
		myStr = "<table border=0 cellpadding=0 cellspacing=0 height=100% bgcolor=#36614B width=100% class=indexnamewhite>                <tbody>                 <tr>                  <td noWrap width=100%>                     <div align=center><a href=" + Url + ">" + MenuName + "</a></div>                  </td>  </tr></tbody> </table>"
	}
	
	document.write(myStr)
}

function WindowOpen(Address, WinWidth, WinHeight) {

	theFeats = "height=" + WinHeight + ",width=" + WinWidth + ",location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no";
	
    window.open(Address, "", theFeats);
}

function go(form) {

if( form.friendlink.options[form.friendlink.selectedIndex].value != "" ) {
window.open( form.friendlink.options[form.friendlink.selectedIndex].value , "new");
}
else{
return false;
}
}


function objectlaunchSwf(width, height, url){
	document.write("<object classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 codebase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0 width=" + width + " height=" + height + ">");
	document.write("<param name=movie value=" + url + ">");
	document.write("<param name=wmode value=transparent>");
	document.write("<param name=quality value=high>");
	document.write("<embed src=" + url + " quality=high pluginspage=http://www.macromedia.com/go/getflashplayer type=application/x-shockwave-flash width=" + width + " height=" + height + "></embed>");
	document.write("</object>");
}
