function HidePortablilityResult()
{
	$("#port_no").hide();
	$("#port_yes").hide();
	$("#port_default").show();
}
function ChangeMyColor(getVal,getSel,getMode,siteURL)
{
	if (getMode==0)
	{
		for (i=1;i<=getVal;i++)
		{
			obj=document.getElementById("plan_img_" + i);
			if (obj)
			{
				if (i==getSel)
					obj.src="http://static.axvoice.com/images/view-detail-orange.png";
				else
					obj.src="http://static.axvoice.com/images/view-detail-gray.png";
			}
		}
	}
	else
	{
		for (i=1;i<=getVal;i++)
		{
			if (obj)
			{
				obj=document.getElementById("plan_img_" + i);
				obj.src="http://static.axvoice.com/images/view-detail-gray.png";
			}
		}
	}
}
function ShowBannerImage(getMode)
{			
	if (getMode>=0)
	{
		getBannerCounter=getMode;
		if (getID==0)
		{
			clearInterval(getIntID);
			getID=1;
		}
	}
	var PlanName=new Array(3)
	PlanName[0]="Residential U.S / Canada";
	PlanName[1]="Residential International";
	PlanName[2]="Pay As you Go";
	PlanName[3]="Small Business 1500";
	var PlanDesc=new Array(3)
	PlanDesc[0]="One year For One Low Price";
	PlanDesc[1]="The World with in your Reach";
	PlanDesc[2]="No commitments, No worries, Pay Just for Calls you make";
	PlanDesc[3]="Convenient, Reliable, Secure Business Calling";	
	var PlanPrice=new Array(3)
	PlanPrice[0]="$99 / Year";
	PlanPrice[1]="$199 / Year";
	PlanPrice[2]="$4.99 / Month";
	PlanPrice[3]="$29.99 / Month";	
	var PlanFeature1=new Array(3)
	PlanFeature1[0]="<img src='http://static.axvoice.com/images/tick-black.png'/> Unlimited U.S. & Canada Calls";
	PlanFeature1[1]="<img src='http://static.axvoice.com/images/tick-black.png'/> Unlimited Local and International Calls";
	PlanFeature1[2]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Incoming Calls";
	PlanFeature1[3]="<img src='http://static.axvoice.com/images/tick-black.png'/> Two Free Numbers";	
	var PlanFeature2=new Array(3)
	PlanFeature2[0]="<img src='http://static.axvoice.com/images/tick-black.png'/> Number Portability";
	PlanFeature2[1]="<img src='http://static.axvoice.com/images/tick-black.png'/> Number Portability";
	PlanFeature2[2]="<img src='http://static.axvoice.com/images/tick-black.png'/> Outgoing Calls @ 1.5c /min";
	PlanFeature2[3]="<img src='http://static.axvoice.com/images/tick-black.png'/> 1500 Outgoing Minutes";	
	var PlanFeature3=new Array(3)
	PlanFeature3[0]="<img src='http://static.axvoice.com/images/tick-black.png'/> Over 30 Calling Features";
	PlanFeature3[1]="<img src='http://static.axvoice.com/images/tick-black.png'/> Over 30 Calling Features";
	PlanFeature3[2]="<img src='http://static.axvoice.com/images/tick-black.png'/> Number Portability";
	PlanFeature3[3]="<img src='http://static.axvoice.com/images/tick-black.png'/> Number Portability";	
	var PlanFeature4=new Array(3)
	PlanFeature4[0]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Activation";
	PlanFeature4[1]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Activation";
	PlanFeature4[2]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Activation";
	PlanFeature4[3]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Activation";	
	var PlanFeature5=new Array(3)
	PlanFeature5[0]="<img src='http://static.axvoice.com/images/tick-black.png'/> 15 Days Money Back Guarantee";
	PlanFeature5[1]="<img src='http://static.axvoice.com/images/tick-black.png'/> 15 Days Money Back Guarantee";
	PlanFeature5[2]="<img src='http://static.axvoice.com/images/tick-black.png'/> Over 30 Calling Features";
	PlanFeature5[3]="<img src='http://static.axvoice.com/images/tick-black.png'/> 15 Days Money Back Guarantee";	
	var PlanFeature6=new Array(3)
	PlanFeature6[0]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Hardware";
	PlanFeature6[1]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Hardware";
	PlanFeature6[2]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Hardware";
	PlanFeature6[3]="<img src='http://static.axvoice.com/images/tick-black.png'/> Free Hardware";	
	var PlanLink=new Array(3)
	PlanLink[0]='<a href="http://www.axvoice.com/plans/residential-voip-usa-canada.html" ><img src="http://static.axvoice.com/images/moreinfo_btn.png" align="More Info" /></a>';
	PlanLink[1]='<a href="http://www.axvoice.com/plans/residential-voip-international.html" ><img src="http://static.axvoice.com/images/moreinfo_btn.png" align="More Info" /></a>';
	PlanLink[2]='<a href="http://www.axvoice.com/plans/voip-service-pay-as-you-go.html" ><img src="http://static.axvoice.com/images/moreinfo_btn.png" align="More Info" /></a>';
	PlanLink[3]='<a href="http://www.axvoice.com/plans/small-business-voip-service.html" ><img src="http://static.axvoice.com/images/moreinfo_btn.png" align="More Info" /></a>';
	
	var ImageLink=new Array(3)
	ImageLink[0]='<a href="http://www.axvoice.com/plans/residential-voip-usa-canada.html" id="con_banner"><img src="http://static.axvoice.com/images/slide/banner-1.jpg" id="img_banner" alt="Reliable home Phone Service, Unlimited calls to U.S / Canada for $8.25 per month for 12 months" /></a>';
	ImageLink[1]='<a href="http://www.axvoice.com/plans/residential-voip-international.html" id="con_banner"><img src="http://static.axvoice.com/images/slide/banner-2.jpg" id="img_banner" alt="Cheap home phone service for international calling, Free unlimited minutes for $16.5per month" /></a>';
	ImageLink[2]='<a href="http://www.axvoice.com/plans/voip-service-pay-as-you-go.html" id="con_banner"><img src="http://static.axvoice.com/images/slide/banner-3.jpg" id="img_banner" alt="Pay As You Go, lowest call rates and pay just for calls you make. One flat rate 1.5c per minute and $4.99 per month" /></a>';
	ImageLink[3]='<a href="http://www.axvoice.com/plans/small-business-voip-service.html" id="con_banner"><img src="http://static.axvoice.com/images/slide/banner-4.jpg" id="img_banner" alt="Convenient, Reliable and secure business phone system with 40+ calling features, just for $39.99/month" /></a>';
	
	
	for (i=0;i<=3;i++)
	{
		document.getElementById("link_" + i).style.color="#FFFFFF";		
	} 
	document.getElementById("link_" + getBannerCounter).style.color="#000000";
	document.getElementById("RT_Plan_Name").innerHTML=PlanName[getBannerCounter];
	document.getElementById("RT_Plan_Desc").innerHTML=PlanDesc[getBannerCounter];
	document.getElementById("RT_Plan_Price").innerHTML=PlanPrice[getBannerCounter];
	document.getElementById("RT_Plan_Feature1").innerHTML=PlanFeature1[getBannerCounter];
	document.getElementById("RT_Plan_Feature2").innerHTML=PlanFeature2[getBannerCounter];
	document.getElementById("RT_Plan_Feature3").innerHTML=PlanFeature3[getBannerCounter];
	document.getElementById("RT_Plan_Feature4").innerHTML=PlanFeature4[getBannerCounter];
	document.getElementById("RT_Plan_Feature5").innerHTML=PlanFeature5[getBannerCounter];
	document.getElementById("RT_Plan_Feature6").innerHTML=PlanFeature6[getBannerCounter];
	document.getElementById("RP_Plan_Link").innerHTML=PlanLink[getBannerCounter];
	document.getElementById("banner_image").innerHTML=ImageLink[getBannerCounter];
	getBannerCounter=getBannerCounter+1;	
	if (getBannerCounter==4) 
		getBannerCounter=0;
}
function PlayPause()
{
	VAR_CURRENT_MODE=document["IMG_PlayPause"].src;
	if (VAR_CURRENT_MODE.indexOf('play_btn')>0)
	{
		document["IMG_PlayPause"].src="images/slide/stop_btn.jpg";
		$('#banner_image').cycle('resume');
	}
	else
	{
		document["IMG_PlayPause"].src="images/slide/play_btn.jpg";
		$('#banner_image').cycle('pause');
	}
}
