// JavaScript Document

function IsMemberAllow(url,isAllow)
{
var mem 					=  document.getElementById("Sitemember").value;
var membertype 				=  document.getElementById("membertype").value;
window.location.href		=	url;
/*if(mem!="")
 {
   if(isAllow==1)
     {
	 	window.location.href=url;
	 }
	else 
	 {
	  if(membertype=='Premium')
	   {
	    window.location.href=url;
	   }
	 else
	  {
	    alert("Sorry,You are not authorised to download file.");
	  }
	 
	 } 
 
 }
else
{
alert("Sorry,You are not authorised to download file.Download is available for only site members.")
}
*/}
