///sample for opening a fixed size window/*function openContributions(){	window.open("contributions.html","CONTRIBUTIONS","menubar=0,resizable=1,width=600,height=510");}*/function OpenLink(pNum,htmlOnly){	// version 1.0 072006	var newWin = 0;//open in self	var plink = "http://www.motorola.com";//default url	//alert('OpenLink('+pNum+')'); // 4local test	switch (pNum) {		//TV Video		//----------------------------------------------------------------			//TV/VIDEO			//Learn More			//Set-Tops			case 11 :plink="http://www.";newWin=1;break;	}		if (newWin==1) {window.open(plink,"motoLink");} else {window.location.href=plink;};}function webTrack(pNum){	// Tracking template :: Version 3.0 	// Project Modification date :: 120106	// alert('webTrack('+pNum+')'); // Uncomment to use for local Flash link test :: Not to be used for live site	//	//	// ***************** Tracking variables - Edit these for your project	var dcsuri_value = "/dvs";	var projectName = "DVS";	var productName = "DVS";	var campaign = "Follow Me TV";	var track = "notset";	var dsc_ext = "mircrosite";	var ac_value = "null";		switch (pNum) {		//Tab navigation tracking		//Living Room		//son scene initiates		case 1 :	track = 'DVS living room tv';					ptEvent = 'DVS:;livingroom;tv';					break;		//daughter scene initaites		case 2 :	track = 'DVS living room music';					ptEvent = 'DVS:;livingroom;music';					break;		//dad scene initiates		case 3 :	track = 'DVS living room photos';					ptEvent = 'DVS:;livingroom;photos';					break;		//mom scene initiates		case 4 :	track = 'DVS living room mobile';					ptEvent = 'DVS:;living;room;mobile';					break;		//to original state		case 5 :	track = 'DVS living room do something else';					ptEvent = 'DVS:;livingroom;dosomethingelse';					break;//Daughter//animation initiates		case 201 :	track = 'DVS daughter click Z6';					ptEvent = 'DVS;daughter;click;z6';					break;					//girls room builds		case 202 :	track = 'DVS daughter how music plays';					ptEvent = 'DVS;daughter;how;music;plays';					break;					//choose a song		case 203 :	track = 'DVS daughter select song';					ptEvent = 'DVS:daughter;select;song';					break;					//takes you to original state		case 204 :	track = 'DVS daughter do something else one';					ptEvent = 'DVS;daughter;dosomethingelse;one';					break;					//takes you to original state		case 205 :	track = 'DVS daughter do something else two';					ptEvent = 'DVS;daughter;dosomethingelse;two';					break;					//on screen menu pops		case 206 :	track = 'DVS daughter click remote after played';					ptEvent = 'DVS;daughter;click;remote;after;played';					break;					//go through demo again		case 207 :	track = 'DVS daughter yes replay';					ptEvent = 'DVS;daughter;yes;replay';					break;					//to original state		case 208 :	track = 'DVS daughter no do something else two';					ptEvent = 'DVS;daughter;no;dosomethingelse;two';					break;					//to original state		case 209 :	track = 'DVS daughter nav nevermind';					ptEvent = 'DVS;daughter;nav;nevermind';					break;		//Son		//animation initiates		case 301 :	track = 'DVS son click remote';					ptEvent ='DVS;son;click;remote';					break;		//tv zooms so we see the onscreen menu		case 302 :	track = 'DVS son explain concept sharing';					ptEvent ='DVS;explain;concept;sharing';					break;				//to original state		case 303 :	track = 'DVS son do something else one';					ptEvent ='DVS;son;dosomethingelseone';					break;					//TV shows that the room was sent to Miles room		case 304 :	track = 'DVS son select miles room';					ptEvent ='DVS;select;miles;room';					break;					//son's room builds		case 305 :	track = 'DVS son room builds';					ptEvent ='DVS;son;room;builds';					break;					//to original state		case 306 :	track = 'DVS son do something else two';					ptEvent ='DVS;son;dosomethingelse;two';					break;					//to original state		case 307 :	track = 'DVS son do something else three';					ptEvent ='DVS;son;dosomethingelse;three';					break;					//on screen menu pops		case 308 :	track = 'DVS son click remote after played';					ptEvent ='DVS;son;click;remote;after;played';					break;					//son's demo plays again		case 309 :	track = 'DVS son show again';					ptEvent ='DVS;son;show;again';					break;					//takes you to original state		case 310 :	track = 'DVS son do something else after played';					ptEvent ='DVS;son;sdosomethingelse;replay';					break;					//to original state		case 311 :	track = 'DVS son nav nevermind';					ptEvent ='DVS;son;nav;nevermind';					break;		//Dad		//animation initiates		case 401 :	track = 'DVS dad click camera';					ptEvent ='DVS;dad;clickcamera';					break;					//animation initiates		case 402 :	track = 'DVS dad look at  photos';					ptEvent ='DVS;dad;lookatphotos';					break;										//slideshow begins		case 403 :	track = 'DVS dad ok start slideshow';					ptEvent ='DVS;dad;ok;startslideshow';					break;										//to original state		case 404 :	track = 'DVS dad seen enough';					ptEvent ='DVS;dad;seen;enough';					break;										//animation initiates		case 405 :	track = 'DVS dad say cheese';					ptEvent ='DVS;dad;say;cheese';					break;										//on screen menu pops		case 406 :	track = 'DVS dad click camera replay';					ptEvent ='DVS;dad;click;camera;replay';					break;										//demo replays		case 407 :	track = 'DVS dad show again';					ptEvent ='DVS;dad;show;again';					break;			//to original state		case 408 :	track = 'DVS dad no do something else';					ptEvent ='DVS;dad; nodosomething;else';					break;								//to original state		case 409 :	track = 'DVS dad nav nevermind';					ptEvent ='DVS;dad;nav;nevermind';					break;		
		//MOM					//animation initiates		case 501 :	track = 'DVS mom phone click';					ptEvent ='DVS;mom;clickphone';					break;
															//transition to outsite		case 502 :	track = 'DVS mom phone can remote control';					ptEvent ='DVS;mom;phone;can;remotecontrol';					break;										//on screen menu pops		case 503 :	track = 'DVS mom click button to confirm';					ptEvent ='DVS;mom;click;buttontoconfirm';					break;										//to original state		case 504 :	track = 'DVS mom do something else one';					ptEvent ='DVS;mom;dosomethingelse;one';					break;										//video initiates		case 505 :	track = 'DVS mom watch shows remotely';					ptEvent ='DVS;mom;watch;shows;remotely';					break;						//to original state		case 506 :	track = 'DVS mom do something else two';					ptEvent ='DVS;mom;dosomethingelse;two';					break;						//on screen menu pops		case 507 :	track = 'DVS mom click on phone replay';					ptEvent ='DVS;mom;click;on;phone;replay';					break;						//demo begins		case 508 :	track = 'DVS mom yes show again';					ptEvent ='DVS;mom;yes;showagain';					break;						//to original state		case 509 :	track = 'DVS mom no something else three';					ptEvent ='DVS;mom;nosomethingelse;no';					break;				//to original state		case 510 :	track = 'DVS mom nav nevermind';					ptEvent ='DVS;mom;nav;nevermind';					break;											}			// ***************** call tracking scripts - DO NOT EDIT		if  (track != 'notset') {	// WEBTRENDS: (comment out if you're not using this tracking for this project)	var ti_value = projectName + " " + track;	var dscExt_value = productName + ":" + campaign + ":" + ptEvent;	dcsMultiTrack('DCS.dcsuri', dcsuri_value, 'WT.ti', ti_value, 'DCSext.' + dsc_ext, dscExt_value, 'WT.ac', ac_value);	};			// FIRECLICK: (uncomment and include above if statment if you're using fireclick tracking)	//fc_flash(projectName, WTparam);			// Uncomment line below to use for local webtrends test :: Not to be used for live site	//alert("dcsMultiTrack('DCS.dcsuri', " + dcsuri_value + ", 'WT.ti'," + ti_value + ", 'DCSext." + dsc_ext + "," + dscExt_value + ", 'WT.ac'," + ac_value +");");		}
