// JavaScript Document
function showDiv(id){
	jQuery('#main_login_panel').show();
	jQuery('#login_box').show();
	if(id == 'deluxeDes')
		jQuery('#panelTitle').html('Deluxe Subscription Length');
	else if(id == 'contactDetail')
		jQuery('#panelTitle').html('Contact Detail');
	else if(id == 'bussDesc')
		jQuery('#panelTitle').html('Business Descriptions');
	else if(id == 'gMapLocation')
		jQuery('#panelTitle').html('Google Map location');
	else if(id == 'kpservices')
		jQuery('#panelTitle').html('Keywords/Products and Services');
	else if(id == 'logoDisplay')
		jQuery('#panelTitle').html('Logo Display');
	else if(id == 'bussHour')
		jQuery('#panelTitle').html('Business Hours');
	else if(id == 'dispPicture')
		jQuery('#panelTitle').html('Display Picture');
	else if(id == 'bussListing')
		jQuery('#panelTitle').html('Business Listings');
	else if(id == 'divVideo')
		jQuery('#panelTitle').html('Video');
	else if(id == 'custBanner')
		jQuery('#panelTitle').html('Customize Banner');
	else if(id == 'n3ads')
		jQuery('#panelTitle').html('No third party ads');
	else if(id == 'dispCompFreeListing')
		jQuery('#panelTitle').html('Listing will be displayed on competitor\'s FREE listing');
	else if(id == 'actProfView')
		jQuery('#panelTitle').html('Activity reports about profile views etc.');
	
	else
		jQuery('#panelTitle').html('Premium Subscription Length');
	
	jQuery('#panelContent').html(jQuery('#'+id).html());
}

function hideDiv(){
	jQuery('#main_login_panel').hide();
	jQuery('#login_box').hide();
}


function sendemail(url){
	isPostback=true;
	windowHandle = window.open(url, 'Sendemail', 'status=0,toolbar=0,location=0,menubar=0,directories=0,resizeable=0,scrollbars=1, width=684,height=510'); 
	windowHandle.moveTo(screen.width / 2 - 300, 200); 
	windowHandle.focus();	
}