function insertFlash(swf,width, height, bgcolor, quality, menu, wmode) {
	var obj = '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+ width +'" height="'+ height +'" id="'+ name +'" align="middle">';
	obj+='<param name="allowScriptAccess" value="sameDomain" />'
	obj+='<param name="movie" value="'+ swf +'" />'
	obj+='<param name="name" value="'+ name +'" />'
	obj+='<param name="quality" value="'+ quality +'" />'
	obj+='<param name="menu" value="'+ menu +'" />'
	obj+='<param name="wmode" value="'+ wmode +'" />'
	obj+='<param name="bgcolor" value="'+ bgcolor +'" />'
	obj+='<embed src="'+ swf +'" quality="'+ quality +'" bgcolor="'+ bgcolor +'" wmode="'+ wmode +'" width="'+ width +'" height="'+ height +'" name="'+ name +'" menu="'+ menu +'" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'
	obj+='</object>';
	document.write(obj);
}

//
function qstring() {
	var url = window.location.href;
	if(url.match(/WhoIsSohnen.aspx/)) {
		document.getElementById('button-do').firstChild.className = "selected";
	} else if(url.match(/BuyFromUs.aspx/)) {
		document.getElementById('button-have').firstChild.className = "selected";
	} else if(url.match(/ServicesWeOffer.aspx/)) {
		document.getElementById('button-are').firstChild.className = "selected";
	} else if(url.match(/SellToUs.aspx/)) {
		document.getElementById('button-have2').firstChild.className = "selected";
	} else if(url.match(/CustomerSupport.aspx/)) {
		document.getElementById('button-us').firstChild.className = "selected";
	}
}
this.onload = function() {
	qstring();
}