var pageid;
var page;
var mlocation;
var partnumber;

function m1_over(pageid){
document.getElementById(pageid).style.color='yellow'; document.getElementById(pageid).style.cursor='hand'; document.getElementById(pageid).style.fontWeight='700';
}

function m1_out(pageid){
document.getElementById(pageid).style.color='black'; document.getElementById(pageid).style.cursor='hand'; document.getElementById(pageid).style.fontWeight='300';
if(mlocation=='today'){today.style.color='yellow',today.style.cursor='hand',today.style.fontWeight='700';}
if(mlocation=='feedback'){feedback.style.color='yellow',feedback.style.cursor='hand',feedback.style.fontWeight='700';}
if(mlocation=='info'){info.style.color='yellow',info.style.cursor='hand',info.style.fontWeight='700';}
if(mlocation=='links'){links.style.color='yellow',links.style.cursor='hand',links.style.fontWeight='700';}
}

function m1_click(dest,pageid) {
mlocation = pageid;
today.style.color='black',today.style.cursor='hand',today.style.fontWeight='300';
feedback.style.color='black',feedback.style.cursor='hand',feedback.style.fontWeight='300';
info.style.color='black',info.style.cursor='hand',info.style.fontWeight='300';
links.style.color='black',links.style.cursor='hand',links.style.fontWeight='300';


var url;
url = dest;
document.getElementById(pageid).style.color='yellow'; document.getElementById(pageid).style.cursor='hand'; document.getElementById(pageid).style.fontWeight='700';
document.getElementById("product").src=url;

}
function m2_click(dest,pageid) {
today.style.color='black',today.style.cursor='hand',today.style.fontWeight='300';
feedback.style.color='black',feedback.style.cursor='hand',feedback.style.fontWeight='300';
info.style.color='black',info.style.cursor='hand',info.style.fontWeight='300';
links.style.color='black',links.style.cursor='hand',links.style.fontWeight='300';
var url;
url = dest;
document.getElementById("product").src=url;

}
function onLoad(){
today.style.color='yellow';today.style.cursor='hand';today.style.fontWeight='700';
mlocation="today"
reSize()
}


function reSize() {
	try{	
	var oBody	=	product.document.body;
	var oFrame	=	document.all("product");
		
	oFrame.style.height = oBody.scrollHeight + (oBody.offsetHeight - oBody.clientHeight);
	oFrame.style.width = oBody.scrollWidth + (oBody.offsetWidth - oBody.clientWidth);
	}
	//An error is raised if the IFrame domain != its container's domain
	catch(e)
	{
	window.status =	'Error: ' + e.number + '; ' + e.description;
	}
	return
}