var currentSection=0;

var ImageVariable="<img src=\"noflash/interactive_menu.jpg\" width=\"760\" height=\"200\"><br clear=all>";

var FlashVariable=ImageVariable;

// var FlashVariable="<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" width=\"550\" height=\"170\"><param name=movie value=\"flash/flash_intro.swf\"><param name=quality value=high><embed src=\"flash/flash_intro.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"550\" height=\"170\"></embed> </object>";

function buildTopBar() {
	buildTopNav();
	buildBreadcrumb("CBC Television","http://www.cbc.ca/television","TV ARTSandENTERTAINMENT","","Interactive","/tvarts/interactive/");
	buildMenuNav(currentSection);
}

function flashFullscreen(loc,title) {
	var screenW, screenH, posX, posY;
	if (parseInt(navigator.appVersion)>3) {
		screenW = screen.width;
		screenH = screen.height;
		posX=Math.floor((screenW-720)/2);
		posY=Math.floor((screenH-450)/2);
	}
	else {
		posX=0;
		posY=0;
	}
	configStr='width='+(screenW-10)+',height='+(screenH-57)+',screenX=0,screenY=0,top=0,left=0,scrollbars=no,resizable=no,toolbar=no,menubar=no';
	window.open(loc,title,configStr);
}

function flashPopup(loc,title) {
	var screenW, screenH, posX, posY;
	if (parseInt(navigator.appVersion)>3) {
		screenW = screen.width;
		screenH = screen.height;
		posX=Math.floor((screenW-720)/2);
		posY=Math.floor((screenH-450)/2);
	}
	else {
		posX=0;
		posY=0;
	}
	configStr='width=720,height=450,screenX='+posX+',screenY='+posY+',top='+posY+',left='+posX+',scrollbars=no,resizable=no,toolbar=no,menubar=no';
	window.open(loc,title,configStr);
}

