function centerDiv(elementId) {

	MM_showHideLayers(elementId,'','show');
	MM_changeProp(elementId,'','top',((screen.availHeight - 650) / 2),'DIV');

}
function scrollPage() {

	centerDiv('mainDiv');

	var browserName=navigator.appName; 
	if (browserName=="Netscape")
	{ 
		var vObj = MM_findObj("logo");
		if (vObj) {
			window.scrollTo((vObj.x + 70 - (document.body.clientWidth / 2)),0);
		}
	}
	else 
	{ 
		window.scrollTo(((getScrollWidth() - document.body.clientWidth) / 2),0);
	}

	deleteNode('loadingDiv');

}
function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
function getScrollWidth() {
	return document.all ? Math.max(Math.max(document.documentElement.offsetWidth, document.documentElement.scrollWidth), document.body.scrollWidth) : (document.body ? document.body.scrollWidth : ((document.documentElement.scrollWidth != 0) ? document.documentElement.scrollWidth : 0));
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function submitForm(pName) {
	var vForm = MM_findObj(pName); if (vForm) vForm.submit();
}
function submitFormTo(pName, pAction) {
	var vForm = MM_findObj(pName); 
	if (vForm) { 
		vForm.action = pAction;
		vForm.submit();
	}
}
function openWindow(pUrl, pName, pParam) {
	var newWin
	newWin = window.open(pUrl, pName, pParam);
	newWin.focus();
}
function setValueOf(objName,newText) { //v3.0
  var obj = MM_findObj(objName); 
  if (obj) {
	  obj.value = newText;
	  obj.select();
	  obj.focus();
  }
  
}
function getSelectedList(pForm, pAlan, pValue) {
	var vObj = MM_findObj("DEGER"); if (vObj) vObj.value = pValue;
	var vAction = MM_findObj("ALAN"); if (vAction) vAction.value = pAlan;
	var vForm = MM_findObj(pForm); if (vForm) {
		vForm.action = "";
		vForm.target = "_self";
		vForm.submit();
	}
}
function goToPage(pName, anInt)
{
	var vForm = MM_findObj(pName);
	if (vForm) {
		vForm.index.value = anInt;
		vForm.submit();
	}
}
function deleteNode(pName)
{
	var vForm = MM_findObj(pName); if (vForm) vForm.style.display = "none";
}
function kucukOlan(pInt,pOtherInt) {
	if (pInt < pOtherInt) pInt; pOtherInt;
}
function buyukOlan(pInt,pOtherInt) {
	if (pInt > pOtherInt) pInt; pOtherInt;
}

//-->