var doc = document
function init() 
{
		self.focus();
		// Do not allow security login in the edit Frame
		if( parent.name == "editWin" ) {
			parent.close();
			parent.opener.location.reload();
			return;
		}
}

function HQ() {
	window.open("hyderabad/HQ.asp", "HQ", "scrollbars=no,status=no,width=300,height=200");
}


function ptimes() {
	window.open("hyderabad/ptimes.asp", "ptimes", "resizeable=no,scrollbars=no,status=no,width=190,height=190");
}

// BOOKMARK Script
<!--
var bookmarkurl="http://www.ApnaHyderabad.com"
var bookmarktitle="Apna Hyderabad // Pakistan"
function addbookmark(){
if (document.all)
window.external.AddFavorite(bookmarkurl,bookmarktitle)
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function BBC_News_Urdu() {
	window.open("hyderabad/bbcnews.asp", "bbc", "scrollbars=no,status=no,width=300,height=200");
}

function CNN_English() {
	window.open("hyderabad/cnnnews.asp", "cnn", "scrollbars=no,status=no,width=300,height=200");
}

function The_Movie() {
	window.open("apnamovies.htm", "movie", "scrollbars=no,status=no,width=675,height=470");
}

function CheckSpeed() {window.open("http://www.bandwidthplace.com/speedtest/idtr.html","Speedtest", "resizable=no,scrollbars=no,status=no,width=260,height=230");

function aptech()
{ window.open ("aptech/aptech.htm","Aptech","toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=no,copyhistory=no,width=600,height=400");
 } 

function webiff() {
	window.open("intro.htm","webiff", "resizable=no,scrollbars=no,status=no,width=650,height=500");
}


function play_game1() {
	window.open("kids/othello/othello.asp", "game", "scrollbars=no,status=no,width=300,height=400");
}

function snake() {
	window.open("kids/snake/game.htm", "snake", "scrollbars=no,status=no,width=225,height=250");
}

function RemoveDot() 
{ 
for (a in document.links) document.links[a].onfocus = document.links[a].blur; 
} 
if (document.all) 
{ 
document.onmousedown = RemoveDot; 
} 
file://


function moreArrow()
		{
		document.all("morearrow").style.display = "none";
		if(document.body.scrollHeight > document.body.clientHeight) {
			if(document.body.clientHeight + document.body.scrollTop >= document.body.scrollHeight - 25) {
				document.all("morearrow").style.display = "none";
			}
			else
				{
				document.all("morearrow").style.display = "inline";
				document.all("morearrow").style.top = document.body.clientHeight - 25 + document.body.scrollTop;
				document.all("morearrow").style.left = document.body.clientWidth - 25;
				}
			}
		}
}
