function InteliwiseScript(p_strProxyURL) {
	this.proxyUrl = p_strProxyURL; 
	this.noCacheIE = ((p_strProxyURL.indexOf('?')>-1)?'&':'?')+'&noCacheIE=' + (new Date()).getTime();
	this.scriptLocation = document.getElementsByTagName("head").item(0);
	this.scriptId = 'inteliWISEscriptId' + InteliwiseScript.scriptCounter++;
	
}

InteliwiseScript.scriptCounter = 1;

InteliwiseScript.prototype.buildScriptTag = function (p_strElementId) {
  document.write('<script type=text/javascript id='+this.scriptId +' src='+this.proxyUrl + this.noCacheIE+' ></script>');
}


function inteliwiseEmbed(sourceURL)
{ 
  var obj=new InteliwiseScript(sourceURL);     
  obj.buildScriptTag();
	
} 



