//Chack Browser

var obj=null;

var ie=(document.all)?true:false;

var ns4=(document.layers)?true:false;

var ns6=(document.getElementById)?true:false;

if(ie)

ns6=false;



function addbookmark(){

	if(ie){

	javascript:window.external.AddFavorite(location.href, document.title)

	}

}

function scrollmenu(){

setTimeout("go()",200);

}



function go(){

if(ie){

if(document.body.scrollTop>115){

category.style.top=document.body.scrollTop;

}

else

category.style.top=115;

}

if(ns6){

var obj1=document.getElementById("category");

if(document.body.scrollTop>115)

category.style.top=document.body.scrollTop;

else

category.style.top=115;

}

}

function scrollTop(){

var kidHeight=myKid.offsetHeight;

if(parseInt(document.all("myKid").style.top)>-kidHeight){

	document.all("myKid").style.top=parseInt(document.all("myKid").style.top)-1;

	myTime=setTimeout("scrollTop()",40);

}

else{

	clearTimeout("myTime");

	document.all("myKid").style.top=135;

	myTime=setTimeout("scrollTop()",40);

}

}

function stopScroll(){

	clearTimeout(myTime);

	document.all("myKid").style.top=parseInt(document.all("myKid").style.top);

}

function scrollAgain(){

	scrollTop();

}
