function copyright(){
	document.write("<br />"+"Copyright(C) 2008 <a href=\"http://www.clone2go.com\">CLONE2GO.COM</a>. All rights reserved."+"<br /><br />");
	}
function title(title)
{
	document.write("<title>"+"clone2go - "+title+"</title>");
	}
function height2div()
{
	var a=document.getElementById("leftcontent")
	var b=document.getElementById("rightcontent")
	if (a.scrollHeight<b.scrollHeight)
	{
		 a.style.height=b.scrollHeight+"px";  //我在实际操作中因为左边有最小高度，所以此处设定成了固定值。
	}
	else
	{
		 b.style.height=a.scrollHeight+"px"; 
	 }
}
function changeheight(vheight)
{
	document.getElementById("leftcontent").style.height=vheight+"px";
	height2div();
}
function changeheight2(vheight)
{
	document.getElementById("leftcontent").style.height=vheight+"px";
	document.getElementById("rightcontent").style.height=vheight+"px";
}

//------------------------------------price start---------------------
var macdvdripper="$39.95";
var dvdripper="$39.95";
var videoconverter="$29.95";
var dvd2ipod="$29.95";
var dvd2iphone="$29.95";
var dvd2psp="$29.95";
var dvd2zune="$29.95";
var dvd2blackberry="$29.95";
var dvd2nokia="$29.95";
var dvd2mp4="$29.95";
var dvd2appletv="$29.95";
var dvd23gp="$29.95";
var dvd2pocketpc="$29.95";
var dvd2mobilephone="$29.95";
var macdvdripperspecial="$34.95";
var dvdripperspecial="$34.95";
var videoconverterspecial="$24.95";

var video2ipod="$24.95";
var video2iphone="$24.95";
var video2psp="$24.95";
var video2zune="$24.95";
var video2blackberry="$24.95";
var video2nokia="$24.95";
var video2mp4="$24.95";
var video2appletv="$24.95";
var video23gp="$24.95";
var video2pocketpc="$24.95";
var video2mobilephone="$24.95";

var youtubedownloader="Free";
var audioconverter="Free";
var macyoutubedownloader="Free";

var macvideoconverter="$29.95";
var macdvdtoipod="$29.95";
var macdvdtoiphone="$29.95";
var macdvdtoblackberry="$29.95";
var macdvdtomp4="$29.95";
var macdvdtomobilephone="$29.95";
var macdvdtopsp="$29.95";



function price(productName)
{
	if(productName=="dvdripper")
	{
		document.write(dvdripper);
		}else if(productName=="videoconverter"){
			document.write(videoconverter);
		//-------------------dvd------------------
		}else if(productName=="macdvdripper"){
			document.write(macdvdripper);
		}else if(productName=="dvd2ipod"){
			document.write(dvd2ipod);
		}else if(productName=="dvd2iphone"){
			document.write(dvd2iphone);
		}else if(productName=="dvd2psp"){
			document.write(dvd2psp);
		}else if(productName=="dvd2zune"){
			document.write(dvd2zune);
		}else if(productName=="dvd2blackberry"){
			document.write(dvd2blackberry);
		}else if(productName=="dvd2nokia"){
			document.write(dvd2nokia);
		}else if(productName=="dvd2mp4"){
			document.write(dvd2mp4);
		}else if(productName=="dvd2appletv"){
			document.write(dvd2appletv);
		}else if(productName=="dvd23gp"){
			document.write(dvd23gp);
		}else if(productName=="dvd2pocketpc"){
			document.write(dvd2pocketpc);
		}else if(productName=="dvd2mobilephone"){
			document.write(dvd2mobilephone);
		//-------------------video------------------
		}else if(productName=="video2ipod"){
			document.write(video2ipod);
		}else if(productName=="video2iphone"){
			document.write(video2iphone);
		}else if(productName=="video2psp"){
			document.write(video2psp);
		}else if(productName=="video2zune"){
			document.write(video2zune);
		}else if(productName=="video2blackberry"){
			document.write(video2blackberry)
		}else if(productName=="video2nokia"){
			document.write(video2nokia);
		}else if(productName=="video2mp4"){
			document.write(video2mp4);
		}else if(productName=="video2appletv"){
			document.write(video2appletv);
		}else if(productName=="video23gp"){
			document.write(video23gp);
		}else if(productName=="video2pocketpc"){
			document.write(video2pocketpc);
		}else if(productName=="video2mobilephone"){
			document.write(video2mobilephone);
		//-------------------order------------------
		}else if(productName=="youtubedownloader"){
			document.write(youtubedownloader);
		}else if(productName=="audioconverter"){
			document.write(audioconverter);
		}else if(productName=="macdvdripperspecial"){
			document.write(macdvdripperspecial);
		}else if(productName=="dvdripperspecial"){
			document.write(dvdripperspecial);
		}else if(productName=="videoconverterspecial"){
			document.write(videoconverterspecial);
		}else if (productName=="macyoutubedownloader"){
			document.write(macyoutubedownloader);
		}else if (productName=="macvideoconverter"){
			document.write(macvideoconverter);
		}else if (productName=="macdvdtoipod"){
			document.write(macdvdtoipod);
		}else if (productName=="macdvdtoiphone"){
			document.write(macdvdtoiphone);
		}else if (productName=="macdvdtoblackberry"){
			document.write(macdvdtoblackberry);
		}else if (productName=="macdvdtomp4"){
			document.write(macdvdtomp4);
		}else if (productName=="macdvdtomobilephone"){
			document.write(macdvdtomobilephone);
		}else if (productName=="macdvdtopsp"){
			document.write(macdvdtopsp);
		}
}

//-------------------------download software------------------------------
var url="../down/"
var soft_macdvdripper="clone2go-dvd-ripper-mac-intel.dmg";
var soft_dvdripper="dvd-ripper-setup.exe";
var soft_freevideo="video-converter-free-setup.exe";
var soft_videoconverter="video-converter-setup.exe";
var soft_dvd2ipod="dvd-to-ipod-setup.exe";
var soft_dvd2iPhone="dvd-to-iphone-setup.exe";
var soft_dvd2psp="dvd-to-psp-setup.exe";
var soft_dvd2zune="dvd-to-zune-setup.exe";
var soft_dvd2blackberry="dvd-to-blackberry-setup.exe";
var soft_dvd2nokia="dvd-to-nokia-setup.exe";
var soft_dvd2mp4="dvd-to-mp4-setup.exe";
var soft_dvd2appletv="dvd-to-appletv-setup.exe";
var soft_dvd23gp="dvd-to-3gp-setup.exe";
var soft_dvd2pocketpc="dvd-to-pocketpc-setup.exe";
var soft_dvd2mobilephone="dvd-to-mobilephone-setup.exe";

var soft_video2ipod="video-to-ipod-setup.exe";
var soft_video2iPhone="video-to-iphone-setup.exe";
var soft_video2psp="video-to-psp-setup.exe";
var soft_video2zune="video-to-zune-setup.exe";
var soft_video2blackberry="video-to-blackberry-setup.exe";
var soft_video2nokia="video-to-nokia-setup.exe";
var soft_video2mp4="video-to-mp4-setup.exe";
var soft_video2appletv="video-to-appletv-setup.exe";
var soft_video23gp="video-to-3gp-setup.exe";
var soft_video2pocketpc="video-to-pocketpc-setup.exe";
var soft_video2mobilephone="video-to-mobilephone-setup.exe";

var soft_youtubedownloader="youtube-downloader-free-setup.exe";
var soft_audioconverter="audio-converter-free-setup.exe";
var soft_macyoutubedownloader="clone2go-youtube-downloader-mac-intel.dmg";

var soft_macvideoconverter="clone2go-video-converter-mac-intel.dmg";
var soft_macdvdtoipod="clone2go-dvd-to-ipod-mac-intel.dmg";
var soft_macdvdtoiphone="clone2go-dvd-to-iphone-mac-intel.dmg";
var soft_macdvdtoblackberry="clone2go-dvd-to-blackberry-mac-intel.dmg";
var soft_macdvdtomp4="clone2go-dvd-to-mp4-mac-intel.dmg";
var soft_macdvdtomobilephone="clone2go-dvd-to-mobilephone-mac-intel.dmg";
var soft_macdvdtopsp="clone2go-dvd-to-psp-mac-intel.dmg";

function down(softName)
{
	if(softName=="dvdripper")
	{
		window.location=url+soft_dvdripper;
		}else if(softName=="videoconverter"){
			window.location=url+soft_videoconverter;
		}else if(softName=="macdvdripper"){
			window.location=url+soft_macdvdripper;
		}else if(softName=="freevideo"){
			window.location=url+soft_freevideo;
		}else if(softName=="dvd2ipod"){
			window.location=url+soft_dvd2ipod;
		}else if(softName=="dvd2iphone"){
			window.location=url+soft_dvd2iPhone;
		}else if(softName=="dvd2psp"){
			window.location=url+soft_dvd2psp;
		}else if(softName=="dvd2zune"){
			window.location=url+soft_dvd2zune;
		}else if(softName=="dvd2blackberry"){
			window.location=url+soft_dvd2blackberry;
		}else if(softName=="dvd2nokia"){
			window.location=url+soft_dvd2nokia;
		}else if(softName=="dvd2mp4"){
			window.location=url+soft_dvd2mp4;
		}else if(softName=="dvd2appletv"){
			window.location=url+soft_dvd2appletv;
		}else if(softName=="dvd23gp"){
			window.location=url+soft_dvd23gp;
		}else if(softName=="dvd2pocketpc"){
			window.location=url+soft_dvd2pocketpc;
		}else if(softName=="dvd2mobilephone"){
			window.location=url+soft_dvd2mobilephone;
			
		}else if(softName=="video2ipod"){
			window.location=url+soft_video2ipod;
		}else if(softName=="video2iphone"){
			window.location=url+soft_video2iPhone;
		}else if(softName=="video2psp"){
			window.location=url+soft_video2psp;
		}else if(softName=="video2zune"){
			window.location=url+soft_video2zune;
		}else if(softName=="video2blackberry"){
			window.location=url+soft_video2blackberry;
		}else if(softName=="video2nokia"){
			window.location=url+soft_video2nokia;
		}else if(softName=="video2mp4"){
			window.location=url+soft_video2mp4;
		}else if(softName=="video2appletv"){
			window.location=url+soft_video2appletv;
		}else if(softName=="video23gp"){
			window.location=url+soft_video23gp;
		}else if(softName=="video2pocketpc"){
			window.location=url+soft_video2pocketpc;
		}else if(softName=="video2mobilephone"){
			window.location=url+soft_video2mobilephone;
			
		}else if(softName=="youtubedownloader"){
			window.location=url+soft_youtubedownloader;
		}else if(softName=="audioconverter"){
			window.location=url+soft_audioconverter;
		}else if(softName=="macyoutubedownloader"){
			window.location=url+soft_macyoutubedownloader;
		}else if(softName=="macvideoconverter"){
			window.location=url+soft_macvideoconverter;
		}else if(softName=="macdvdtoipod"){
			window.location=url+soft_macdvdtoipod;
		}else if(softName=="macdvdtoiphone"){
			window.location=url+soft_macdvdtoiphone;
		}else if(softName=="macdvdtoblackberry"){
			window.location=url+soft_macdvdtoblackberry;
		}else if(softName=="macdvdtomp4"){
			window.location=url+soft_macdvdtomp4;
		}else if(softName=="macdvdtomobilephone"){
			window.location=url+soft_macdvdtomobilephone;
		}else if(softName=="macdvdtopsp"){
			window.location=url+soft_macdvdtopsp;
		}
		
}

//-------------------------buy software------------------------------
var buyurl="../buy/"
var buy_macdvdripper="buy-dvd-ripper-for-mac.php";
var buy_dvdripper="buy-dvd-ripper.php";
var buy_videoconverter="buy-clone2go-video-converter-professional.php";
var buy_dvd2ipod="buy-dvd-to-ipod.php";
var buy_dvd2iphone="buy-dvd-to-iphone.php";
var buy_dvd2psp="buy-dvd-to-psp.php";
var buy_dvd2zune="buy-dvd-to-zune.php";
var buy_dvd2blackberry="buy-dvd-to-blackberry.php";
var buy_dvd2nokia="buy-dvd-to-nokia.php";
var buy_dvd2mp4="buy-dvd-to-mp4.php";
var buy_dvd2appletv="buy-dvd-to-appletv.php";
var buy_dvd23gp="buy-dvd-to-3gp.php";
var buy_dvd2pocketpc="buy-dvd-to-pocketpc.php";
var buy_dvd2mobilephone="buy-dvd-to-mobilephone.php";
var buy_macvideoconverter="buy-video-converter-mac.php";
var buy_macdvdtoipod="buy-dvd-to-ipod-mac.php";
var buy_macdvdtoiphone="buy-dvd-to-iphone-mac.php";
var buy_macdvdtoblackberry="buy-dvd-to-blackberry-mac.php";
var buy_macdvdtomp4="buy-dvd-to-mp4-mac.php";
var buy_macdvdtomobilephone="buy-dvd-to-mobilephone-mac.php";
var buy_macdvdtopsp="buy-dvd-to-psp-mac.php";


var buy_video2ipod="buy-video-to-ipod.php";
var buy_video2iPhone="buy-video-to-iphone.php";
var buy_video2psp="buy-video-to-psp.php";
var buy_video2zune="buy-video-to-zune.php";
var buy_video2blackberry="buy-video-to-blackberry.php";
var buy_video2nokia="buy-video-to-nokia.php";
var buy_video2mp4="buy-video-to-mp4.php";
var buy_video2appletv="buy-video-to-appletv.php";
var buy_video23gp="buy-video-to-3gp.php";
var buy_video2pocketpc="buy-video-to-pocketpc.php";
var buy_video2mobilephone="buy-video-to-mobilephone.php";

var buy_youtubedownloader="buy-youtubedownloader.php";
var buy_audioconverter="buy-audioconverter.php";

function buy(softName)
{
	if(softName=="dvdripper")
	{
		window.location=buyurl+buy_dvdripper;
		}else if(softName=="videoconverter"){
			window.location=buyurl+buy_videoconverter;
		}else if(softName=="macdvdripper"){
			window.location=buyurl+buy_macdvdripper;
		}else if(softName=="macvideoconverter"){
			window.location=buyurl+buy_macvideoconverter;
		}else if(softName=="macdvdtoipod"){
			window.location=buyurl+buy_macdvdtoipod;
		}else if(softName=="macdvdtoiphone"){
			window.location=buyurl+buy_macdvdtoiphone;
		}else if(softName=="macdvdtoblackberry"){
			window.location=buyurl+buy_macdvdtoblackberry;
		}else if(softName=="macdvdtomp4"){
			window.location=buyurl+buy_macdvdtomp4;
		}else if(softName=="macdvdtomobilephone"){
			window.location=buyurl+buy_macdvdtomobilephone;
		}else if(softName=="macdvdtopsp"){
			window.location=buyurl+buy_macdvdtopsp;
		}else if(softName=="dvd2ipod"){
			window.location=buyurl+buy_dvd2ipod;
		}else if(softName=="dvd2iphone"){
			window.location=buyurl+buy_dvd2iphone;
		}else if(softName=="dvd2psp"){
			window.location=buyurl+buy_dvd2psp;
		}else if(softName=="dvd2zune"){
			window.location=buyurl+buy_dvd2zune;
		}else if(softName=="dvd2blackberry"){
			window.location=buyurl+buy_dvd2blackberry;
		}else if(softName=="dvd2nokia"){
			window.location=buyurl+buy_dvd2nokia;
		}else if(softName=="dvd2mp4"){
			window.location=buyurl+buy_dvd2mp4;
		}else if(softName=="dvd2appletv"){
			window.location=buyurl+buy_dvd2appletv;
		}else if(softName=="dvd23gp"){
			window.location=buyurl+buy_dvd23gp;
		}else if(softName=="dvd2pocketpc"){
			window.location=buyurl+buy_dvd2pocketpc;
		}else if(softName=="dvd2mobilephone"){
			window.location=buyurl+buy_dvd2mobilephone;
			
		}else if(softName=="video2ipod"){
			window.location=buyurl+buy_video2ipod;
		}else if(softName=="video2iphone"){
			window.location=buyurl+buy_video2iPhone;
		}else if(softName=="video2psp"){
			window.location=buyurl+buy_video2psp;
		}else if(softName=="video2zune"){
			window.location=buyurl+buy_video2zune;
		}else if(softName=="video2blackberry"){
			window.location=buyurl+buy_video2blackberry;
		}else if(softName=="video2nokia"){
			window.location=buyurl+buy_video2nokia;
		}else if(softName=="video2mp4"){
			window.location=buyurl+buy_video2mp4;
		}else if(softName=="video2appletv"){
			window.location=buyurl+buy_video2appletv;
		}else if(softName=="video23gp"){
			window.location=buyurl+buy_video23gp;
		}else if(softName=="video2pocketpc"){
			window.location=buyurl+buy_video2pocketpc;
		}else if(softName=="video2mobilephone"){
			window.location=buyurl+buy_video2mobilephone;
			
		}else if(softName=="youtubedownloader"){
			window.location=buyurl+buy_youtubedownloader;
		}else if(softName=="audioconverter"){
			window.location=buyurl+buy_audioconverter;
		}
}

//-----------------------------buy soft over--------------------------------










