// JavaScript Document

<!--
//This is the script to take querystrings from the URL and convert them into
//a Javascript array. "?search=whatever" becomes querystring["search"] 

//this loads the portion of the url containing the querystring, and also
//decodes any special character codes  
var que = unescape(location.search);

//remove the ? from the beginning of the string
var que = que.substring(1, que.length);

//detects multiple values and splits them into an array que[0], que[1] etc...
var que = que.split("&");

// creates the querystring array
var querystring = new Array();

//(for some strange reason the "for/next" loop wasn't working)
var loop = 0;

//This loop takes each value in the que array then seperates the "names" 
//from the "values" by splitting it into "inter" arrays. the name becomes
// "inter3" and the value becomes "inter2". querystring then loads the "inter2" 
//value into a slot called "inter3"
while (loop < que.length)
 {
   var inter = que[loop].split("=");
   var inter2 = inter[1];
   var inter3 = inter[0]
   que[loop] = inter2;
   querystring[inter3] = inter2
   loop = loop + 1;
 } ;
//(C) Samuel Loy
// --!>

document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,45,0" width="990" height="576" id="november" align="middle">');
document.write('<param name="allowScriptAccess" value="sameDomain" />');
document.write('<param name="movie" value="template/template.swf" />');
document.write('<param name="quality" value="high" />');
document.write('<param name="bgcolor" value="#ffffff" />');
document.write('<param name="wmode" value="transparent" />');
document.write('<param name=FlashVars value="myPassID=' + querystring["msrd"] + '" />');
document.write('<embed src="template/template.swf" FlashVars="myPassID=' + querystring["msrd"] + '" quality="high" bgcolor="#ffffff" width="990" height="576" name="november" align="middle" wmode="transparent" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');

document.write('</object>');