function getArgs() {

	var args = new Object();
	var query = location.search.substring(1); 		// Get query string.
	var pairs = query.split(",");				//Break at comma.
	for (var i=0; i < pairs.length; i++) {
		var pos = pairs[i].indexOf('=');  		// Look for "name=value".
		if (pos == -1 ) continue;			// If not found, skip.
		var argname = pairs[i].substring(0,pos);	// Extract name
		var value = pairs[i].substring(pos+1);		// Extract the value.
		args[argname] = unescape(value);		// Store as a property
	}
	return args;						// Return the object.
}

function addSourceCode(thiss,sourcecode) {
	var args=getArgs(); 
	if (args.Custom3) {keyval=args.Custom3; 
thiss.href=thiss.href+'?Custom3='+keyval;} else {if (sourcecode) {thiss.href=thiss.href+'?Custom3='+sourcecode;} else {}}
}

function replaceSourceCode(thiss) {
	var args=getArgs(); 
	var keyval = args.Custom3;
	var sourceposition = thiss.href.search('Custom3') + 8;
	if (args.Custom3) { 
thiss.href=thiss.href.substring(0,sourceposition)+keyval;} 
}