// ÆÄÀϸí : public_functions.js // ¼ÒÀ¯ÀÚ : CINESeOUL // Á¦ÀÛÀÚ : Storm // Á¦ÀÛÀÏ : 2002.09.06 // ¼³¸í : ÀÚ¹Ù ½ºÅ©¸³Æ® ÇÔ¼ö¸¦ ¸ð¾Æ³õÀº ÆÄÀÏ. °¢ ÆäÀÌÁö¿¡¼ ÀÎŬ·çµå Çϼ¼¿ä. ///////////////////////////////////// // // »õâÀ» ¿©´Â ÇÔ¼ö // ///////////////////////////////////// function openWindow(URL,name,property){ var win=window.open(URL,name,property); } ///////////////////////////////////// // // ¿¹°íÆíÀ» Ç÷¹ÀÌÇÏ´Â ÇÔ¼ö // mode:lepk -> 56K // mode:help -> 100K // ///////////////////////////////////// function goPreview(cinemaID,mode){ var win=window.open("http://www.cineseoul.com/inc/StreamService.html?id=" + cinemaID + "&path=" + mode,"StreamWindow","width=500,height=420,left=100,top=50"); win.focus(); } function goPreview_test(cinemaID,mode){ var win=window.open("http://www.cineseoul.com/inc/view.html?id=" + cinemaID + "&path=" + mode,"StreamWindow","width=500,height=420,left=100,top=50"); win.focus(); } function viewVod(c,id,path) { //var win=window.open("http://www.cineseoul.com/vod/view.html?c=" + c + "&id=" + id+ "&path=" + path,"StreamWindow","width=365,height=380,left=100,top=50"); //win.focus(); vodWindow(c,id,path,1); } function vodWindow(c,id,path,otherNo) { var win=window.open("http://www.cineseoul.com/newVod/view.html?c=" + c + "&id=" + id + "&path=" + path + "&ono=" + otherNo,"StreamWindow","width=600,height=450,status=0"); win.focus(); } function vodHighWindow(c,id,path,otherNo) { var win=window.open("http://www.cineseoul.com/newVod/viewHigh.html?c=" + c + "&id=" + id + "&path=" + path + "&ono=" + otherNo,"StreamWindow","width=800,height=550,status=0"); win.focus(); } ///////////////////////////////////// // // ³Ñ¾î¿Â URL â ¿°í ÇÁ¸°Æ® ÇÏ´Â ÇÔ¼ö // ///////////////////////////////////// function goPrint(URL){ var win=window.open(URL ,"PRINT","width=700,height=600,left=100,top=50,scrollbars=yes"); win.focus(); win.print(); } ///////////////////////////////////// // // ÇöÀç »ó¿µ°ü ÆäÀÌÁö·Î À̵¿ÇÏ´Â ÇÔ¼ö // ///////////////////////////////////// function goTheater(cinemaID){ var win=window.open("/movies/cinedata_screening.html?cinemaID=" + cinemaID ,"CcinedataScreening","width=530,height=450,left=100,top=50,scrollbars=yes"); win.focus(); } ///////////////////////////////////// // // ÇöÀç »ó¿µ°ü ÆäÀÌÁö·Î À̵¿ÇÏ´Â ÇÔ¼ö - ticket section // ///////////////////////////////////// function goTheaterTicketSec(cinemaID){ var win=window.open("/ticket/cinedata_screening.html?cinemaID=" + cinemaID ,"CcinedataScreening","width=530,height=450,left=100,top=50,scrollbars=yes"); win.focus(); } ///////////////////////////////////// // // ÇØ´ç ¿µÈÀÇ ¿¹¸Å ÆäÀÌÁö·Î À̵¿ÇÏ´Â ÇÔ¼ö // ///////////////////////////////////// /* function goTicketing(cinemaID,theaterID,subTheaterID){ if(theaterID==null) theaterID=""; if(subTheaterID==null) subTheaterID=""; location.href="/ticket/index.html?cine_id=" + cinemaID + "&thea_id=" + theaterID + "&sub_id=" + subTheaterID +"&dstat=yes"; } */ function goTicketingAmex(cinemaID,theaterID,subTheaterID){ if(theaterID==null) location.href="/booking_new.html?frameUrl=m&cinemaID=" + cinemaID; else location.href="/booking_new.html?frameUrl=mt&cinemaID=" + cinemaID + "&theaterID=" + theaterID + "&subTheaterID=" + subTheaterID ; } function goTicketing(cinemaID,theaterID,subTheaterID){ if(theaterID==null) location.href="/ticket/index.html?frameUrl=m&cinemaID=" + cinemaID; else location.href="/ticket/index.html?frameUrl=mt&cinemaID=" + cinemaID + "&theaterID=" + theaterID + "&subTheaterID=" + subTheaterID ; } //function goTicketing(cinemaID){ // location.href="/ticket/index.html?cine_id=" + cinemaID; //} ///////////////////////////////////// // // ÇØ´ç ¿µÈÀÇ ÆòÁ¡Ã¢ ÇÔ¼ö // ///////////////////////////////////// function goVote(cinemaID){ var win=window.open("/movies/vote.html?cinemaID="+cinemaID,"Vote","width=380,height=350,scrollbars=no"); win.focus(); } function goVoteTest(cinemaID){ var win=window.open("/movies/vote_test.html?cinemaID="+cinemaID,"Vote","width=370,height=400,scrollbars=no"); win.focus(); } ///////////////////////////////////// // // ÇØ´ç ±ØÀåÀÇ ÆòÁ¡Ã¢ ÇÔ¼ö // ///////////////////////////////////// function goTheaterVote(theaterID){ var win=window.open("/movies/theater_vote.html?theaterID="+theaterID,"Vote","width=410,height=280,scrollbars=no"); win.focus(); } ///////////////////////////////////// // // ÇØ´ç ¿µÈÀÇ ÈïÇ࿹°¨µµÃ¢ ÇÔ¼ö // ///////////////////////////////////// function goPreVote(cinemaID){ var win=window.open("/movies/hit_hunch.html?cinemaID="+cinemaID,"PreVote","width=470,height=380,scrollbars=no"); win.focus(); } function goPreVoteTest(cinemaID){ var win=window.open("/movies/hit_hunch_test.html?cinemaID="+cinemaID,"PreVote","width=470,height=380,scrollbars=no"); win.focus(); } ///////////////////////////////////// // // Å« À̹ÌÁö ÈÀÏÀ» ¿¬´Ù. (»õâ) // ///////////////////////////////////// function viewLargeImage(URL){ var win=window.open("","largeImage",""); //var win=window.open("","LargeImage","top=0,left=0,,toolbar=no,statusbar=yes,scrollbars=yes,resizable=yes"); win.document.write(""); win.document.write("