Rev 1097 | Rev 2333 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
function goToImg(refimg,imgindex,img, arrTitle, containerID){//document.images[refimg].src = img[imgindex]var imgid = "#"+refimg;var img = img[imgindex];$(imgid).attr("src",img);// Image title displayvar titleIndex = imgindex;$("#" + containerID + " .modelName").text(arrTitle[titleIndex]);}function goToVid(playerid, vidid, vidindex, arrTitle, containerID){//alert("calling..");var titleIndex = vidindex;$("#" + containerID + " .modelName").text(arrTitle[titleIndex]);ytplayer = document.getElementById(playerid);ytplayer.cueVideoById(vidid);// these two lines will set currentvideo id for the playervar param = "currentVideoId" + playerid.substring(8,playerid.length) + "= \"" + vidid + "\"";eval(param);}