var rootURL = 'http://www.sakura-is.co.jp/saiyo/';
//var rootURL = 'http://cp06100/SIS_www2/saiyo/';

function GoEntry(){
	MM_openBrWindow(rootURL + 'isms/SRIS_0101.htm','','scrollbars=yes,resizable=yes,width=640,height=420')
}


function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}



function ChgCss(){
	if(self.name=='print'){
		document.getElementById('stylesheet').href=rootURL + 'common/print.css';
		//print();
	}
}
function OpenPrintWin(){
	printWin = window.open(location,'print','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes');
}

function CloseWin(){
	window.close();
}
function openWin(url,id,w,h) {
	opt = 'width='+w+',height='+h+',scrollbars=yes,resizable=yes';
	newWin = window.open(url,id,opt);	
}

window.focus();

var ua = navigator.userAgent.toUpperCase();

function parentOpen(url) {
	try {
		 window.opener.location.href = url;
	} catch (e) {
		 window.open(url, 'popup');
	}
}

var parent = null;
function parentLnk(url) {
	try {
		window.opener.location.href = url;
	} catch (e1) {
		try {
			parent.location.href = url;
		} catch (e2) {
			 parent = window.open(url);
		}
	}
}
