// ロールオーバー
function rollover(img_name, img_file){
	eval("document." + img_name + ".src = '" + img_file + "'");
}

// CLcr バルーン表示・非表示
function show_clcr_balloon() {
	document.getElementById("clcrBalloon").style.display = "block";
}

function hide_clcr_balloon() {
	document.getElementById("clcrBalloon").style.display = "none";
}

// CLcr ポップアップ
function openCLcrWin(theURL) {
  window.open( theURL, 'clcr','width=480,height=570,menubar=no,scrollbars=yes,resizable=yes' );
}

// 作用機序 ポップアップ
function openAMWin(theURL) {
  window.open( theURL, 'am','width=840,height=700,menubar=no,scrollbars=yes,resizable=yes' );
}

// 帯状疱疹について
function openTRWin(theURL) {
  window.open( theURL, 'am','width=840,height=540,menubar=no,scrollbars=yes,resizable=yes' );
}

// 帯状疱疹について
function openMEWin(theURL) {
  window.open( theURL, 'am','width=840,height=600,menubar=no,scrollbars=yes,resizable=yes' );
}

// 帯状疱疹について
function openWEBWin(theURL) {
  window.open( theURL, 'am','width=940,height=600,menubar=no,scrollbars=yes,resizable=yes' );
}

// 「帯状疱疹の最新知見」に関するメディアセミナー
function openMSWin(theURL) {
  window.open( theURL, 'am','width=910,height=609,menubar=no,scrollbars=no,resizable=yes' );
}

// メーリングリスト バルーン表示・非表示
function show_maillist_balloon() {
	document.getElementById("mailListBalloon").style.display = "block";
}

function hide_maillist_balloon() {
	document.getElementById("mailListBalloon").style.display = "none";
}

// メーリングリスト バルーン表示・非表示
function show_maillist2_balloon() {
	document.getElementById("mailList2Balloon").style.display = "block";
}

function hide_maillist2_balloon() {
	document.getElementById("mailList2Balloon").style.display = "none";
}

function lvLoadLinks0301() {
document.getElementById("lvHidden0301").innerHTML = '<a href="dp/02.jpg" class="lightview" rel="gallery[dp01]" title="2. ファムビル錠250mgの特徴（２）">0201</a>';
}

function open_specialities  (evt) {
	evt = (evt) ? evt : event;
	var target = (evt.target) ? evt.target : evt.srcElement;
	var block = document.getElementById('targetTR');

	if (target.checked == true) {
		if (navigator.appName.indexOf("Microsoft") == 0) {
			block.style.display = 'block';
			
		} else {
			block.style.display = 'table-row';
		}
	} else {
		block.style.display = 'none';
	}
}

function close_specialities  (evt) {
	evt = (evt) ? evt : event;
	var target = (evt.target) ? evt.target : evt.srcElement;
	var block = document.getElementById('targetTR');

	if (target.checked == true) {
		block.style.display = 'none';
	}
}

function addBookmark (title, url) {
	if(window.sidebar) {
		window.sidebar.addPanel(title, url, '');
	} else if(document.all) {
		window.external.AddFavorite(url, title);
	} else if(window.opera && window.print) {
		return true;
	}
}

