
var v1 = "yoshiart.com"
var v2= v1.substring(6,8)
var docElement = false

function o(){
(v2=="rt")?docElement=true:!docElement;
}o();

function ShowHide(id) {
   if ( docElement ) {
	if( document.getElementsByName )
	{
		var divs = document.getElementsByName( id );
		if( divs && divs.length > 0 )
		{
			for( i=0;i<divs.length;i++ )
			{
				if ( divs[i].style.display == "none" )
				{
					divs[i].style.display = "block";
				}
				else
				{
					divs[i].style.display = "none"
				}
			}
		}
	}
}
}

function rollon(a) {
	a.style.backgroundColor='#545454';
	a.style.cursor = 'hand';
	a.style.cursor = 'pointer';
}

function rollon2(a) {
	a.style.backgroundColor='transparent';
	a.style.cursor = 'hand';
	a.style.cursor = 'pointer';
}

function rolloff(a) {
	a.style.backgroundColor='#292929';
}



function esrd2() {
	var ersd=window.screen.width +"x"+ window.screen.height;
	alert("Your current resolution is "+ersd+".")
}


function questions(v3,v4) {
	winname = ('window'+Math.round(Math.random()*100));
	info = window.open('',winname,'toolbar=no,location=no,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=450,height=140');
	info.self.moveTo(50,190);
	info.document.write('<html>\n<head>\n<title>Details</title>\n\n<style type="text/css">\n<!-- \n\nbody {border: 0px; background-color: menu; color: menutext; font-family: Ms Sans Serif; font-size: 8pt}\n.tables {border: 0px; background-color: menu; color: menutext; font-family: Ms Sans Serif; font-size: 8pt}\n.sysbutton {width: 95; height: 23; font-family: Ms Sans Serif; font-size: 8pt; color: menutext; background-color: menu}\n\n -->\n</style>\n\n</head>\n<body oncontextmenu="return false" onselectstart="return false" ondragstart="return false" topmargin=0>\n\n')
	info.document.write('<table height=130 border=0 cellpadding=3 cellspacing=0 class="tables">\n <tr>\n  <td valign=center><font size=4>'+v3+'</font></td>\n </tr>\n <tr>\n  <td align=center valign=center>'+v4+'</td>\n </tr>\n <tr>\n  <td height=35 align=center valign=center>\n  <input type="submit" value="OK" onClick="window.close()" class="sysbutton">\n  </td>\n </tr>\n</table>\n\n</body>\n</html>\n');
}


function bookmark(anchor) {
	if(window.external) {
		window.external.AddFavorite(anchor.getAttribute('href'), anchor.getAttribute('title'));
		return false;
	}
	return true;
}


function showjournal() {
if (confirm("This journal may contain words that are not suitable for all audiences. Children aged 12 and under should not enter this webpage. Would you like to continue?")) {
window.location="journal.php"
}
}
