// JavaScript Document
StrRef =Request('ref');// document.location.href;
if(StrRef=='www.bm28.com'){
}else{
	thisHREF = document.location.href;
	tmpHPage = thisHREF.split("/");
	if(tmpHPage.length<=4){
		var gt = unescape('%3e');
		var popup = null;
		var over = "Launch Pop-up Navigator";
		//popup = window.open('', 'popupnav', 'width=625,height=400, toolbar= no, menubar=no, scrollbars=yes, resizable=yes, location=no, status=no,top=100,left=300');
		if (popup != null) {
			if (popup.opener == null) {
				//popup.opener = self; 
			}
			//popup.location.href = '/index.php/popup';
		}
	}

}


function Request(key){
	var QueryString="";
	if(location.href.indexOf("?")>0){
	  QueryString=location.href.substr(location.href.indexOf("?")+1);
	}
	QueryString="&"+QueryString+"&";
  var tempStr;
  key="&"+key+"=";
  if(QueryString.indexOf(key)>=0){
    tempStr=QueryString.substr(QueryString.indexOf(key)+key.length);
    return tempStr.substr(0,tempStr.indexOf("&"));
  }
  return "";
}
