
function getMovie(movieName) {

	var isIE = navigator.appName.indexOf("Microsoft") != -1;

	return (isIE)?window[movieName]:document[movieName];

}



function showFullScreen(){

	var box = $('#player')[0];

	if($('.content')[0].style.width == "auto"){

		$('.content')[0].style.width = "";

		box.style.height = "";

		document.body.parentNode.style.overflow = "auto";

	}else{

		var box = $('#player')[0];

		$('.content')[0].style.width = "auto";

		box.style.height=showFullScreen.windowHeight()+"px";

		document.body.parentNode.style.overflow = "hidden";

	}

}



showFullScreen.windowHeight = function(){

		if (self.innerHeight) 

		{

			var t = self.innerHeight;

		}

		else if (document.documentElement && document.documentElement.clientHeight)

		{

			var t = document.documentElement.clientHeight;

		}

		else if (document.body)

		{

			var t = document.body.clientHeight;

		}

		alert(t);

		return t;

}



function copyURL(){

	var _loc1 = window.location.href;

	setCopy(_loc1, '链接已经复制到剪贴板');

}



function setCopy(text, tmsg){

	if(is_ie){

		clipboardData.setData('Text', text);

		alert(tmsg);

	} else if(prompt('请使用 Ctrl + C 进行手工复制', text)){

		alert(tmsg);

	}

}



function comments(){

	window.scroll(0, 640);

}

