<!--//
var btnOver = false;
function LimonPreLoad() {
  	var d=document; if(d.images){ if(!d.LiMon_p) d.LiMon_p=new Array();
    	var i,j=d.LiMon_p.length,a=LimonPreLoad.arguments; for(i=0; i<a.length; i++)
    	if (a[i].indexOf("#")!=0){ d.LiMon_p[j]=new Image; d.LiMon_p[j++].src=a[i];}}
}

function openWindow(strWinName,intWidth, intHeight, intScroll, intResize){
	if(!intScroll){intScroll=0;}
	if(!intResize){intResize=0;}
	myWindow = window.open("about:blank",strWinName,"width=" + intWidth + ",height=" + intHeight + ",scrollbars=" + intScroll + ",resizable=" + intResize + ",top=" + (screen.availHeight-intHeight)/2 + ",left=" + (screen.availWidth-intWidth)/2);
	myWindow.focus();
}

function checkTerms(objCheck, strForm, strObj){
	strForm[strObj].disabled = !objCheck;
}

function doBlink() {
	if(document.all){
		var blink = document.all.tags("BLINK")
	}else{
		var blink = document.tags["BLINK"]
	}
  for (var i=0; i < blink.length; i++)
    blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" 
}

function startBlink(intSpeed) {
    setInterval("doBlink()",intSpeed)
}

function toggleBackground(strTable,strPath){
	if(!strPath){strPath="";}
	var msOver = false;
	msOver = btnOver = !btnOver
	strTable.style.background = "url(" + strPath + "images/common/buttons/menu.btn." + (msOver ? "on." : "off.") + "png)";
	strTable.style.cursor = "hand";
	strTable.style.color = (msOver ? "#FFFFFF" : "#000000");
} 

function getURL(strPage,strPath,strRef){
	if(!strRef){strRef="";}
	if(!strPath){strPath="";}
	window.open(strPath + strPage,"_self");
}

function smartLife(intType){
	if(intType==1){
		smartlife = window.open("smartlife/smartlife_1.asp","smartlife","width=500,height=500,scrollbars=0,status=0,resizable=0");
		
	}else{
		smartlife = window.open("http://www.smartlife.com.tr",_blank);
	}
	smartlife.focus();
}


//-->
