// toolbar


// ################### ON
function motion_on(){
	location.href = 'motion_on.html';

	threeD_off();
	illustration_off();
	web_off();
	thebook_off();
}

function threeD_on(){
	location.href = '3D_on.html';

	motion_off();
	illustration_off();
	web_off();
	thebook_off();
}

function illustration_on(){
	location.href = 'illustration_on.html';

	motion_off();
	threeD_off();
	web_off();
	thebook_off();
}

function web_on(){
	location.href = 'web_on.html';

	motion_off();
	threeD_off();
	illustration_off();
	thebook_off();
}

function thebook_on(){
	location.href = 'thebook_on.html';

	motion_off();
	threeD_off();
	illustration_off();
	web_off();
}





// ################### OFF
function motion_off(){
	if (ie){
		top.frames.head.toolbar['motion'].location.href='motion.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.motion.location.href='motion.html';
		//window.alert('Moz!');
	}
}

function threeD_off(){
	if (ie){
		top.frames.head.toolbar['threeD'].location.href='3D.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.threeD.location.href='3D.html';
		//window.alert('Moz!');
	}
}

function illustration_off(){
	if (ie){
		top.frames.head.toolbar['illustration'].location.href='illustration.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.illustration.location.href='illustration.html';
		//window.alert('Moz!');
	}
}

function web_off(){
	if (ie){
		top.frames.head.toolbar['web'].location.href='web.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.web.location.href='web.html';
		//window.alert('Moz!');
	}
}

function thebook_off(){
	if (ie){
		top.frames.head.toolbar['thebook'].location.href='thebook.html';
	}
	else if (dom){
		top.head.toolbar.thebook.location.href='thebook.html';
		//window.alert('Moz!');
	}
}













// ################################################
// news link utilities
// ################################################
function Nillustration_on(){
	if (ie){
		top.frames.head.toolbar['illustration'].location.href='../rel.3/toolbar/illustration_on.html';
		top.frames.head['cover'].location.href='../rel.3/illustration.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.illustration.location.href='../rel.3/toolbar/illustration_on.html';
		top.head.cover.location.href='../rel.3/illustration.html';
		//window.alert('Moz!');
	}


	Nmotion_off();
	NthreeD_off();
	Nweb_off();
	Nthebook_off();
}

function NthreeD_on(){
	if (ie){
		top.frames.head.toolbar['threeD'].location.href='../rel.3/toolbar/3D_on.html';
		top.frames.head['cover'].location.href='../rel.3/threeD.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.threeD.location.href='../rel.3/toolbar/3D_on.html';
		top.head.cover.location.href='../rel.3/threeD.html';
		//window.alert('Moz!');
	}


	Nmotion_off();
	Nillustration_off();
	Nweb_off();
	Nthebook_off();
}

function Nmotion_on(){
	if (ie){
		top.frames.head.toolbar['motion'].location.href='../rel.3/toolbar/motion_on.html';
		top.frames.head['cover'].location.href='../rel.3/motion.html';
		top.frames['contents'].location.href='../rel.3/motion/NPB_portfolio.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.motion.location.href='../rel.3/toolbar/motion_on.html';
		top.head.cover.location.href='../rel.3/motion.html';
		top.contents.location.href='../rel.3/motion/NPB_portfolio.html';
		//window.alert('Moz!');
	}


	NthreeD_off();
	Nillustration_off();
	Nweb_off();
	Nthebook_off();
}

function Nmotion_onGlobal(){
	if (ie){
		top.frames.head.toolbar['motion'].location.href='../rel.3/toolbar/motion_on.html';
		top.frames.head['cover'].location.href='../rel.3/motion.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.motion.location.href='../rel.3/toolbar/motion_on.html';
		top.head.cover.location.href='../rel.3/motion.html';
		//window.alert('Moz!');
	}


	NthreeD_off();
	Nillustration_off();
	Nweb_off();
	Nthebook_off();
}

function Nmotion_off(){
	if (ie){
		top.frames.head.toolbar['motion'].location.href='../rel.3/toolbar/motion.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.motion.location.href='../rel.3/toolbar/motion.html';
		//window.alert('Moz!');
	}
}

function NthreeD_off(){
	if (ie){
		top.frames.head.toolbar['threeD'].location.href='../rel.3/toolbar/3D.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.threeD.location.href='../rel.3/toolbar/3D.html';
		//window.alert('Moz!');
	}
}

function Nillustration_off(){
	if (ie){
		top.frames.head.toolbar['illustration'].location.href='../rel.3/toolbar/illustration.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.illustration.location.href='../rel.3/toolbar/illustration.html';
		//window.alert('Moz!');
	}
}

function Nweb_off(){
	if (ie){
		top.frames.head.toolbar['web'].location.href='../rel.3/toolbar/web.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.web.location.href='../rel.3/toolbar/web.html';
		//window.alert('Moz!');
	}
}

function Nthebook_off(){
	if (ie){
		top.frames.head.toolbar['thebook'].location.href='../rel.3/toolbar/thebook.html';
	}
	else if (dom){
		top.head.toolbar.thebook.location.href='../rel.3/toolbar/thebook.html';
		//window.alert('Moz!');
	}
}

function toggleToolbar(){
	Hillustration_off();
	Hmotion_off();
	HthreeD_off();
	Hweb_off();
	Hthebook_off();
}


function Hmotion_off(){
	if (ie){
		top.frames.head.toolbar['motion'].location.href='./rel.3/toolbar/motion.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.motion.location.href='./rel.3/toolbar/motion.html';
		//window.alert('Moz!');
	}
}

function HthreeD_off(){
	if (ie){
		top.frames.head.toolbar['threeD'].location.href='./rel.3/toolbar/3D.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.threeD.location.href='./rel.3/toolbar/3D.html';
		//window.alert('Moz!');
	}
}

function Hillustration_off(){
	if (ie){
		top.frames.head.toolbar['illustration'].location.href='./rel.3/toolbar/illustration.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.illustration.location.href='./rel.3/toolbar/illustration.html';
		//window.alert('Moz!');
	}
}

function Hweb_off(){
	if (ie){
		top.frames.head.toolbar['web'].location.href='./rel.3/toolbar/web.html';
		//window.alert('Explorer!');
	}
	else if (dom){
		top.head.toolbar.web.location.href='./rel.3/toolbar/web.html';
		//window.alert('Moz!');
	}
}

function Hthebook_off(){
	if (ie){
		top.frames.head.toolbar['thebook'].location.href='./rel.3/toolbar/thebook.html';
	}
	else if (dom){
		top.head.toolbar.thebook.location.href='./rel.3/toolbar/thebook.html';
		//window.alert('Moz!');
	}
}