<!--

/* windowOpen */
function WinOpen(theURL,winName,features) {
	window.open(theURL,winName,features);
}

/* copy */
function CopyText(arg){
var copyText = "business_sales_jp@uvc.sony.co.jp";
clipboardData.setData( "text" , copyText );
}


/* setCookie */
function setCookie(keyname,val){
	expTime = new Date( );
	expTime.setFullYear(expTime.getFullYear( ) + 1);
	expTime = expTime.toGMTString( );
	
	tmp = keyname + "=" + val + ";";
	tmp += "expires=" + expTime + ";";
	tmp += "path=/;";
	document.cookie = tmp;
}

/* getCookie */
function getCookie(keyname){
	tmp = document.cookie + ";";
	index1 = tmp.indexOf(keyname,0);
	if (index1 !=-1){
	tmp = tmp.substring(index1,tmp.length);
	index2 = tmp.indexOf("=",0) + 1;
	index3 = tmp.indexOf(";",index2);
	return(unescape(tmp.substring(index2,index3)));
	}
	return("");
}

var fontsize = getCookie("fontsize");
if (fontsize == ""){setCookie("fontsize","medium");}

/* fontsize */
function changeStyleSheet(title) {
	var i, main;
	main = document.getElementsByTagName("link");
	for(i=0; i<main.length; i++) {
		if(main[i].getAttribute("rel").indexOf("style") != -1 && main[i].getAttribute("title")) {
			main[i].disabled = true;
			if(main[i].getAttribute("title") == title){
				 main[i].disabled = false;
			}
		}
	}
	setCookie("fontsize",title);
}

var fontsize = getCookie("fontsize");
if (fontsize == ""){setCookie("fontsize","medium");}
changeStyleSheet(fontsize);

/* pull down link */
function HRlink(form, sel)
{
	adrs = sel.options[sel.selectedIndex].value;
	if (adrs != "-" ) location.href = adrs;
}
//-->
