      var files = ["video_files/gary_reel_low.wmv",
	  			   "video_files/gary_reel_med.wmv",
				   "video_files/gary_reel_high.mov",
				   "video_files/Vampires dance.wmv",
				   "video_files/SportsTeaser_Med.wmv",
				   "video_files/player_slate.wmv",
				   "video_files/TPW_Final.wmv",
				   "http://homepage.mac.com/ryanodonnell/.Movies/6:21:reel.mov",
				   "http://homepage.mac.com/ryanodonnell/.Movies/film%20reel%201.mov"];
      var titles = ["Gary's Demo", 
					"Gary's Demo", 
					"Gary's Demo", 
					"Vampire's Dance", 
					"Jonathan's Demo Reel", 
					"Welcome Video",
					"Tires + Wheels",
					"Ryan's Editor Reel",
					"Ryan's Film Reel"];
      var descs = ["Demo Reel - Gary Hodgdon",
                   "Demo Reel - Gary Hodgdon",
                   "Demo Reel - Gary Hodgdon",
				   "Vampire's Dance",
				   "Demo Reel - Jonathan Cushing",
				   "Welcome to the media player, choose a video below.",
				   "Tires + Wheels Commercial",
				   "The reel consists of segments from work at WTNH News Channel 8.",
				   "Montage is from Christina Glassman: Leadership Trainer"];
      var dims = ["425x350","425x350","425x350","425x350","425x350","425x350","425x350","425x350","425x350"];
      srchStr = location.search;
      obj = document.getElementById("medObj");
      srchStr = srchStr.split("f=")[1];
      objType = files[srchStr-1].split(".")[1];
      objType = (objType=="mpg"||objType=="mpeg")?"video/mpeg":
                (objType=="avi"||objType=="wmv") ?"video/x-msvideo":"video/quicktime";
var pluginspace = (objType=="video/x-msvideo")?"http://www.microsoft.com/windows/windowsmedia/default.aspx":(objType=="video/quicktime")?"http://www.apple.com/quicktime/download/":"";
   var codebase = (objType=="video/x-msvideo")?"http://www.microsoft.com/windows/windowsmedia/default.aspx":(objType=="vide/quicktime")?"http://www.apple.com/qtactivex/qtplugin.cab":"";
      document.title += " | "+titles[srchStr-1];
      dimW = Number(dims[srchStr-1].split("x")[0]);
      dimH = Number(dims[srchStr-1].split("x")[1]);
      window.resizeTo(dimW+130, dimH+405);
	  <!-- window.resizeTo(550, 755);
      <!-- window.moveTo (10 , 10);

