var w = screen.availWidth;
var h = screen.availHeight;

function openSrv(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/service.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/service.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openShuka(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/shuka_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/shuka_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openSai(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/sai_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/sai_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openPc(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/pc_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/pc_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openHatu(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/hatu_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/hatu_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openChaku(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/chaku_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/chaku_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openInji(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/okurijou_inji_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/okurijou_inji_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openGofuzai(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/gofuzai_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/gofuzai_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openC2(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/c2_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/c2_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openTakuhai(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/takuhai_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/takuhai_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openOtodoke(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/otodoke_e-mail_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/otodoke_e-mail_off.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWebsrv(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://9625pc.jp","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://9625pc.jp","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWebsrv2(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/shiftmenu","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/shiftmenu","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWebsrv3(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/remindpage","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/remindpage","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWebsrv_new(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/custtempregpage","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/custtempregpage","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}


function openHoujin_Toi(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://form.kuronekoyamato.co.jp/form/ml/cl/hj/MLCLHJJS0010.jsp","houjin","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://form.kuronekoyamato.co.jp/form/ml/cl/hj/MLCLHJJS0010.jsp","houjin","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}
function openHoujin_Toi2(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://form.kuronekoyamato.co.jp/form/ml/cl/sm/MLCLSMJS0010.jsp","houjin","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://form.kuronekoyamato.co.jp/form/ml/cl/sm/MLCLSMJS0010.jsp","houjin","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openBmy(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://bmypage.kuronekoyamato.co.jp/","bmy","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://bmypage.kuronekoyamato.co.jp/","bmy","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openBotodoke(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/otodoke_email_adv.html","bmy","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/otodoke_email_adv.html","bmy","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWeb_qa(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/faq.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/webservice_guide/faq.html","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWebsrv_top(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/entrance?id=kojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/entrance?id=kojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}



function openWebsrv_top_b(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/entrance?id=hojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/entrance?id=hojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}



function openAuction(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("../../auction/flow.html","auction","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("../../auction/flow.html","auction","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=600,height=650");
	}
}

function openCmpMem(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=b.members2","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=b.members2","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}
function openCmpMem2(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=members2","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=members2","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}
function openCmpMem3(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=b.members3","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=b.members3","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}
function openCmpMem4(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=members3","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/campaign/members/index.html?id=members3","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openWebsrv_new2(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/custtempregpage?id=kojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/custtempregpage?id=kojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}


function openWebsrv_new2_b(){
	if((w <= "640")||(h <= "480")){
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/custtempregpage?id=hojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow2 = window.open("https://cmypage.kuronekoyamato.co.jp/portal/custtempregpage?id=hojintop","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}

function openCmpMem90cp(){
if((w <= "640")||(h <= "480")){
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/90cp/index.html?id=90cp","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=w,height=h");
	}
	else{
	newWindow1 = window.open("http://www.kuronekoyamato.co.jp/90cp/index.html?id=90cp","cmypage","toolbar=no,directories=no,location=yes,status=yes,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=850,height=650");
	}
}


