    var width = 0;
	var cwidth = 445;
	var left = 0;
	var speed = 0;
	function moveIt(){
		c = document.getElementById("thcontent");
		left = left + speed;
		if (left>0) left = 0;
		if (left+width<cwidth) left = left - speed;
		c.style.left = left;
		if(speed!=0) setTimeout("moveIt()", 1);
	}
	function stop(){
		speed = 0;
	}

	
/**  ماوس اور عکس **/
function SwapImgOver(ImgId,ImgSrc,ImgName) {
 Image2 = new Image
 Image2.src = ImgSrc + ImgName
 eval('document.getElementById("' + ImgId + '").src = Image2.src') 
}

/** ماوس اوت عکس **/
function SwapImgOut(ImgId,ImgSrc,ImgName) {
 Image1= new Image
 Image1.src = ImgSrc + ImgName
 eval('document.getElementById("' + ImgId + '").src = Image1.src; ')
}



   function PopupWindow(url) {
		w = window.open(url, 'Uni', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=760,height=454,directories=no,location=no,left=100,top=100') ;
		w.focus();
    }



   function PopupSendWindow(url) {
		w = window.open(url, 'Gsi', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=500,height=350,directories=no,location=no,left=200,top=100') ;
		w.focus();
    }




   function PopupPrintWindow(url) {
		w = window.open(url, 'Gsi', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=500,height=520,directories=no,location=no,left=200,top=100') ;
		w.focus();
    }


function PrintPage()
   { 
     document.getElementById("CloseButton").style.visibility = 'hidden';
     document.getElementById("PrintButton").style.visibility = 'hidden';
    if (typeof(window.print) != 'undefined') { window.print();  }
	 document.getElementById("PrintButton").style.visibility = '';
	 document.getElementById("CloseButton").style.visibility = '';
 }
 
  var width = 0;
	var cwidth = 445;
	var left = 0;
	var speed = 0;
	function moveIt(){
		c = document.getElementById("thcontent");
		left = left + speed;
		if (left>0) left = 0;
		if (left+width<cwidth) left = left - speed;
		c.style.left = left;
		if(speed!=0) setTimeout("moveIt()", 1);
	}
	function stop(){
		speed = 0;
	}
