		 function getMWArgs(){
		 	var args = new Object(); 		//object for storing param=value pairs
		 	var query = location.search.substring(1); //grab the text after the '?'
		 	var pairs = query.split("&");		//create an array of param=value pairs
		 	var newstring = "";			//string we return via the function
		 	for(var i = 0; i < pairs.length; i++){ //loop through the array
		 		var pos = pairs[i].indexOf('='); //check for an '='
		 		if (pos == -1) continue; //no '=', skip this array dimention
		 		var argname = pairs[i].substring(0,pos); //extract parameter name
		 		//skip parameters that are hard coded in the calling script block
		 if(argname.toLowerCase() != "siteid" && argname.toLowerCase() != "urlpull" && argname.toLowerCase() != "exstyle"){
		 			newstring += pairs[i] + "&"  //concatenate the new string
		 		}
		 	}
		 	return newstring;
		 }
		 document.writeln ("<" + "script language='JavaScript' src='http://custom.marketwatch.com/custom/alliance/ii/indextrack.asp?siteid=4FA3F9BB-36AF-499F-99C5-0F50C960D9E2&urlpull=/&exstyle=t&" +  getMWArgs() + "'>" );
		 document.write("</");
		 document.writeln("script>");
