// JavaScript Document
function screen()
{
	document.getElementById('screentd').className = 'show';
}

function trail()
{
	document.getElementById('trailtd').className = 'show';
}

function downlo()
{
	document.getElementById('downloadtd').className = 'show';
}

function downlo1()
{
	document.getElementById('downloadtd').className = 'show';
}

function invite()
{
	document.getElementById('form').className = 'Hide';
}

function invite_paypal()
{
	//document.getElementById('lnk1').className = 'Hide';
	//document.getElementById('invit').className = 'Show';
	$('premiumusers_tbg').className = 'Show';
}

function invite1(edtion)
{
	edition_type=edtion;
//	alert(edition_type);
	//document.getElementById('lnk1').className = 'Hide';
	//document.getElementById('invit').className = 'Show';
		$('sales_form').className = 'Show';
	if(edition_type=='freehosted')
	{
		$('form_free_enterprise').className = 'Show';
		$('form_hosted_enterprise').className = 'Hide';
//		alert($('hiddenField').value);
	}
	else{
		$('form_free_enterprise').className = 'Hide';
		$('form_hosted_enterprise').className = 'Show';
//				alert($('hiddenField').value);	
	}
	
}

function sf_form_close()
{
	//document.getElementById('lnk1').className = 'Hide';
	//document.getElementById('invit').className = 'Show';
	$('sales_form').className = 'Hide';
	$('premiumusers_tbg').className = 'Hide';
}

function scoop()
{
	document.getElementById('scoopform').className = 'Show';
	document.getElementById('scoop').className = 'Hide';
}
function pp()
{
	window.open('../ppolicy','newwindow1','toolbar=0,top=0,left=0,width=550, height=390,scrollbars=1,resizable=1');
}
function tm()
{
	window.open('../tm','newwindow1','toolbar=0,top=0,left=0,width=550, height=390,scrollbars=1,resizable=1');
}

function tos()
{
	window.open('../tos','newwindow1','toolbar=0,top=0,left=0,width=550, height=390,scrollbars=1,resizable=1');
}
	
document.write('<tr><td></td></tr><tr><td align="center"><br /><div id="footer"><div class="contextcopy">&nbsp;&nbsp;&nbsp;&nbsp;Copyright &copy; 2009 Dimdim Inc. All rights reserved.<br/>&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:pp()">Privacy Policy</a> |  <a href="javascript:tm()">Trademark &amp; Copyright Policy</a> |  <a href="../aboutus/contactus.html">Contact Us</a> |  <a href="http://blog.dimdim.com/" target="_blank">Blog</a></div></div><br /></td></tr>');

function con()
{
	document.getElementById('contact').className = 'show';
	document.getElementById('lnk').className = 'Hide';	
}

function down()
{
	document.getElementById('contact').className = 'Hide';
	document.getElementById('lnk').className = 'Hide';	
	document.getElementById('downloadtd').className = 'show';
}