function NavRollOver(tr)
{
	tr.bgColor='#EF6A04';
}

function NavRollOut(tr)
{
	tr.bgColor='#FFBC2C';
}

function popUp(URL) {
	var xPosition = 500; 
	var yPosition = 300;
	
    if ((parseInt(navigator.appVersion) >= 4 ))
    {
        xPosition = ((screen.width / 2) - 260);
        yPosition = ((screen.height / 2) - 260);
    }

	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,titlebar=0,location=0,statusbar=0,menubar=0,resizable=0,width=520,height=520,left = '+xPosition+',top = '+yPosition);");
}

function popUpWide(URL) {
	var xPosition = 400; 
	var yPosition = 200;
	
    if ((parseInt(navigator.appVersion) >= 4 ))
    {
        xPosition = ((screen.width / 2) - 260);
        yPosition = ((screen.height / 2) - 260);
    }

	day = new Date();
	id = day.getTime();
	eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,titlebar=0,location=0,statusbar=0,menubar=0,resizable=0,width=800,height=520,left = '+xPosition+',top = '+yPosition);");
}

if(typeof m2_page_id != 'undefined')
{
		if(m2_page_id == 'index' || m2_page_id == 'upgrade')
		{
			if (document.images)
			{
				if(typeof m2_homepage_url == 'undefined') { m2_homepage_url = '' };
				var pic1 = new Image(150,35); 
				pic1.src=m2_homepage_url+"/images/dlnoww_on.jpg";
			}
		}
}