document.write("<style>");
document.write("#header{");
document.write("	width:920px; margin:2px 1px 0px 1px; float:left; clear:right;");
document.write("}");
document.write("#headerLeft{");
document.write("	width:190px; height:52px; margin:0px 1px 1px 0px; float:left;");
document.write("}");
document.write("#headerRight{");
document.write("	width:574px; height:52px; margin-left:1px; float:left;");
document.write("}");
document.write("#ticker{");
document.write("	float:left; margin-bottom:1px; width:574px; height:16px; background-color:#FFFFFF;");
document.write("}");
document.write("#mediaPlayer{");
document.write("	text-align:right; float:left; margin-top:1px; width:574px; background-color:#FFFFFF");
document.write("}");
document.write("#searchbar{");
document.write("	float:left; width:916px; height:26px; background-color: #F3F3F3; margin:1px 0px 2px 0px;");
document.write("}");
document.write("#searchForm{");
document.write("	float:left;");
document.write("	margin-top:3px;");
document.write("	margin-left:3px;");
document.write("}");
document.write("#searchImg2 {");
document.write("	width:84px; ");
document.write("	margin-top:7px; ");
document.write("	margin-left:4px; ");
document.write("	float:left;");
document.write("}");
document.write("#nav{");
document.write("	width:916px; margin:1px; float:left; background-image:url(http://www.dose.ca/images/header/bg_navbar.gif); background-repeat:repeat-x;");
document.write("}");
document.write("#tickerWrap a {");
document.write("	font-family:Verdana, Arial, Helvetica, sans-serif;");
document.write("	font-size:11px;");
document.write("font-weight:bold;");
document.write("	color: #000000;");
document.write("	text-decoration:none;");
document.write("}");
document.write("#tickerWrap {");
document.write("	font-family:Verdana, Arial, Helvetica, sans-serif;");
document.write("	font-size:11px;");
document.write("font-weight:bold;");
document.write("	color: #000000;");
document.write("	text-decoration:none;");
document.write("}");
document.write(".topStories {");
document.write("	font-family:Verdana, Arial, Helvetica, sans-serif;");
document.write("	font-size:11px;");
document.write("	font-weight:bold;");
document.write("	color: #000000;");
document.write("	text-decoration:none;");
document.write("}");
document.write("#headerTopBar {");
document.write("	margin:1px 0px; width:916px; height:18px; text-align:right; background-color:#000000; float:left; font-family:Verdana, Arial, Helvetica, sans-serif; color:#FFFFFF; font-size:9px;");
document.write("}");
document.write("#headerTopBar a {color:#FFFFFF; text-decoration:none}");
document.write("#headerTopBar a:hover {color:#FF0000}");
document.write("#searchbarCanadaCom {float:right; margin-right:10px;}");
document.write("</style>");

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
document.write("");

//v1.0
//Copyright 2006 Adobe Systems, Inc. All rights reserved.
function AC_AddExtension(src, ext)
{
  if (src.indexOf('?') != -1)
    return src.replace(/\?/, ext+'?'); 
  else
    return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs) 
{ 
  var str = '<object ';
  for (var i in objAttrs)
    str += i + '="' + objAttrs[i] + '" ';
  str += '>';
  for (var i in params)
    str += '<param name="' + i + '" value="' + params[i] + '" /> ';
  str += '<embed ';
  for (var i in embedAttrs)
    str += i + '="' + embedAttrs[i] + '" ';
  str += ' ></embed></object>';

  document.write(str);
}

function AC_FL_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
     , "application/x-shockwave-flash"
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_SW_RunContent(){
  var ret = 
    AC_GetArgs
    (  arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
     , null
    );
  AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
  var ret = new Object();
  ret.embedAttrs = new Object();
  ret.params = new Object();
  ret.objAttrs = new Object();
  for (var i=0; i < args.length; i=i+2){
    var currArg = args[i].toLowerCase();    

    switch (currArg){	
      case "classid":
        break;
      case "pluginspage":
        ret.embedAttrs[args[i]] = args[i+1];
        break;
      case "src":
      case "movie":	
        args[i+1] = AC_AddExtension(args[i+1], ext);
        ret.embedAttrs["src"] = args[i+1];
        ret.params[srcParamName] = args[i+1];
        break;
      case "onafterupdate":
      case "onbeforeupdate":
      case "onblur":
      case "oncellchange":
      case "onclick":
      case "ondblClick":
      case "ondrag":
      case "ondragend":
      case "ondragenter":
      case "ondragleave":
      case "ondragover":
      case "ondrop":
      case "onfinish":
      case "onfocus":
      case "onhelp":
      case "onmousedown":
      case "onmouseup":
      case "onmouseover":
      case "onmousemove":
      case "onmouseout":
      case "onkeypress":
      case "onkeydown":
      case "onkeyup":
      case "onload":
      case "onlosecapture":
      case "onpropertychange":
      case "onreadystatechange":
      case "onrowsdelete":
      case "onrowenter":
      case "onrowexit":
      case "onrowsinserted":
      case "onstart":
      case "onscroll":
      case "onbeforeeditfocus":
      case "onactivate":
      case "onbeforedeactivate":
      case "ondeactivate":
      case "type":
      case "codebase":
        ret.objAttrs[args[i]] = args[i+1];
        break;
      case "width":
      case "height":
      case "align":
      case "vspace": 
      case "hspace":
      case "class":
      case "title":
      case "accesskey":
      case "name":
      case "id":
      case "tabindex":
        ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
        break;
      default:
        ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
    }
  }
  ret.objAttrs["classid"] = classid;
  if (mimeType) ret.embedAttrs["type"] = mimeType;
  return ret;
}

document.write("");
document.write("<table cellpadding=\"0\" cellspacing=\"0\"><tr><td>");
document.write("<div id=\"header\" style=\"width:920px;\">");
document.write("<form method=\"get\" action=\"http://www.dose.ca/search/search.html\">");
document.write("	<div id=\"headerTopBar\"></div>");
document.write("	<div id=\"logo\" style=\"margin:1px 1px 1px 0px; float:left; width:286px; height:52px;\"><a href=\"http://www.dose.ca/\"><img src=\"http://a123.g.akamai.net/f/123/12465/1d/www.dose.ca/images/header/dosedotca.gif\" width=\"286\" height=\"52\" border=\"0\" /></a></div>");
document.write("<div id=\"date\" style=\"width:13px; height:52px; margin:1px 0px 1px 1px; float:left;\">");

AC_FL_RunContent( 'codebase','http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0','width','13','height','52','align','middle','src','http://www.dose.ca/nav/date','quality','high','wmode','transparent','bgcolor','#000000','allowscriptaccess','sameDomain','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','http://www.dose.ca/nav/date' ); //end AC code
document.write("<noscript><object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"13\" height=\"52\" align=\"middle\">");
document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />");
document.write("<param name=\"movie\" value=\"http://www.dose.ca/nav/date.swf\" /><param name=\"quality\" value=\"high\" /><param name=\"wmode\" value=\"transparent\" /><param name=\"bgcolor\" value=\"#000000\" /><embed src=\"http://www.dose.ca/nav/date.swf\" quality=\"high\" bgcolor=\"#000000\" width=\"13\" height=\"52\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />");
document.write("</object></noscript></div>");
document.write("<div id=\"tickerWrap\" style=\"width:401px; height:43px; background-color:#FFFFFF; margin:1px 1px 1px 0px; float:left; padding: 6px 7px 3px 15px;\">");
document.write("");
document.write("				");

				function cwiTicker(ticker_id)
				{
					this.ID = ticker_id;
					this.CurrentFrame = 0;
					this.Frames = new Array();
					this.NextFrameDelay = 2500;
					this.Paused = false;
					this.UserPaused = false;
					this.direction = 'forward';
					this.CurrentTimerID = 0;
				}


				cwiTicker.prototype.IncrementFrame = function()
				{
					if (this.CurrentFrame < this.Frames.length - 1)
						this.CurrentFrame++;
					else
						this.CurrentFrame = 0;
				}

				cwiTicker.prototype.DecrementFrame = function()
				{
					if (this.CurrentFrame > 0)
						this.CurrentFrame--;
					else
						this.CurrentFrame = this.Frames.length - 1;
				}

				cwiTicker.prototype.ShowFrame = function()
				{
					var Container = document.getElementById(this.ID);
					var currentFrame = document.getElementById(this.Frames[this.CurrentFrame]);
					
					Container.innerHTML = currentFrame.innerHTML;
				}

				cwiTicker.prototype.PreviousFrame = function()
				{	
					if (this.Paused)
					{
						eval(this.ID + ' = ' + 'this;');
						this.FrameTimeoutId = window.setTimeout( this.ID + '.PreviousFrame()', this.NextFrameDelay);
						return;
					}
					
					this.DecrementFrame();
					this.ShowFrame();
					if (this.NextFrameDelay)
					{
						eval(this.ID + ' = ' + 'this;');
						this.FrameTimeoutId = window.setTimeout( this.ID + '.PreviousFrame()', this.NextFrameDelay);
					}
				}

				cwiTicker.prototype.NextFrame = function()
				{	
					if (this.Paused)
					{
						eval(this.ID + ' = ' + 'this;');
						this.FrameTimeoutId = window.setTimeout( this.ID + '.NextFrame()', this.NextFrameDelay);
						return;
					}
					
					this.IncrementFrame();
					this.ShowFrame();
					if (this.NextFrameDelay)
					{
						eval(this.ID + ' = ' + 'this;');
						this.FrameTimeoutId = window.setTimeout( this.ID + '.NextFrame()', this.NextFrameDelay);
					}
				}


				cwiTicker.prototype.Start = function()
				{
					eval(this.ID + ' = ' + 'this;');
					this.FrameTimeoutId = window.setTimeout( this.ID + '.NextFrame()', this.NextFrameDelay);
				}

				cwiTicker.prototype.Pause = function()
				{
					this.Paused = true;	
				}

				cwiTicker.prototype.UnPause = function()
				{
					this.Paused = this.UserPaused;	
				}
				
document.write("");
document.write("");
document.write("								<DIV id='ticker_0' style='OVERFLOW:hidden;WIDTH:401px;'>Hot Topics:<br><div id=\"Syndication0\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|1|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=4ff42db9-7387-4c41-b33e-41aebe02b555\"><span>Stream the New Moon Soundtrack Now and Pretend You Haven't Already Heard It</span></a></div>");
document.write("</DIV>");
document.write("");
document.write("				<DIV id='ticker_0_0' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication1\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|1|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=4ff42db9-7387-4c41-b33e-41aebe02b555\"><span>Stream the New Moon Soundtrack Now and Pretend You Haven't Already Heard It</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_1' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication2\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|2|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=fa7dd8b9-6d84-4a8f-8057-8af3831298c8\"><span>Lady Gaga's Monster Ball Tour Opens in Montreal</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_2' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication3\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|3|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=2c569d1b-b79a-4a79-966a-deb057ed9393\"><span>Interview: Richard Kind and Sari Lennick</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_3' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication4\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|4|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=5580ae0d-53b3-4867-9783-5cc65efa2be8\"><span>Q&amp;A with Survivor castoff Yasmin Giles</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_4' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication5\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|5|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=94190aa3-c015-46ba-8f23-8b4a0e1d9ff8\"><span>OK, Maybe the Gosselins Haven't Disappeared Quite Yet; Jon Sued By TLC</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_5' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication6\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|6|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=9272cd11-7434-4ef1-b355-e192c1b390cd\"><span>Megan Fox is Armani's New Spokes-Tits</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_6' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication7\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|7|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/story.html?id=bba58f3d-d631-4a8d-a0ae-58b78abc8a01\"><span>Spike Jonze Gets Wild</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_7' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication8\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|8|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/features/twilight/story.html?id=317e4887-f677-4a29-9b0d-f00a24c330b7\"><span>Trailer Talk: New Moon's Extended Trailer</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_8' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication9\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|9|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/music/mix/download.html\"><span>Download Dose.ca's Essential Mix</span></a></div>");
document.write("</DIV>");
document.write("				<DIV id='ticker_0_9' style='position: absolute; VISIBILITY: hidden'>Hot Topics:<br><div id=\"Syndication10\">");
document.write("<!-- CACHE MISS: syndication|/topfive.atom|HeadlineOnly|10|1|0|105|True|0|http://www.dose.ca/story.html|/images/subscribericon.gif|m|Syndication||1|0|True|False|False|False||True||False|headline|street -->");
document.write("<a href=\"http://www.dose.ca/photos/celeb/starstalker.html\"><span>Star Stalker: Paparazzi Photos</span></a></div>");
document.write("</DIV>");
document.write("");
document.write("			");

			var ticker_0 = new cwiTicker('ticker_0');
			ticker_0.FrameChangeType = 'frame';
			ticker_0.NextFrameDelay = 6500;
			ticker_0.Frames[0] = 'ticker_0_0';ticker_0.Frames[1] = 'ticker_0_1';ticker_0.Frames[2] = 'ticker_0_2';ticker_0.Frames[3] = 'ticker_0_3';ticker_0.Frames[4] = 'ticker_0_4';ticker_0.Frames[5] = 'ticker_0_5';ticker_0.Frames[6] = 'ticker_0_6';ticker_0.Frames[7] = 'ticker_0_7';ticker_0.Frames[8] = 'ticker_0_8';ticker_0.Frames[9] = 'ticker_0_9';
			ticker_0.Start();
			
			
document.write("");
document.write("			");
document.write("</div>");
document.write("<div id=\"mediaPlayer\" style=\"height:52px; width:190px; margin:1px; float:left\"><a href=\"http://www.dose.ca/video/\"><img src=\"http://a123.g.akamai.net/f/123/12465/1d/www.dose.ca/images/header/media_player.gif\" width=\"190\" height=\"52\" border=\"0\" /></a></div>");
document.write("	<div id=\"searchbar\">");
document.write("		<div id=\"searchForm\">");
document.write("			<input name=\"searchfor\" type=\"text\" id=\"searchfor\" style=\"width:280px;\" />");
document.write("		</div>");
document.write("		<div id=\"searchImg2\">");
document.write("			<input type=\"image\" src=\"http://a123.g.akamai.net/f/123/12465/1d/www.dose.ca/images/header/search_sm.gif\" alt=\"SEARCH\" />");
document.write("		</div>");
document.write("		<div id=\"searchbarCanadaCom\">");
document.write("			<a href=\"http://www.canada.com/\" target=\"_blank\"><img src=\"http://a123.g.akamai.net/f/123/12465/1d/www.dose.ca/images/header/logo_part_of_canada_com_network_v2.gif\" border=\"0\" /></a>");
document.write("		</div>");
document.write("	</div>");
document.write("	");
document.write("</form></div></td></tr></table>");
