// navigation

fvNav = new Array();
fvNav[0] = "covers.html"
fvNav[1] = "cover_models.html";
fvNav[2] = "models_1.html";
fvNav[3] = "models_hero.html";
fvNav[4] = "models_coathanger.html";
fvNav[5] = "models_nouveau.html";
fvNav[6] = "models_thisyear.html";
fvNav[7] = "models_makeup.html";
fvNav[8] = "models_cycle.html";
fvNav[9] = "models_feral.html";
fvNav[10] = "models_bigger.html";
fvNav[11] = "cover_fashion.html";
fvNav[12] = "fashion_leder.html";
fvNav[13] = "fashion_lures.html";
fvNav[14] = "fashion_undies.html";
fvNav[15] = "fashion_boom.html";
fvNav[16] = "fashion_publicity.html";
fvNav[17] = "fashion_zelda.html";
fvNav[18] = "fashion_shoes.html";
fvNav[19] = "cover_style.html";
fvNav[20] = "style_blunder.html";
fvNav[21] = "style_bossy.html";
fvNav[22] = "style_ludicrous.html";
fvNav[23] = "style_crime.html";
fvNav[24] = "style_warning.html";
fvNav[25] = "style_writers.html";


var theNavArray = fvNav;

function nav(pos){
	var thisPos = parent.POS;
	switch(pos){
		case "+":
			thisPos +=1;
			break;
		case "-":
			thisPos -=1;
			break;
		default:
			thisPos = pos;
	}
	parent.frames[1].location = theNavArray[thisPos];
	var mag=theNavArray[thisPos].substr(0,3);
	headCheck(mag);
	footCheck(thisPos);
	parent.POS = thisPos;
}

function headCheck(mag){
	var head="head.html";
	theLoc = parent.frames[0].document.URL;
	x = theLoc.lastIndexOf("\/")+1;
	curHead = theLoc.substr(x);
	prefix = mag+"_";
	switch(prefix){
		case "mod_":
			break;
		case "fas_":
			break;
		case "sty_":
			break;
		default:
			prefix="";
	}
	if(!(curHead == prefix+"head.html")){	
		parent.frames[0].location=prefix+"head.html";
	}
}

function footCheck(pos){
	theLoc = parent.frames[2].document.URL;
	x = theLoc.lastIndexOf("\/")+1;
	curFoot = theLoc.substr(x);
	if (pos > 0 && pos < theNavArray.length-1){
		foot = "foot_b.html";
	}else{
		if (pos == 0){
			foot = "foot_n.html";
		}else{
			foot = "foot_p.html";
		}
	}
	if (!(foot==curFoot)){
		parent.frames[2].location=foot;
	}
}







