
//pupup

function popDesign(){
window.open('pop_design.html','NewWin','scrollbars=auto,resizable=yes,menubar=no,width=800,height=620');
}

function popInterview(){
window.open('pop_interview.html','NewWin','scrollbars=yes,resizable=yes,menubar=yes,width=800,height=620');
}

function popDynaPix(){
window.open('pop_dynapix.html','NewWindow','scrollbars=yes,resizable=yes,menubar=yes,width=750,height=640');
}

function popMaxxAudio(){
window.open('pop_maxxaudio.html','NewWindow','scrollbars=no,resizable=yes,menubar=yes,width=360,height=330');
}

function popWindow(openMe) {
pop=window.open(openMe,'popUpWindow','width=556,height=640,resizable=1,scrollbars=1,menubar=1');
}



//close window
function closeWindow(){
if (opener && !opener.closed) {window.close();}
else {location.href = 'lineup.html';}
}

function closeWindow02(){
if (opener && !opener.closed) {window.close();}
else {location.href = 'feat3.html';}
}

function closeWindow04(){
if (opener && !opener.closed) {window.close();}
else {location.href = 'feat4.html';}
}

function closeWinDesign(){
if (opener && !opener.closed) {window.close();}
else {location.href = 'index.html';}
}




//main window control

var mWin = null;

function chgMainWindow(url)
{
	if((opener == null) || (opener.closed == true)){
		if((mWin == null) || (mWin.closed == true)){
			mWin = window.open(url, "", "toolbar=1, location=1, menubar=1, status=1, resizable=1, scrollbars=1");
		}else{
			mWin.location.href = url;
		}
		mWin.focus();
	}else{
		opener.location.href = url;
		opener.focus();
	}
}

