function CSSWrite()
{
document.write('<META HTTP-EQUIV="Pragma" CONTENT="no-cache"><META NAME ="keywords" CONTENT="guitar, guitarra, music, classical, china"><META NAME="description" CONTENT="This is a Web Site about classical guitar."><META name="AUTHOR" content="cguitar,cguitar@yeah.net"><style type="text/css">.outside {  background-image: url(/images/background.gif); background-repeat: no-repeat}</style><link rel="stylesheet" href="style.css"><center>')
}

function BottomWrite()
{
document.write('<table border="0" width="760" cellspacing="0" cellpadding="0"><tr><td width="760" bgcolor="#ffca64" height="1"></td></tr><tr><td width="760"></td></tr><tr><td width="100%" bgcolor="#ffca64" height="1"></td></tr><tr><td width="760" height="1"></td></tr><tr><td width="760"  height="1" class=t3><p align="center" class=t3><font face="Arial, Helvetica, sans-serif">Copyright @ 1998-2009 Classical Guitar Village</font><br>[<a href="http://www.cguitar.net/contact/" target="_blank"><font color=#996633>古典吉他村</font></a>] 版权所有 <font face="Arial, Helvetica, sans-serif">1997-2009</font></td></tr></table>')
}

function MenuWrite()
{
document.write('</td><td valign=bottom width=110 class=blue><!--<a href=/ads/feiyin/ target=_blank>南京飞音琴行</a><br><a href=/ads/savarez/ target=_blank>法国Savarez琴弦</a><br><a href=/ads/XianDai/ target=_blank>北京现代乐器行</a>--></td></tr><tr><td colspan="3" height="6"></td></tr></table><table border="0" width="760" cellspacing="1"><tr><td width="100%" colspan="2"><MAP NAME="FrontPageMap0"><area shape="rect" coords="31,1,63,19" href="/index.php" alt="古典吉他村网站首页"><area shape="rect" coords="77,1,112,20" href="/news/" alt="新闻/网站活动/音乐会"><area shape="rect" coords="125,0,170,21" href="/guitarist/" alt="吉他演奏家介绍"><area shape="rect" coords="185,1,231,19" href="/Composer/" alt="吉他作曲家介绍">  <area shape="rect" coords="243,0,290,21" href="/Luthier/" alt="吉他制作家介绍"><area shape="rect" coords="304,1,336,21" href="/study/" alt="吉他教学/教育家介绍"><area shape="rect" coords="350,0,384,21" href="/forum2/" target="_blank" alt="古典吉他村论坛！"><area shape="rect" coords="396,0,457,20" href="/forumcollection/" alt="古典吉他村论坛精选"><area shape="rect" coords="469,1,503,20" href="/cd/" alt="吉他唱片介绍"><area shape="rect" coords="518,0,550,20" href="/songs/" alt="乐曲介绍/曲谱下载/mp3下载"><area shape="rect" coords="562,1,597,21" href="/data/" alt="文字/图片资料"><area shape="rect" coords="610,0,657,19" href="/supply2/" alt="古典吉他村服务社">  <area shape="rect" coords="669,1,748,19" href="/contact/" alt="与我们联系"></map><img src="/images/list.gif" width="758" height="21" border="0" usemap="#FrontPageMap0"></td></tr></table>')}

function MenuWrite01() { MenuWrite(); }

function MenuWrite02o()
{
document.write('</td><td valign=bottom width=110 class=blue><!--<a href=/ads/feiyin/ target=_blank>南京飞音琴行</a><br><a href=/ads/savarez/ target=_blank>法国Savarez琴弦</a><br><a href=/ads/XianDai/ target=_blank>北京现代乐器行</a>--></td></tr></table><table border="0" width="760" cellspacing="1"><tr><td width="100%" colspan="2"><MAP NAME="FrontPageMap0"><area shape="rect" coords="31,1,63,19" href="/index.php" alt="古典吉他村网站首页"><area shape="rect" coords="77,1,112,20" href="/news/" alt="新闻/网站活动/音乐会"><area shape="rect" coords="125,0,170,21" href="/guitarist/" alt="吉他演奏家介绍"><area shape="rect" coords="185,1,231,19" href="/Composer/" alt="吉他作曲家介绍">  <area shape="rect" coords="243,0,290,21" href="/Luthier/" alt="吉他制作家介绍"><area shape="rect" coords="304,1,336,21" href="/study/" alt="吉他教学/教育家介绍"><area shape="rect" coords="350,0,384,21" href="/forum2/" target="_blank" alt="古典吉他村论坛！"><area shape="rect" coords="396,0,457,20" href="/forumcollection/" alt="古典吉他村论坛精选"><area shape="rect" coords="469,1,503,20" href="/cd/" alt="吉他唱片介绍"><area shape="rect" coords="518,0,550,20" href="/songs/" alt="乐曲介绍/曲谱下载/mp3下载"><area shape="rect" coords="562,1,597,21" href="/data/" alt="文字/图片资料"><area shape="rect" coords="610,0,657,19" href="/supply2/" alt="古典吉他村服务社">  <area shape="rect" coords="669,1,748,19" href="/contact/" alt="与我们联系"></map><img src="/images/list.gif" width="758" height="21" border="0" usemap="#FrontPageMap0"></td></tr></table><table border="0" width="760"><tr><td width=8></td><td>')
}

function MenuWrite02() { MenuWrite(); }

function MenuWrite03o()
{
document.write('</td><td valign=bottom width=110 class=blue><!--<a href=/ads/feiyin/ target=_blank>南京飞音琴行</a><br><a href=/ads/savarez/ target=_blank>法国Savarez琴弦</a><br><a href=/ads/XianDai/ target=_blank>北京现代乐器行</a>--></td></tr></table><table border="0" width="760" cellspacing="1"><tr><td width="100%" colspan="2"><MAP NAME="FrontPageMap0"><area shape="rect" coords="31,1,63,19" href="/" alt="古典吉他村网站首页"><area shape="rect" coords="77,1,112,20" href="/news/" alt="新闻/网站活动/音乐会"><area shape="rect" coords="125,0,170,21" href="/guitarist/" alt="吉他演奏家介绍"><area shape="rect" coords="185,1,231,19" href="/Composer/" alt="吉他作曲家介绍">  <area shape="rect" coords="243,0,290,21" href="/Luthier/" alt="吉他制作家介绍"><area shape="rect" coords="304,1,336,21" href="/study/" alt="吉他教学/教育家介绍"><area shape="rect" coords="350,0,384,21" href="/forum2/" target="_blank" alt="古典吉他村论坛！"><area shape="rect" coords="396,0,457,20" href="/forumcollection/" alt="古典吉他村论坛精选"><area shape="rect" coords="469,1,503,20" href="/cd/" alt="吉他唱片介绍"><area shape="rect" coords="518,0,550,20" href="/songs/" alt="乐曲介绍/曲谱下载/mp3下载"><area shape="rect" coords="562,1,597,21" href="/data/" alt="文字/图片资料"><area shape="rect" coords="610,0,657,19" href="/supply2/" alt="古典吉他村服务社">  <area shape="rect" coords="669,1,748,19" href="/contact/" alt="与我们联系"></map><img src="/images/list.gif" width="758" height="21" border="0" usemap="#FrontPageMap0"></td></tr></table><table border="0" width="760"><tr><td width=8></td><td>')
}

function MenuWrite03() { MenuWrite(); }

function MenuWrite04() { MenuWrite(); }

function TitleWrite()
{
document.write('<table border="0" width="760"><tr><td colspan="3" height="8"></td></tr><tr><td width="175" align=right valign=bottom><img src="/images/logo_title.gif" width="149" height="45"></td><td width="475" valign="bottom" align=left>')
}

function TitleWrite01() { TitleWrite(); }
function TitleWrite02() { TitleWrite(); }
function TitleWrite03() { TitleWrite(); }
function TitleWrite04() { TitleWrite(); }

function forumopen(){window.open("http://my.ziqu.com/bbs/665062/","","width=800 height=600 toolbar=no,status=yes");}

 
  function person_write() {          
  }                           
  
  function guitarist_write() {
  document.write('')
  }
  
  function cd_write() {
  document.write('<table><tr><td>&nbsp;&nbsp;<a href="/supply2/cd/">订购唱片</a><br>&nbsp;&nbsp;<a href="javascript: fRecommendPage()"><font color=#996633><font face=Arial>@</font> 将本页推荐给朋友</font></a></td></tr></table>')
  }
  
  function composer_write() {
  document.write('')
  }

  function study_write() {
  document.write('')
  }

  function songs_write() {
  document.write('')
  }

  function supply_write() {
  document.write('')
  }
  
  function flamenco_write() {
  document.write('')
  }

  function luthier_write() {
  document.write('')
  }
  
  function data_write() {
  document.write('')
  }

function fRecommendPage() {
    var h = "/utility/recommendPage/index.php?url=" + location.href;
	window.open(h, "", "width=310 height=250");
}

function FrontShow()  
{
	now = new Date()
	x=now.getSeconds()
	y=now.getHours()
	if (x<30) 
	{
	document.write('<tr><td height=74 valign=middle align=center><a href="/supply2/show.php?vLookFor=Search&vSearch=delos"><img src="/cd/Delos/de3205/images/de3205_first.jpg" border=0 width=80 height=80></a></td></tr><tr><td align=center><font color="#996633">为了上帝的喜悦<br>(洛杉矶吉他四重奏)</font></td></tr>') 
	}
//	else if (x<30) 
//	{
//	document.write('<tr><td height=74 valign=middle align=center><a href="/supply2/show.php?vLookFor=Search&vSearch=delos"><img src="/cd/Delos/de3132/images/de3132_first.jpg" border=0 width=80 height=80></a></td></tr><tr><td align=center><font color="#996633">舞曲－－从文艺复兴到胡桃夹子<br>(洛杉矶吉他四重奏)</font></td></tr>') 
//	}
	else if (x<45) 
	{
	document.write('<tr><td height=74 valign=middle align=center><a href="/supply2/show.php?vLookFor=Search&vSearch=delos"><img src="/cd/Delos/de1004/images/de1004_first.jpg" border=0 width=80 height=80></a></td></tr><tr><td align=center><font color="#996633">吉他音乐之夜<br>(塞利迪尼奥·罗梅罗)</font></td></tr>') 
	}
	else if (x<61) 
	{
	document.write('<tr><td height=74 valign=middle align=center><a href="/supply2/show.php?vLookFor=Search&vSearch=delos"><img src="/cd/Delos/de1005/images/de1005_first.jpg" border=0 width=80 height=80></a></td></tr><tr><td align=center><font color="#996633">塞利迪尼奥·罗梅罗演奏<br>巴赫、桑斯的音乐</font></td></tr>') 
	}
	else if (x<30) 
	{
	document.write('<tr><td height=74 valign=middle align=center><a href="/supply2/show.php?vLookFor=Search&vSearch=naxos"><img src="/supply2/photos/naxoscd.jpg" border=0 width=138 height=100></a></td></tr><tr><td align=center><font color="#996633">名家名作 超值收藏</font></td></tr>') 
	}
	else 
	{
	document.write('<tr><td height=74 valign=middle align=center><a href="/supply2/show.php?vLookFor=Search&vSearch=阿兰胡埃斯"><img src="/supply2/photos/rodrigocd" border=0 width=130 height=110 class=border></a></td></tr><tr><td align=center><font color="#996633">经典版本 一网打尽</font></td></tr>') 
	}
}


function popimage(imageName,imageWidth,imageHeight) 
{
	var adj=10
	var w = screen.width;
	var h = screen.height;
	var byFactor=1;

	if(w<740){
	  var lift=0.90;
	}
	if(w>=740 & w<835){
	  var lift=0.91;
	}
	if(w>=835){
	  var lift=0.93;
	}
	if (imageWidth>w){	
	  byFactor = w / imageWidth;			
	  imageWidth = w;
	  imageHeight = imageHeight * byFactor;
	}
	if (imageHeight>h-adj){
	  byFactor = h / imageHeight;
	  imageWidth = (imageWidth * byFactor);
	  imageHeight = h; 
	}
	   
	var scrWidth = w-adj;
	var scrHeight = (h*lift)-adj;

	if (imageHeight>scrHeight)
	{
  		imageHeight=imageHeight*lift;
		imageWidth=imageWidth*lift;
	}

	var posLeft=0;
	var posTop=0;
    var hugMargin=0;

	var scrHeightTemp = imageHeight;
	if (scrHeightTemp < scrHeight) 
	{
		scrHeight = scrHeightTemp;
	} 
	var scrWidthTemp = imageWidth;
	if (scrWidthTemp < scrWidth) 
	{
		scrWidth = scrWidthTemp;
	}
	  
	if (scrHeight<100)
		{scrHeight=100;}
	if (scrWidth<100)
		{scrWidth=100;}

	posTop =  ((h-(scrHeight/lift)-adj)/2);
	posLeft = ((w-(scrWidth)-adj)/2);


	if (imageHeight > (h*lift)-adj || imageWidth > w-adj)
	{
		imageHeight=imageHeight-adj;
		imageWidth=imageWidth-adj;
	}

	var agt=navigator.userAgent.toLowerCase(); 
	var is_opera = (agt.indexOf("opera") != -1); 

	if (is_opera == true)
	{
		var args= new Array();
		args[0]='parent';
		args[1]=imageName;
		var i ; document.MM_returnValue = false;
		for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
	} 
	else 
	{
		newWindow = window.open("/utility/popimage/pop.htm","newWindow","width="+scrWidth+",height="+scrHeight+",left="+posLeft+",top="+posTop);
		newWindow.document.write('<html><meta http-equiv="content-type" content="text/html; charset=gb2312"><title>* * 单击图片关闭窗口 * *</title><body leftmargin="0" topmargin="0" marginheight="0" marginwidth="0" onClick="self.close()">');  
		newWindow.document.write('<table width='+imageWidth+' border="0" cellspacing="0" cellpadding="0" align="center" height='+scrHeight+' ><tr><td>');
		newWindow.document.write('<img src="'+imageName+'" width='+imageWidth+' height='+imageHeight+' alt="单击图片关闭本窗口" >'); 
		newWindow.document.write('</td></tr></table></body></html>');
		newWindow.document.close();
		newWindow.focus();
	}
}
