//whatsup=0 if nothing					= Special Offers
//whatsup=1 if only TV up					= TVs
//whatsup=2 if TV & COMP up				= Computers
//whatsup=3 if TV & COMP & NOTE up			= Notebooks
//whatsup=4 if TV & COMP & NOTE & PRINT up		= Printers
//whatsup=5 if TV & COMP & NOTE & PRINT & CAMS up		= Cameras


var whatover=0;var whatsup=0;

function dothat(){


//if(whatover==whatsup){return;}
	// DO NOTHING

if(whatover==0&&whatsup==1){

if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downtv();
specs.location.href='specialoffer/1.htm';}
	//	= drop TVs, switch whatsup=0

//OVER TVS = Switch whatover=1.
if(whatover==1&&whatsup==0){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
uptv();
specs.location.href='notebooks/nothing.htm';
tves.location.href='tvs/1.htm';}
	//	= MOVE TVS only up
if(whatover==2&&whatsup==1){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upcomp();
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='computers/1.htm';}
	//	= MOVE COMPS only up switch whatsup=2
if(whatover==1&&whatsup==2){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downcomp();
tves.location.href='tvs/1.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	= drop COMPS, switch whatsup=1
if(whatover==0&&whatsup==2){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downcomp();downtv();
specs.location.href='specialoffer/1.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	= drop TVs & COMPS, switch whatsup=0
//OVER COMP = Switch whatover=2.
if(whatover==2&&whatsup==0){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
uptv();upcomp();
specs.location.href='notebooks/nothing.htm';
pcs.location.href='computers/1.htm';}
	//	= MOVE TVS & COMPS only up switch whatsup=2

if(whatover==0&&whatsup==3){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downnote();downcomp();downtv();
specs.location.href='specialoffer/1.htm';
ntts.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	= drop TVs, COMPS & NOTE, switch whatsup=0

if(whatover==3&&whatsup==2){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upnote();
ntts.location.href='notebooks/1.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	= MOVE NOTES only up, switch whatsup=3
if(whatover==3&&whatsup==4){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downprint();
prts.location.href='notebooks/nothing.htm';
ntts.location.href='notebooks/1.htm';}
	//	drop PRINT, switch whatsup=3
if(whatover==3&&whatsup==0){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
uptv();upcomp();upnote();
ntts.location.href='notebooks/1.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	= MOVE TVS, COMPS & NOTE only up switch whatsup=3
if(whatover==3&&whatsup==1){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upcomp();upnote();
ntts.location.href='notebooks/1.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	MOVE COMPS & NOTE up switch whatsup=2
if(whatover==2&&whatsup==3){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downnote();
ntts.location.href='notebooks/nothing.htm';
tves.location.href='tvs/1.htm';
pcs.location.href='computers/1.htm';}
	//	= drop NOTES, switch whatsup=2
if(whatover==1&&whatsup==3){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downnote();downcomp();
ntts.location.href='notebooks/nothing.htm';
tves.location.href='tvs/1.htm';
pcs.location.href='notebooks/nothing.htm';}
	//	= drop COMPS & NOTES, switch whatsup=1
if(whatover==0&&whatsup==4){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downprint();downnote();downcomp();downtv();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='specialoffer/1.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';
prts.location.href='notebooks/nothing.htm';}
	//	= drop TVs, COMPS, NOTE & PRINT, switch whatsup=0
if(whatover==2&&whatsup==4){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downprint();downnote();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='computers/1.htm';}
	//	drop NOTES & PRINT, switch whatsup=2
if(whatover==1&&whatsup==4){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
downprint();downnote();downcomp();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='tvs/1.htm';
pcs.location.href='notebooks/nothing.htm';
prts.location.href='notebooks/nothing.htm';}
	//	drop COMPS, NOTES & PRINT, switch whatsup=1
if(whatover==4&&whatsup==0){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upprint();upnote();upcomp();uptv();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';
prts.location.href='printers/1.htm';}
	//	MOVE TVS, COMPS, NOTE & PRINT up switch whatsup=4
if(whatover==4&&whatsup==1){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upprint();upnote();upcomp();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';
prts.location.href='printers/1.htm';}
	//	MOVE COMPS, NOTES & PRINT up switch whatsup=4
if(whatover==4&&whatsup==2){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upprint();upnote();upcomp();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';
prts.location.href='printers/1.htm';}
	//	MOVE NOTES & PRINT only up, switch whatsup=4
if(whatover==4&&whatsup==3){
if(fx==0){
clickswitch=2;movedis();clickswitch=0;}
upprint();
ntts.location.href='notebooks/nothing.htm';
specs.location.href='notebooks/nothing.htm';
tves.location.href='notebooks/nothing.htm';
pcs.location.href='notebooks/nothing.htm';
prts.location.href='printers/1.htm';}
	//	MOVE PRINT only up, switch whatsup=4
}



if(whatover==0&&whatsup==5){whatsup=0;}
	//	drop TVs, COMPS, NOTE, PRINT & CAMS, switch whatsup=0

if(whatover==1&&whatsup==5){whatsup=1;}
	//	drop COMPS, NOTES, PRINT & CAMS, switch whatsup=1
if(whatover==2&&whatsup==5){whatsup=2;}
	//	drop NOTES, PRINT & CAMS, switch whatsup=2

//OVER NOTES = Switch whatover=3.
if(whatover==3&&whatsup==5){whatsup=3;}
	//	drop PRINT & CAMS, switch whatsup=3



if(whatover==4&&whatsup==5){whatsup=4;}
	//	drop CAMS, switch whatsup=4



//OVER CAMS = Switch whatover=5.
if(whatover==5&&whatsup==0){whatsup=5;}
	//	MOVE TVS, COMPS, NOTE, PRINT & CAMS up switch whatsup=5

if(whatover==5&&whatsup==1){whatsup=5;}
	//	MOVE COMPS, NOTES, PRINT & CAMS up switch whatsup=5

if(whatover==5&&whatsup==2){whatsup=5;}
	//	MOVE NOTES, PRINT & CAMS only up, switch whatsup=5

if(whatover==5&&whatsup==3){whatsup=5;}
	//	MOVE PRINT & CAMS only up, switch whatsup=5

if(whatover==5&&whatsup==4){whatsup=5;}
	//	MOVE CAMS only up, switch whatsup=5

	//	if(whatover==5&&whatsup==5){whatsup=5;}
	//	do nothing




function uptv(){

if(fx==0){

if(n<216){
	n++;n++;
	setTimeout('uptv()',v);}
		tvs.style.top=eval(245-n);
		telev.style.top=eval(268-n);
		if(n>10){telev.style.zIndex=1400;}
if(n>214){return cancelBubble=true;}

}
else {
		tvs.style.top='30';
		telev.style.top='60';
		telev.style.zIndex=1400;
				}
}

  
function downtv(){

if(fx==0){

if(n<216){
	n++;n++;
	setTimeout('downtv()',v);}
		tvs.style.top=eval(28+n);
		telev.style.top=eval(51+n);
		if(n>201){telev.style.zIndex=1208;}
if(n>121){return cancelBubble=true;}
}

else {
		tvs.style.top='240';
		telev.style.top='268';
		telev.style.zIndex=1208;
}

}



function upcomp(){

if(fx==0){

if(m<184){
m++;m++;
setTimeout('upcomp()',v);}
comps.style.top=eval(245-m);
compu.style.top=eval(268-m);
		if(m>0){compu.style.zIndex=1400;}
if(m>185){return cancelBubble=true;}
}
else {
comps.style.top='60';
compu.style.top='90';
compu.style.zIndex=1400;
			}

}


function downcomp(){

if(fx==0){

if(m<184){
m++;m++;
setTimeout('downcomp()',v);}
comps.style.top=eval(83+m);
compu.style.top=eval(104+m);
		if(m>164){compu.style.zIndex=1208;}
if(m>185){return cancelBubble=true;}
}
else {
comps.style.top='266';
compu.style.top='280';
compu.style.zIndex=1208;
}
}


function upnote(){

if(fx==0){

if(mm<152){
mm++;mm++;
setTimeout('upnote()',v);}
note.style.top=eval(245-mm);
noteb.style.top=eval(268-mm);
		if(mm>0){noteb.style.zIndex=1400;}
if(mm>153){return cancelBubble=true;}
}
else {
note.style.top='94';
noteb.style.top='124';
noteb.style.zIndex=1400;
}
}


function downnote(){

if(fx==0){

if(mm<212){
mm++;mm++;
setTimeout('downnote()',v);}
note.style.top=eval(83+mm);
noteb.style.top=eval(104+mm);
		if(mm>192){noteb.style.zIndex=1208;}
if(mm>214){return cancelBubble=true;}
}
else {
note.style.top='296';
noteb.style.top='308';
noteb.style.zIndex=1208;
}
}

function upprint(){

if(fx==0){

if(nn<120){
nn++;nn++;
setTimeout('upprint()',v);}
prnt.style.top=eval(245-nn);
prnte.style.top=eval(268-nn);
		if(nn>0){prnte.style.zIndex=1400;}
if(nn>121){return cancelBubble=true;}
}
else {
prnt.style.top='126';
prnte.style.top='156';
prnte.style.zIndex=1400;
}
}


function downprint(){

if(fx==0){

if(nn<216){
nn++;nn++;
setTimeout('downprint()',v);}
prnt.style.top=eval(106+nn);
prnte.style.top=eval(104+nn);
		if(nn>212){prnte.style.zIndex=1208;}
if(nn>217){return cancelBubble=true;}
}
else {
prnt.style.top='324';
prnte.style.top='288';
prnte.style.zIndex=1208;
}
}

