
/* The script must be inside the body tags - there is no body in the head of the document */
   w = document.body.clientWidth;
   h = document.body.clientHeight;

// alert(w+'x'+h);

/* You might want to take 5% off the height and width to cater for scroll bars */
var wi = w;

var mwi = 0;
var mhi = 0;
var murl = murl;
if (!murl) {murl = "";}
if (wi > 840) {
//	mwi = 900;
//	mhi = 525;
	mwi = 960;
	mhi = 960*525/900;
}



else {
	mwi = 780;
	mhi = 455;
}

//set map position and zoom level
var urls = document.location+ '';
var posits = urls.split("?");
var npos = posits[1];
if (!murl) {var npos = '?' + posits[1];}
else {var npos = '&' + posits[1];}



Text = '<embed src=\"/' + murl + '?mw='+ mwi + npos + '"\" wmode=\"opaque\" quality=\"high\" bgcolor=\"#99CCFF\" width=\"'+ mwi +'\" height=\"'+ mhi +'\" name=\"map\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />';

//Text += '\n</td>';


document.write(Text);



