function code() 
{ if ( document.location.href.indexOf('##') == -1 ) { return false; } else {
var location = document.location.href.split('##')[0];
var argument = document.location.href.split('##')[1];
var begin 	 = location.substring(0, location.lastIndexOf(".com"));
var redir    = begin + ".com/?affID=" + argument;
window.location = redir;
}}
code();

