jQuery(document).ready(function(){
		jQuery(".footer").css({width:0});
		jQuery('embed').css({display:'none'});
		jQuery('.content_area').css({opacity:0});
		jQuery('#testLah').css('width','0').animate({width:'100%'},1500);
		jQuery('.content_area').animate({opacity:1},2500);
		jQuery('embed').css({display:'block'});
		
		
	});

function createRequestObject() {
    var ro;
    var browser = navigator.appName;
    if(browser == "Microsoft Internet Explorer"){
        ro = new ActiveXObject("Microsoft.XMLHTTP");
    }else{
        ro = new XMLHttpRequest();
    }
    return ro;
}

var xmlhttp = createRequestObject();


//using on Rating
function doRating(val,video_id,i,starpos)
{
	//document.getElementById("videoTitle"+i).innerHTML = "Loading please wait...";
		xmlhttp.open('get', 'http://www.isctour.com/tv/plugin/rating/doRating.php?val='+val+'&video_id='+ video_id+'&i='+ i+'&starpos='+ starpos, true);
		
			xmlhttp.onreadystatechange = function() {
				if ((xmlhttp.readyState == 4) && (xmlhttp.status == 200))
					document.getElementById("blockRating"+i).innerHTML = xmlhttp.responseText;
					return false;	
				}
		xmlhttp.send(null);
}

function getAlert(i)
{
alert(i);
}

function setAltRate(msg,i)
{
	document.getElementById("altRate"+i).innerHTML = msg;
}
