var url = window.location.href;
/*if (url.indexOf("sprintspectrum.com") == -1){
	document.domain = "sprintpcs.com";
} else {
	document.domain = "sprintspectrum.com";
}*/


//helpThis('480','600');
self.resizeTo(480,600);

helpID = getQueryVariable('helpID');
index = getQueryVariable('index');
haveSet = "";
//alert(index);
function checkHeader(){
	if(helpID){
		//parent.nav.hideLayer('theIndex');
		//parent.nav.ShowLayer('theTopics');
		header.hideLayer('indexOn');
		header.showLayer('topicOn');
		//nav.location.hrefsrc = helpID+".html";
	}
}
function checkNav(){
	if(helpID){
		nav.hideLayer('theIndex');
		nav.showLayer('theTopics');
		// preselect menu item some how
	}
}
function checkMain(){
	//alert('');
	if(url.indexOf("tdmll64") != "-1"){
		if(helpID){
			main.location.href = "content.php?helpID="+helpID;
			//alert('');
		} else {
			main.location.href = "content.php?helpID=71";
		}
	}else{
		if(helpID){
			main.location.href = "help"+helpID+".html";
			//alert('');
		} else {
			main.location.href = "help71.html";
		}
	}
	haveSet = 1;
}