function SetAsHomepage(){    document.body.style.behavior='url(#default#homepage)';    document.body.setHomePage('http://www.kpsiaj.org');}function AddToFavorites(url,title){    if (url=='') url=window.location.href;    if (title=='') title=document.title;    if (window.sidebar)    {         window.sidebar.addPanel(title,url,"");    }    else if (window.external)    {         window.external.AddFavorite(url,title);    }}function PrintPage(){    window.print();}function SendToFriend(){    window.location="mailto:?subject=Check this out at Khoja (Pirhai) Shia Isna Asheri Jamaat site&body=" + document.title + " " + window.location.href;}function CellNormal(cell){    cell.style.backgroundColor='#EFEFEF';}function CellHover(cell){    cell.style.backgroundColor='#FFFFAA';}function ShowImage(obj){    document.getElementById("imgPhoto").src=obj.src;}function ShowImageX(obj){    document.getElementById("imgPhoto").src=obj.src.replace('thumb','large');    }function ScrollLeft(obj)
{

	CellHover(obj);
	document.getElementById("mrqPhotos").behavior="scroll";
	document.getElementById("mrqPhotos").direction="left";
	document.getElementById("mrqPhotos").start();
}
function ScrollRight(obj)
{
	CellHover(obj);
	document.getElementById("mrqPhotos").behavior="scroll";
	document.getElementById("mrqPhotos").direction="right";
	document.getElementById("mrqPhotos").start();
}
function ScrollStop(obj)
{
    obj.style.backgroundColor='#F6F6F6';
	document.getElementById("mrqPhotos").stop();
}
