function audSciWrite()

{
	//site sniffing--if thisNode exists, this is WP
	asNodeName =  (typeof thisNode != 'undefined' && thisNode != '')?'thisNode':'commercialNode';
	asNodeValue = (typeof thisNode != 'undefined' && thisNode != '')? thisNode : commercialNode;	
	//trims ending slash if there is one
	asNodeValue = asNodeValue.replace(/\/$/gi,'');
	asNodeValue = asNodeValue.toLowerCase();
	if(location.href.match('test_rs_values')) {document.write(asNodeName + '=' + asNodeValue + '<br/>')};
	DM_addEncToLoc(asNodeName,asNodeValue)
	//WP only reg-cookie logic:
	if( asNodeName == 'thisNode' && typeof getCookie != 'undefined' && getCookie('WPATC') )
	{
		var reg_values=getCookie('WPATC').split(':');
		for(i=0;reg_values[i];i++)
		{
			var rv_in_use=reg_values[i].split('=');
			DM_addEncToLoc(rv_in_use[0],rv_in_use[1]);
			if(location.href.match('test_rs_values')) {document.write(rv_in_use[0] + '=' + rv_in_use[1] + '<br/>')};
		}
	}
	DM_tag();
}

try
{
audSciWrite();
}
catch(e){ }


