// (C) 2006 SYNCR. All Rights Reserved. http://www.Syncr.com/

//	if (window != window.top)
	
//	top.location.href = self.location.href

	function mOvr(src,clrOver){ 
 		if (!src.contains(event.fromElement)){ 
 		src.style.cursor = 'hand'; src.bgColor = clrOver; 
 		} 
 		} 
 	
 	function mOut(src,clrIn){ 
 		if (!src.contains(event.toElement)){ 
 		src.style.cursor = 'default'; 
 		src.bgColor = clrIn; 
 		} 
 		} 
 		
 	function mClk(src){ 
 		if(event.srcElement.tagName=='TD'){ 
 		src.children.tags('A')[0].click(); 
 		} 
 		}


	function changeto(highlightcolor){

		source=event.srcElement

		if (source.tagName=="TR"||source.tagName=="TABLE")

		return

		while(source.tagName!="TD")

		source=source.parentElement

		if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")

		source.style.backgroundColor=highlightcolor

		}


	function changeback(originalcolor){

		if (event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")

		return

		if (event.toElement!=source)

		source.style.backgroundColor=originalcolor

		}

	var ZM=0;

	function Zoom_In(){

	ZM++;

	document.body.style.zoom=1+ZM/10;

	}

	function Zoom_Out(){

	ZM--;

	document.body.style.zoom=1+ZM/10;

	}

	function Zoom_Reset(){

	document.body.style.zoom=1;

	ZM=1;

	}


	function log_out()
		{
		ht = parent.document.getElementsByTagName("html");
		ht[0].style.filter = "progid:dXImageTransform.Microsoft.BasicImage(grayscale=1)";
		if (confirm('You will Logout current account and redirect to Home Page'))
		{
		return true;
		}
		else
		{
		ht[0].style.filter = "";
		return false;
		}
		}

//-->