// TRI SIDE SCRIPT
// avec ap added code to counter google, yahoo and aol indexing of cartid 09/18/03

var SCPath = "/cgi-local/SoftCart.100.exe";  
// Replace this with your path to SoftCart.exe
//WelcomePath = "/cgi-bin/welcome.pl";
var config = "scstore";  
// Replace this with the name of your configuration file
if (location.pathname.substring(0,SCPath.length) != SCPath){
    window.location = SCPath + location.pathname + "?E+" + config;
    } else { 
 	if ((document.referrer.indexOf("google.com")>0) || (document.referrer.indexOf("yahoo.com")>0) || (document.referrer.indexOf("aol.com")>0) || (document.referrer.indexOf("search.netscape.com")>0)){
 	window.location = location.pathname + "?E+" + config;
 	}
 }

// END SIDE SCRIPT
