function search(url){
var qryName = new Array();
 var qryValue = new Array();
 var toParseArray = new Array();
 var camp_str='';
url = url.substr(url.indexOf("?")+1);

 toParseArray = url.split("&");
 if(toParseArray.length == 0 && url!="") toParseArray[0]=url

 for(var i = 0; i < toParseArray.length; i++){
    qryName[i] = toParseArray[i].substr(0,toParseArray[i].indexOf("=")).replace(/\+|space/gi," ");
    qryValue[i] = toParseArray[i].substr(toParseArray[i].indexOf("=")+1).replace(/[+]/g," ");

    if (qryName[i] =="chm"){
	camp_str = "&chm="+qryValue[i];

    }
  }
 return camp_str;
}
function ExtractQryStr() {
var camp_str='';
var url = '';
if(window.location!=null)
	url=window.location.href;
	if(url!=""){
		camp_str=search(url);
	}
 	if(camp_str!=""){
		return camp_str;
	}
 return camp_str;
}


camp_addon = ExtractQryStr();

function HideStatus(){
	window.status = document.readyState!="complete" ?
		"Loading..." : window.defaultStatus;
}
document.onreadystatechange = HideStatus;
cururl =  window.location.href.substr(0,window.location.href.indexOf("?"));
document.write('<IFRAME src="http://64.71.189.72/webmaster/afficatlog1.asp?webid='+webid+'"" width="600" height="820"  frameborder="0" ></IFRAME>');
