/* //all the functions for the video player var iCurRanking; function showStars(iStar){ var sFilled = 'http://www.teenhollywood.com/images/star.gif'; var sEmpty = 'http://www.teenhollywood.com/images/star_bg.gif'; var iMax = 5; // number of stars var sMessages = new Array('poor','good','great','wicked','awesome'); var ids = new Array ('star1','star2','star3','star4','star5'); // Update message document.getElementById('rankingnote').innerHTML = sMessages[iStar-1]; // Fill stars for(var x=1; x <= iMax; x++){ if(x <= iStar){ document.getElementById(ids[x-1]).src = sFilled; }else{ document.getElementById(ids[x-1]).src = sEmpty}; } } function startRank(iStart){ iCurRanking = iStart } function loginlink(sLink){ document.getElementById('rankingnote').innerHTML = 'login to rank video'; } function clearStars(){ //Return stars to current Values showStars(iCurRanking); // Update message document.getElementById('rankingnote').innerHTML = 'rank this video'; } function addRanking(iValue){ var xmlHttp; try{ // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); }catch (e){ // Internet Explorer try{ xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); }catch (e){ try{ xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); }catch (e){ return false; } } } xmlHttp.onreadystatechange=function(){ if(xmlHttp.readyState==4){ var aReturned; aReturned = xmlHttp.responseText.split(","); showStars(aReturned[0]); document.getElementById('rankselection').innerHTML= aReturned[1]; iCurRanking = aReturned[0]; } } var item_id = document.getElementById('video').value var score = iValue*20 xmlHttp.open("GET","/videoranking.asp?v_id=" + item_id + "&score=" + score,true); xmlHttp.send(null); } */ function resizeImage(iWidth,iHeight){ var iScreenWidth = screen.width; var iScreenHeight = screen.height; if(iScreenWidth' + sText +''; }