function MO(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
while (S.tagName!="TABLE")
{S=S.parentElement;}
S.className="T";
}

function MU(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
while (S.tagName!="TABLE")
{S=S.parentElement;}
S.className="P";
}


function TDLightON(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
while (S.tagName!="TD")
{S=S.parentElement;}
S.className="clsTDLightON";
}

function SPANLightON(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
while (S.tagName!="SPAN")
{S=S.parentElement;}
S.className="SPANLightON";
}

function TDLightOFF(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
while (S.tagName!="TD")
{S=S.parentElement;}
S.className="P";
}



function MOD(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
while (S.tagName!="TD")
{S=S.parentElement;}
S.className="S";
}

function CANCLE(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
if (S.checked) {
while (S.tagName!="TR")
{S=S.parentElement;}
S.className="S";
}
else
{
while (S.tagName!="TR")
{S=S.parentElement;}
S.className="P";
}
}

function PSH(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
S.className="KY";
}

function PSHB(e)
{
if (!e)
var e=window.event;
var S=e.srcElement;
S.className="KYB";
}


			//STMenu TARAFINDAN KULLANILAN FONKSİYONLAR BAŞLADI
			//set this variable to 1 if you wish the URLs of the highlighted menu to be displayed in the status bar

var display_url=0;


function showmenuie5(e){
var lclick=document.getElementById("mainbody").scrollLeft+window.event.clientX;
var tclick=document.getElementById("mainbody").scrollTop+window.event.clientY;
var rightmenu = document.getElementById("ie5menu").style;
rightmenu.left=lclick;
rightmenu.top=tclick;
rightmenu.visibility="visible";
return false
}

function hidemenuie5() {  document.getElementById("ie5menu").style.display="block"; document.getElementById("ie5menu").style.visibility="hidden" }

function highlightthis(e){
var klik= window.event;
if (klik.srcElement.className=="menuitems"){
	klik.srcElement.style.color = "highlighttext";
	klik.srcElement.style.background = 'highlight';
	klik.srcElement.style.border = '1px solid threedhighlight';
	klik.srcElement.style.borderTop = '1px solid threedshadow';
	klik.srcElement.style.borderLeft = '1px solid threedshadow';
if (display_url==1)
window.status=window.event.srcElement.url
}
}

function lowlightthis(){
if (window.event.srcElement.className=="menuitems"){
	window.event.srcElement.style.background=""
	window.event.srcElement.style.color=""
	window.event.srcElement.style.border = '1px solid threedface';
window.status=''
}
}

function jumptothis(){
if (window.event.srcElement.className=="menuitems")
window.location=window.event.srcElement.url
}

			//STMenu TARAFINDAN KULLANILAN FONKSİYONLAR BİTTİ


function CaricaFoto(img){
  foto1= new Image();
  foto1.src=(img);
  Controlla(img);
}
function Controlla(img){
  if((foto1.width!=0)&&(foto1.height!=0)){
    viewFoto(img);
  }
  else{
    funzione="Controlla('"+img+"')";
    intervallo=setTimeout(funzione,20);
  }
}
function viewFoto(img){
  largh=foto1.width+20;
  altez=foto1.height+20;
  stringa="width="+largh+",height="+altez;
  finestra=window.open(img,"",stringa);
}



function openWindow(url, name) {

  popupWin = window.open(url, name, 'scrollbars=no,width=302,height=419')

  }


function openMe(url, name) {

  popupWin = window.open(url, name, 'scrollbars=yes,width=650,height=325')

  }


function openNew(url, name) {

  popupWin = window.open(url, name, 'scrollbars=yes,width=720,height=550')

  }


function hide(id){
var divObject=document.getElementById(id);
	divObject.style.display="none";
  }

function show(id){
   		var divObject=document.getElementById(id);
   		divObject.style.display="block";
 	}
 	
function OdemeTipiOzet(tip) {

document.PaymentForm.GosterSecilenOdemeTipi.value="Seçilen Ödeme Tipi: " + tip

}

function blinkit(){
intrvl=0;
for(nTimes=0;nTimes<9;nTimes++){
intrvl += 200;
setTimeout("document.bgColor='#0000FF';",intrvl);
intrvl += 200;
setTimeout("document.bgColor='#FFFFFF';",intrvl);
}
}
