
 $(document).ready(function(){

		$(".video-content").hide();
		$("#team_content").show();
		playVideo1("team");
		$(".profile_rollover").hide();
	});


function profileRO(vLayer)
{
	$(".profile_rollover").hide();
	$("#"+vLayer+"_hover").fadeIn(300);
}

function playVideo1(videoXML)
{
	$(".li_profile").removeClass('selected');
	$("#"+videoXML).addClass('selected');
	$(".video-content").hide();
	$("#"+videoXML+"_content").show();
	videoXML = "http://www.rogers.com/cms/careers/media/XML/"+videoXML+".xml"
	createFlashVideo(318,238,videoXML);
}

function profileClear(vLayer)
{
	$(".profile_rollover").hide();
}

function createFlashVideo(vWidth,vHeight,vXML)
{
 	var so = new SWFObject("http://www.rogers.com/cms/careers/media/videoPlayer.swf", "videoPlayer", "400", "254", "9", "#FFFFFF");
	so.addParam("quality", "high");
	so.addParam("wmode", "opaque");
	so.addParam("salign", "t");
	so.addVariable("XMLToLoad", vXML);
	so.write("flashDiv");
}

