

function MenuColor(oElement,oType){
	if (oType == "Over") {
		oElement.className = "MenuOver";
		} else {
		oElement.className = "MenuOut";
	}
}

function MenuShowHide(oElement,oType){
	if (oType == "Show") {
			oElement = document.getElementById(oElement)
			oElement.style.display = "block";			
		} else {
			oElement = document.getElementById(oElement)
			oElement.style.display = "none";
	}
}

function MenuColumn(oText,oLink,oTarget) {
	var sHTML ="";
	sHTML = sHTML + "<TR>";
	sHTML = sHTML +	"<TD onClick=_go('"+oLink+"','"+oTarget+"')  onMouseOver=MenuColor(this,'Over') onMouseOut=MenuColor(this,'Out') class='MenuOut'>"+ oText  +"</td></tr>";
	document.write(sHTML);
}

function _go(oLink,oTarget)
{
	if (oTarget=="_blank"){
		window.open(oLink)
	} else {
		if (location.search !== oLink) 
		{
			location.href=oLink
		}else {
			//
		}
	}
}

function ProductDetail(oName,oID){
	location.href="?Type=Content&Header=ReklamHizmetleri&Group=False&Page=" + Page + "&ProductID=" + oID + "&ProductName="+oName 
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  window.open(selObj.options[selObj.selectedIndex].value)
  if (restore) selObj.selectedIndex=0;
}
