
// Window Open
function winOpen( uri , winName, size )
{
	w = window.open( uri , winName , size );
	w.focus();
}

// Window Close
function winClose() {
	window.close();
}


// Window Print
function winPrint() {
	if ( document.getElementById || document.layers ) {
		window.print();
	} else {
		alert( "" );
	}
}

// Vista
function subwin1(){
	window.open("/inquiry/vista/vista.html","win1","width=520,height=500,left=80,top=30,scrollbars=1,status=no,resizable=no,toolbar=no,menubar=no");
}

// Service Category
function winSettlement(){
	window.open("settlement.html","settlement","width=519,height=600,left=0,top=0,scrollbars=yes,status=no,resizable=yes,location=no,menubar=no");
}

function winShopping(){
	window.open("shopping.html","shopping","width=790,height=600,left=0,top=0,scrollbars=yes,status=no,resizable=yes,location=no,menubar=no");
}

// Company Category
function wopen2() {
	window.open(wopen2.arguments[0],wopen2.arguments[1],"toolbar=no,location=no,status=no,directories=no,scrollbars=yes,resizable=no,width=630,height=500") ;
}

// member Menu
function exMenu(tName)
{
  tMenu = document.getElementById(tName).style;
  if (tMenu.display == 'none') tMenu.display = "block"; else tMenu.display = "none";
}

// Mobile Category
function openMailer() {
		user_str = document.mm.user.value;
		if( user_str == '' ) {
			alert( 'メールアドレスを正しく記入してください' );
			return;
		}
		sIndex = document.mm.domain.selectedIndex;			
		domain_str = document.mm.domain.options[sIndex].text;
		strTo = "mailto:" + user_str + "@" + domain_str + "?subject=%83T%81%5B%83N%83%8BK%83T%83%93%83N%83X%8Cg%91%D1%83T%83C%83g&body=http://mobile.circleksunkus.jp/";
		location.href = strTo;
}


