\n');
}
function thisMovie(movieName) {
if (navigator.appName.indexOf ("Microsoft") !=-1) {
return window[movieName]
} else {
return document[movieName]
}
}
function sendCART(args){
thisMovie(movieName).SetVariable("myCartID", args);
}
function sendGUID(args){
thisMovie(movieName).SetVariable("uguid", args);
}
function getValue(varname){
// First, we load the URL into a variable
var url = window.location.href;
// Next, split the url by the ?
var qparts = url.split("?");
// Check that there is a querystring, return "" if not
if (qparts.length == 0) {
return "";
}
// Then find the querystring, everything after the ?
var query = qparts[1];
// Split the query string into variables (separates by &s)
if (query!=null) {
var vars = query.split("&");
}
else {
return "";
}
// Initialize the value with "" as default
var value = "";
// Iterate through vars, checking each one for varname
for (i=0;i