/**
 * jQuery Cookie plugin
 *
 * Copyright (c) 2010 Klaus Hartl (stilbuero.de)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 */
/**
 * jQuery BASE64 functions
 * @alias Muhammad Hussein Fattahizadeh < muhammad [AT] semnanweb [DOT] com >
 * @link http://www.semnanweb.com/jquery-plugin/base64.html
 * @see http://www.webtoolkit.info/
 * @license http://www.gnu.org/licenses/gpl.html [GNU General Public License]
 */
var soy=soy||{};(function(){var b=navigator.userAgent;var a=b.indexOf("Opera")==0;soy.IS_OPERA_=a;soy.IS_IE_=!a&&b.indexOf("MSIE")!=-1;soy.IS_WEBKIT_=!a&&b.indexOf("WebKit")!=-1})();soy.StringBuilder=function(a,b){this.buffer_=soy.IS_IE_?[]:"";if(a!=null){this.append.apply(this,arguments)}};soy.StringBuilder.prototype.bufferLength_=0;soy.StringBuilder.prototype.append=function(b,a,d){if(soy.IS_IE_){if(a==null){this.buffer_[this.bufferLength_++]=b}else{this.buffer_.push.apply(this.buffer_,arguments);this.bufferLength_=this.buffer_.length}}else{this.buffer_+=b;if(a!=null){for(var c=1;c<arguments.length;c++){this.buffer_+=arguments[c]}}}return this};soy.StringBuilder.prototype.clear=function(){if(soy.IS_IE_){this.buffer_.length=0;this.bufferLength_=0}else{this.buffer_=""}};soy.StringBuilder.prototype.toString=function(){if(soy.IS_IE_){var a=this.buffer_.join("");this.clear();if(a){this.append(a)}return a}else{return(this.buffer_)}};soy.renderElement=function(b,c,a){b.innerHTML=c(a)};soy.renderAsFragment=function(d,a){var c=document.createElement("div");c.innerHTML=d(a);if(c.childNodes.length==1){return c.firstChild}else{var b=document.createDocumentFragment();while(c.firstChild){b.appendChild(c.firstChild)}return b}};soy.$$augmentData=function(f,a){function d(){}d.prototype=f;var c=new d();for(var b in a){c[b]=a[b]}return c};soy.$$escapeHtml=function(a){a=String(a);if(!soy.$$EscapeHtmlRe_.ALL_SPECIAL_CHARS.test(a)){return a}if(a.indexOf("&")!=-1){a=a.replace(soy.$$EscapeHtmlRe_.AMP,"&amp;")}if(a.indexOf("<")!=-1){a=a.replace(soy.$$EscapeHtmlRe_.LT,"&lt;")}if(a.indexOf(">")!=-1){a=a.replace(soy.$$EscapeHtmlRe_.GT,"&gt;")}if(a.indexOf('"')!=-1){a=a.replace(soy.$$EscapeHtmlRe_.QUOT,"&quot;")}return a};soy.$$EscapeHtmlRe_={ALL_SPECIAL_CHARS:/[&<>\"]/,AMP:/&/g,LT:/</g,GT:/>/g,QUOT:/\"/g};soy.$$escapeJs=function(b){b=String(b);var c=[];for(var a=0;a<b.length;a++){c[a]=soy.$$escapeChar(b.charAt(a))}return c.join("")};soy.$$escapeChar=function(d){if(d in soy.$$escapeCharJs_){return soy.$$escapeCharJs_[d]}var b=d;var a=d.charCodeAt(0);if(a>31&&a<127){b=d}else{if(a<256){b="\\x";if(a<16||a>256){b+="0"}}else{b="\\u";if(a<4096){b+="0"}}b+=a.toString(16).toUpperCase()}return soy.$$escapeCharJs_[d]=b};soy.$$escapeCharJs_={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\x0B":"\\x0B",'"':'\\"',"'":"\\'","\\":"\\\\"};soy.$$escapeUri=function(a){a=String(a);if(!soy.$$ENCODE_URI_REGEXP_.test(a)){return encodeURIComponent(a)}else{return a}};soy.$$ENCODE_URI_REGEXP_=/^[a-zA-Z0-9\-_.!~*'()]*$/;soy.$$insertWordBreaks=function(k,a){k=String(k);var g=[];var j=0;var b=false;var l=false;var h=0;var d=0;for(var f=0,c=k.length;f<c;++f){var m=k.charCodeAt(f);if(h>=a&&m!=soy.$$CharCode_.SPACE){g[j++]=k.substring(d,f);d=f;g[j++]=soy.WORD_BREAK_;h=0}if(b){if(m==soy.$$CharCode_.GREATER_THAN){b=false}}else{if(l){switch(m){case soy.$$CharCode_.SEMI_COLON:l=false;++h;break;case soy.$$CharCode_.LESS_THAN:l=false;b=true;break;case soy.$$CharCode_.SPACE:l=false;h=0;break}}else{switch(m){case soy.$$CharCode_.LESS_THAN:b=true;break;case soy.$$CharCode_.AMPERSAND:l=true;break;case soy.$$CharCode_.SPACE:h=0;break;default:++h;break}}}}g[j++]=k.substring(d);return g.join("")};soy.$$CharCode_={SPACE:32,AMPERSAND:38,SEMI_COLON:59,LESS_THAN:60,GREATER_THAN:62};soy.WORD_BREAK_=soy.IS_WEBKIT_?"<wbr></wbr>":soy.IS_OPERA_?"&shy;":"<wbr>";soy.$$changeNewlineToBr=function(a){a=String(a);if(!soy.$$CHANGE_NEWLINE_TO_BR_RE_.test(a)){return a}return a.replace(/(\r\n|\r|\n)/g,"<br>")};soy.$$CHANGE_NEWLINE_TO_BR_RE_=/[\r\n]/;soy.$$bidiTextDir=function(b,a){b=soy.$$bidiStripHtmlIfNecessary_(b,a);if(!b){return 0}return soy.$$bidiDetectRtlDirectionality_(b)?-1:1};soy.$$bidiDirAttr=function(c,d,a){var b=soy.$$bidiTextDir(d,a);if(b!=c){return b<0?"dir=rtl":b>0?"dir=ltr":""}return""};soy.$$bidiMarkAfter=function(c,d,a){var b=soy.$$bidiTextDir(d,a);return soy.$$bidiMarkAfterKnownDir(c,b,d,a)};soy.$$bidiMarkAfterKnownDir=function(c,b,d,a){return(c>0&&(b<0||soy.$$bidiIsRtlExitText_(d,a))?"\u200E":c<0&&(b>0||soy.$$bidiIsLtrExitText_(d,a))?"\u200F":"")};soy.$$bidiStripHtmlIfNecessary_=function(b,a){return a?b.replace(soy.$$BIDI_HTML_SKIP_RE_," "):b};soy.$$BIDI_HTML_SKIP_RE_=/<[^>]*>|&[^;]+;/g;soy.$$bidiSpanWrap=function(a,d){d=String(d);var c=soy.$$bidiTextDir(d,true);var b=soy.$$bidiMarkAfterKnownDir(a,c,d,true);if(c>0&&a<=0){d="<span dir=ltr>"+d+"</span>"}else{if(c<0&&a>=0){d="<span dir=rtl>"+d+"</span>"}}return d+b};soy.$$bidiUnicodeWrap=function(a,d){d=String(d);var c=soy.$$bidiTextDir(d,true);var b=soy.$$bidiMarkAfterKnownDir(a,c,d,true);if(c>0&&a<=0){d="\u202A"+d+"\u202C"}else{if(c<0&&a>=0){d="\u202B"+d+"\u202C"}}return d+b};soy.$$bidiLtrChars_="A-Za-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02B8\u0300-\u0590\u0800-\u1FFF\u2C00-\uFB1C\uFDFE-\uFE6F\uFEFD-\uFFFF";soy.$$bidiNeutralChars_="\u0000-\u0020!-@[-`{-\u00BF\u00D7\u00F7\u02B9-\u02FF\u2000-\u2BFF";soy.$$bidiRtlChars_="\u0591-\u07FF\uFB1D-\uFDFD\uFE70-\uFEFC";soy.$$bidiRtlDirCheckRe_=new RegExp("^[^"+soy.$$bidiLtrChars_+"]*["+soy.$$bidiRtlChars_+"]");soy.$$bidiNeutralDirCheckRe_=new RegExp("^["+soy.$$bidiNeutralChars_+"]*$|^http://");soy.$$bidiIsRtlText_=function(a){return soy.$$bidiRtlDirCheckRe_.test(a)};soy.$$bidiIsNeutralText_=function(a){return soy.$$bidiNeutralDirCheckRe_.test(a)};soy.$$bidiRtlDetectionThreshold_=0.4;soy.$$bidiRtlWordRatio_=function(f){var b=0;var a=0;var d=f.split(" ");for(var c=0;c<d.length;c++){if(soy.$$bidiIsRtlText_(d[c])){b++;a++}else{if(!soy.$$bidiIsNeutralText_(d[c])){a++}}}return a==0?0:b/a};soy.$$bidiDetectRtlDirectionality_=function(a){return soy.$$bidiRtlWordRatio_(a)>soy.$$bidiRtlDetectionThreshold_};soy.$$bidiLtrExitDirCheckRe_=new RegExp("["+soy.$$bidiLtrChars_+"][^"+soy.$$bidiRtlChars_+"]*$");soy.$$bidiRtlExitDirCheckRe_=new RegExp("["+soy.$$bidiRtlChars_+"][^"+soy.$$bidiLtrChars_+"]*$");soy.$$bidiIsLtrExitText_=function(b,a){b=soy.$$bidiStripHtmlIfNecessary_(b,a);return soy.$$bidiLtrExitDirCheckRe_.test(b)};soy.$$bidiIsRtlExitText_=function(b,a){b=soy.$$bidiStripHtmlIfNecessary_(b,a);return soy.$$bidiRtlExitDirCheckRe_.test(b)};if(typeof superpass=="undefined"){var superpass={}}if(typeof superpass.tmpl=="undefined"){superpass.tmpl={}}superpass.tmpl.translate=function(a,c){var b=c||new soy.StringBuilder();b.append((a.source=="Login")?"Login":(a.source=="Sign up")?"Sign up":(a.source=="Upgrade")?"Upgrade":(a.source=="Logout")?"Logout":(a.source=="Movie")?"Movie":(a.source=="TV Series")?"TV Series":(a.source=="Free")?"Free":(a.source=="SuperPass")?"SuperPass":(a.source=="Unlimited")?"Unlimited":(a.source=="Action")?"Action":(a.source=="Comedy")?"Comedy":(a.source=="Romance")?"Romance":(a.source=="Drama")?"Drama":(a.source=="Thriller")?"Thriller":(a.source=="Horror")?"Horror":(a.source=="Reality")?"Reality":(a.source=="Independent")?"Independent":(a.source=="Gravure")?"JP Idols":(a.source=="Genre")?"Genre":(a.source=="Length")?"Length":(a.source=="Language")?"Language":(a.source=="Cast")?"Cast":(a.source=="mins")?"mins":(a.source=="Watch Full Movie")?"Watch Full Movie":(a.source=="Click here")?"Click here":(a.source=="SuperPass 14 Days Free Trial")?"SuperPass 14 Days Free Trial":(a.source=="Full Length Movies")?"Full Length Movies":(a.source=="Play and Burn DVDs")?"Play and Burn DVDs":(a.source=="H.264 Playback")?"H.264 Playback":(a.source=="Convert VOB, MPEG-2")?"Convert VOB, MPEG-2":(a.source=="Full Screen Mode")?"Full Screen Mode":(a.source=="14 Days Free Trial")?"14 Days Free Trial":(a.source=="Your trial of RealPlayer SuperPass is FREE. You can end it anytime, or continue to enjoy all the features after trial at $4.95 US dollar a month.")?"Your trial of RealPlayer SuperPass is FREE. You can end it anytime, or continue to enjoy all the features after trial at $4.95 US dollar a month.":(a.source=="Login to RealPlayer Movie Library")?"Login to RealPlayer Movie Library":(a.source=="Please login using the e-mail address and password you provided during your SuperPass account setup and registration.")?"Please login using the e-mail address and password you provided during your SuperPass account setup and registration.":(a.source=="E-mail Address")?"E-mail Address":(a.source=="E-mail")?"E-mail":(a.source=="Password")?"Password":(a.source=="Keep me logged in")?"Keep me logged in":(a.source=="Will stay logged in for two weeks")?"Will stay logged in for two weeks":(a.source=="Do not check if on a shared computer")?"Do not check if on a shared computer":(a.source=="Check the following and try again")?"Check the following and try again":(a.source=="Have you forgotten your password?")?"Have you forgotten your password?":(a.source=="You can recover your ID and/or password by confirming your private information")?"You can recover your ID and/or password by confirming your private information":(a.source=="Have you signed up for SuperPass?")?"Have you signed up for SuperPass?":(a.source=="You can sign up to get access to RealPlayer movie library by providing your email address and password")?"You can sign up to get access to RealPlayer movie library by providing your email address and password":(a.source=="Is Caps Lock on your keyboard on?")?"Is Caps Lock on your keyboard on?":(a.source=="If so, hit Caps Lock key before trying again.")?"If so, hit Caps Lock key before trying again.":(a.source=="SuperPass Service Message")?"SuperPass Service Message":(a.source=="Please login to SuperPass to watch selected video.")?"Please login to SuperPass to watch selected video.":(a.source=="You need Unlimited Movies subscription to watch selected video.")?"You need Unlimited Movies subscription to watch selected video.":(a.source=="Upgrade your subscription now.")?"Upgrade your subscription now.":(a.source=="Sorry, currently selected video cannot be streamed to your country. Please try other videos.")?"Sorry, currently selected video cannot be streamed to your country. Please try other videos.":(a.source=="Japanese idols in bikini")?"Japanese idols in bikini":(a.source=="Notice")?"Notice":(a.source=="Video content you are about to see contains sexually-oriented nudity designed to be viewed by adults and therefore may be unsuitable for children.")?"Video content you are about to see contains sexually-oriented nudity designed to be viewed by adults and therefore may be unsuitable for children.":(a.source=="Would you like to proceed?")?"Would you like to proceed?":(a.source=="Yes")?"Yes":(a.source=="No")?"No":(a.source=="Most Popular")?"Most Popular":(a.source=="Latest")?"Latest":(a.source=="We have not detected FlashPlayer on your computer.")?"We have not detected FlashPlayer on your computer.":(a.source=="Please click here to install FlashPlayer")?"Please click here to install FlashPlayer":(a.source=="Summary")?"Summary":(a.source=="Share")?"Share":(a.source=="Release Date")?"Release Date":(a.source=="Total views")?"Total views":(a.source=="License")?"License":(a.source=="Content Type")?"Content Type":(a.source=="Subscription")?"Subscription":(a.source=="Download")?"Download":(a.source=="Watch Trailer")?"Watch Trailer":(a.source=="More")?"More":(a.source=="Close")?"Close":(a.source=="Tour")?"Tour":(a.source=="SuperPass offers access to premium video content. Enjoy movies and TV shows online, on-demand.")?"SuperPass offers access to premium video content. Enjoy movies and TV shows online, on-demand.":(a.source=="Click to Watch Now")?"Click to Watch Now":(a.source=="FREE 14-DAY TRIAL")?"FREE 14-DAY TRIAL":(a.source=="You can cancel anytime, or continue to enjoy all the features after trial for just $4.95 US dollar a month.")?"You can cancel anytime, or continue to enjoy all the features after trial for just $4.95 US dollar a month.":(a.source=="Membership Fee")?"Membership Fee":(a.source=="US $　4.95")?"US $　4.95":(a.source=="monthly")?"monthly":(a.source=="SuperPass fee + US $　6.95")?"SuperPass fee + US $　6.95":(a.source=="User")?"User":(a.source=="Account")?"Account":(a.source=="New to SuperPass?")?"New to SuperPass?":(a.source=="Create an account and sign up for 14-day trial to watch more than 150 high-quality full-length movies and enjoy RealPlayer Plus features for free.")?"Create an account and sign up for 14-day trial to watch more than 150 high-quality full-length movies and enjoy RealPlayer Plus features for free.":(a.source=="Upgrade to Unlimited Movies?")?"Upgrade to Unlimited Movies?":(a.source=="Unlimited access to online movies library on RealPlayer Plus. Watch as many full-length online movies as you like.")?"Unlimited access to online movies library on RealPlayer Plus. Watch as many full-length online movies as you like.":(a.source=="Manage My Account")?"Manage My Account":(a.source=="My account lets you")?"My account lets you":(a.source=="Manage your account information")?"Manage your account information":(a.source=="Manage e-mail options")?"Manage e-mail options":(a.source=="Access to help and customer support")?"Access to help and customer support":(a.source=="Go to My Account")?"Go to My Account":(a.source=="Please verify and re-enter your e-mail address and password.")?"Please verify and re-enter your e-mail address and password.":(a.source=="Check caps lock on your keyboard")?"Check caps lock on your keyboard":(a.source=="Click here to recover your password")?"Click here to recover your password":(a.source=="Click here to get free 14-days trial")?"Click here to get free 14-days trial":(a.source=="Enjoy more than  150 high-quality full-length movies")?"Enjoy more than  150 high-quality full-length movies":(a.source=="Watch as many full-length online movies as you like")?"Watch as many full-length online movies as you like":(a.source=="Sign Up Now")?"Sign Up Now":(a.source=="Free 30-Day Trial")?"Free 30-Day Trial":(a.source=="Free 14-Day Trial")?"Free 14-Day Trial":(a.source=="Click here to get Free 14-Day Trial")?"Click here to get Free 14-Day Trial":(a.source=="upgrade")?"upgrade":"");if(!c){return b.toString()}};var Abstract={};var Class=(function(){function f(){}function d(){var a=null;var b=Array.prototype.slice.call(arguments);if(Object.isFunction(b[0])){a=b.shift()}function h(){this.initialize.apply(this,arguments)}Object.extend(h,Class.Methods);h.superclass=a;h.subclasses=[];if(a){f.prototype=a.prototype;h.prototype=new f;a.subclasses.push(h)}for(var c=0;c<b.length;c++){h.addMethods(b[c])}if(!h.prototype.initialize){h.prototype.initialize=function(){}}h.prototype.constructor=h;return h}function g(b){var n=this.superclass&&this.superclass.prototype;var o=Object.keys(b);if(!Object.keys({toString:true}).length){if(b.toString!=Object.prototype.toString){o.push("toString")}if(b.valueOf!=Object.prototype.valueOf){o.push("valueOf")}}for(var p=0,m=o.length;p<m;p++){var c=o[p],i=b[c];if(n&&Object.isFunction(i)&&i.argumentNames()[0]=="$super"){var a=i;i=(function(h){return function(){return n[h].apply(this,arguments)}})(c).wrap(a);i.valueOf=a.valueOf.bind(a);i.toString=a.toString.bind(a)}this.prototype[c]=i}return this}return{create:d,Methods:{addMethods:g}}})();(function(){var z=Object.prototype.toString;function w(c,a){for(var b in a){c[b]=a[b]}return c}function s(b){try{if(y(b)){return"undefined"}if(b===null){return"null"}return b.inspect?b.inspect():String(b)}catch(a){if(a instanceof RangeError){return"..."}throw a}}function t(f){var c=typeof f;switch(c){case"undefined":case"function":case"unknown":return;case"boolean":return f.toString()}if(f===null){return"null"}if(f.toJSON){return f.toJSON()}if(v(f)){return}var d=[];for(var a in f){var b=t(f[a]);if(!y(b)){d.push(a.toJSON()+": "+b)}}return"{"+d.join(", ")+"}"}function p(c){var b=[];for(var a in c){b.push(a)}return b}function r(c){var b=[];for(var a in c){b.push(c[a])}return b}function u(a){return w({},a)}function v(a){return !!(a&&a.nodeType==1)}function x(a){return z.call(a)=="[object Array]"}function o(a){return a instanceof Hash}function A(a){return typeof a==="function"}function B(a){return z.call(a)=="[object String]"}function q(a){return z.call(a)=="[object Number]"}function y(a){return typeof a==="undefined"}w(Object,{extend:w,inspect:s,toJSON:t,keys:p,values:r,clone:u,isElement:v,isArray:x,isHash:o,isFunction:A,isString:B,isNumber:q,isUndefined:y})})();Object.extend(Function.prototype,(function(){var l=Array.prototype.slice;function s(c,b){var d=c.length,a=b.length;while(a--){c[d+a]=b[a]}return c}function n(a,b){a=l.call(a,0);return s(a,b)}function p(){var a=this.toString().match(/^[\s\(]*function[^(]*\(([^)]*)\)/)[1].replace(/\/\/.*?[\r\n]|\/\*(?:.|[\r\n])*?\*\//g,"").replace(/\s+/g,"").split(",");return a.length==1&&!a[0]?[]:a}function o(c){if(arguments.length<2&&Object.isUndefined(arguments[0])){return this}var b=this,a=l.call(arguments,1);return function(){var d=n(a,arguments);return b.apply(c,d)}}function q(c){var b=this,a=l.call(arguments,1);return function(d){var f=s([d||window.event],a);return b.apply(c,f)}}function m(){if(!arguments.length){return this}var b=this,a=l.call(arguments,0);return function(){var c=n(a,arguments);return b.apply(this,c)}}function r(c){var b=this,a=l.call(arguments,1);c=c*1000;return window.setTimeout(function(){return b.apply(b,a)},c)}function v(){var a=s([0.01],arguments);return this.delay.apply(this,a)}function t(a){var b=this;return function(){var c=s([b.bind(this)],arguments);return a.apply(this,c)}}function u(){if(this._methodized){return this._methodized}var a=this;return this._methodized=function(){var b=s([this],arguments);return a.apply(null,b)}}return{argumentNames:p,bind:o,bindAsEventListener:q,curry:m,delay:r,defer:v,wrap:t,methodize:u}})());function initRollovers(){if(!document.getElementById){return}var f=new Array();var a;var h=document.getElementsByTagName("img");for(var c=0;c<h.length;c++){if(h[c].className=="on"){var g=h[c].getAttribute("src");var b=g.substring(g.lastIndexOf("."),g.length);var d=g.replace(b,"_on"+b);h[c].setAttribute("hsrc",d);f[c]=new Image();f[c].src=d;h[c].onmouseover=function(){a=this.getAttribute("src");this.setAttribute("src",this.getAttribute("hsrc"))};h[c].onmouseout=function(){if(!a){a=this.getAttribute("src").replace("_on"+b,b)}this.setAttribute("src",a)}}}}try{window.addEventListener("load",initRollovers,false)}catch(e){window.attachEvent("onload",initRollovers)}jQuery.cookie=function(d,f,b){if(arguments.length>1&&(f===null||typeof f!=="object")){b=jQuery.extend({},b);if(f===null){b.expires=-1}if(typeof b.expires==="number"){var h=b.expires,c=b.expires=new Date();c.setDate(c.getDate()+h)}return(document.cookie=[encodeURIComponent(d),"=",b.raw?String(f):encodeURIComponent(String(f)),b.expires?"; expires="+b.expires.toUTCString():"",b.path?"; path="+b.path:"",b.domain?"; domain="+b.domain:"",b.secure?"; secure":""].join(""))}b=f||{};var a,g=b.raw?function(i){return i}:decodeURIComponent;return(a=new RegExp("(?:^|; )"+encodeURIComponent(d)+"=([^;]*)").exec(document.cookie))?g(a[1]):null};(function(c){var b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";var d=function(g){g=g.replace(/\x0d\x0a/g,"\x0a");var f="";for(var i=0;i<g.length;i++){var h=g.charCodeAt(i);if(h<128){f+=String.fromCharCode(h)}else{if((h>127)&&(h<2048)){f+=String.fromCharCode((h>>6)|192);f+=String.fromCharCode((h&63)|128)}else{f+=String.fromCharCode((h>>12)|224);f+=String.fromCharCode(((h>>6)&63)|128);f+=String.fromCharCode((h&63)|128)}}}return f};var a=function(f){var g="";var h=0;var j=c1=c2=0;while(h<f.length){j=f.charCodeAt(h);if(j<128){g+=String.fromCharCode(j);h++}else{if((j>191)&&(j<224)){c2=f.charCodeAt(h+1);g+=String.fromCharCode(((j&31)<<6)|(c2&63));h+=2}else{c2=f.charCodeAt(h+1);c3=f.charCodeAt(h+2);g+=String.fromCharCode(((j&15)<<12)|((c2&63)<<6)|(c3&63));h+=3}}}return g};c.extend({base64Encode:function(h){var f="";var p,n,l,o,m,k,j;var g=0;h=d(h);while(g<h.length){p=h.charCodeAt(g++);n=h.charCodeAt(g++);l=h.charCodeAt(g++);o=p>>2;m=((p&3)<<4)|(n>>4);k=((n&15)<<2)|(l>>6);j=l&63;if(isNaN(n)){k=j=64}else{if(isNaN(l)){j=64}}f=f+b.charAt(o)+b.charAt(m)+b.charAt(k)+b.charAt(j)}return f},base64Decode:function(h){var f="";var p,n,l;var o,m,k,j;var g=0;h=h.replace(/[^A-Za-z0-9\+\/\=]/g,"");while(g<h.length){o=b.indexOf(h.charAt(g++));m=b.indexOf(h.charAt(g++));k=b.indexOf(h.charAt(g++));j=b.indexOf(h.charAt(g++));p=(o<<2)|(m>>4);n=((m&15)<<4)|(k>>2);l=((k&3)<<6)|j;f=f+String.fromCharCode(p);if(k!=64){f=f+String.fromCharCode(n)}if(j!=64){f=f+String.fromCharCode(l)}}f=a(f);return f}})})(jQuery);if(typeof(SuperPass)=="undefined"){SuperPass={}}SuperPass.Base=Class.create({initialize:function(){},getUrlVars:function(){var d=[],c;var a=window.location.href.slice(window.location.href.indexOf("?")+1).split("&");for(var b=0;b<a.length;b++){c=a[b].split("=");d.push(c[0]);d[c[0]]=c[1]}return d}});if(typeof(SuperPass)=="undefined"){SuperPass={}}SuperPass.Common=Class.create({initialize:function(){}});Object.extend(SuperPass.Common,{isPublish:function(){return(location.hostname.indexOf("preview")!==-1||location.hostname.indexOf("rp.asia.real.com")!==-1||location.hostname.indexOf("rp.tw.real.com")!==-1||location.hostname.indexOf("video.au.real.com")!==-1||location.hostname.indexOf("taiwan.real.com")!==-1||location.hostname.indexOf("guide.jp.real.com")!==-1||location.pathname.indexOf("/pub/1")!==-1||location.pathname.indexOf(".htm")!==-1)},getLibraryParam:function(){var a=location.pathname.match(/library\/jp|library\/tw|library\/apac/)||"library/apac";return a},checkAdult:function(){var a="isadult";if($.cookie(a)==null){location.href=SuperPass.Common.isPublish()?"/guide/notice.htm":"/superpass/notice/"+SuperPass.Common.getLibraryParam()+"/"}else{location.href=SuperPass.Common.isPublish()?"/guide/genre_gravure_date_1.htm":"/superpass/genre/genre/gravure/"+SuperPass.Common.getLibraryParam()+"/"}},setAdultNotice:function(){$("a").each(function(b,c){var a=$(this).attr("href");if(a.indexOf("adult=1")!==-1){$(this).click(function(d){d.preventDefault();SuperPass.Common.checkAdult(a)})}})},isInstalledFlashPlayer:function(){var b=0;if(navigator.plugins&&navigator.mimeTypes["application/x-shockwave-flash"]){var c=navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin;if(c){b=parseInt(c.description.match(/\d+\.\d+/))}}else{try{var a=new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").match(/([0-9]+)/);if(a){b=parseInt(a[0])}}catch(d){}}if(b<=6){b=0}return(b!==0)},writeFooterAdByAdmax:function(b){if(b.response.errorcode){}else{var a=b.response.countryCode;switch(a){case"ID":document.write('<script language=JavaScript src="http://a.admaxserver.com/servlet/ajrotator/440602/0/vj?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=e87c74e0-fa2c-4de4-8918-49749fe43b79"><\/script><noscript><a href="http://a.admaxserver.com/servlet/ajrotator/440602/0/cc?z=admaxasia2&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=e87c74e0-fa2c-4de4-8918-49749fe43b79"><img src="http://a.admaxserver.com/servlet/ajrotator/440602/0/vc?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=e87c74e0-fa2c-4de4-8918-49749fe43b79&abr=$imginiframe" width="728" height="90" border="0"></a></noscript>');break;case"SG":document.write('<script language=JavaScript src="http://a.admaxserver.com/servlet/ajrotator/440601/0/vj?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=108c2ad6-4c73-49b7-a779-2fd0f0e0a209"><\/script><noscript><a href="http://a.admaxserver.com/servlet/ajrotator/440601/0/cc?z=admaxasia2&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=108c2ad6-4c73-49b7-a779-2fd0f0e0a209"><img src="http://a.admaxserver.com/servlet/ajrotator/440601/0/vc?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=108c2ad6-4c73-49b7-a779-2fd0f0e0a209&abr=$imginiframe" width="728" height="90" border="0"></a></noscript>');break;case"TH":document.write('<script language=JavaScript src="http://a.admaxserver.com/servlet/ajrotator/440603/0/vj?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=253e7ebd-0e6f-4619-9a89-ff003a92f315"><\/script><noscript><a href="http://a.admaxserver.com/servlet/ajrotator/440603/0/cc?z=admaxasia2&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=253e7ebd-0e6f-4619-9a89-ff003a92f315"><img src="http://a.admaxserver.com/servlet/ajrotator/440603/0/vc?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=253e7ebd-0e6f-4619-9a89-ff003a92f315&abr=$imginiframe" width="728" height="90" border="0"></a></noscript>');break;case"VN":document.write('<script language=JavaScript src="http://a.admaxserver.com/servlet/ajrotator/440605/0/vj?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=4ee29b4a-9d73-4513-853d-0bca6ec17dce"><\/script><noscript><a href="http://a.admaxserver.com/servlet/ajrotator/440605/0/cc?z=admaxasia2&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=4ee29b4a-9d73-4513-853d-0bca6ec17dce"><img src="http://a.admaxserver.com/servlet/ajrotator/440605/0/vc?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=4ee29b4a-9d73-4513-853d-0bca6ec17dce&abr=$imginiframe" width="728" height="90" border="0"></a></noscript>');break;case"MY":document.write('<script language=JavaScript src="http://a.admaxserver.com/servlet/ajrotator/440606/0/vj?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=c81a068b-b7d2-4565-8c8a-48e1a1348dec"><\/script><noscript><a href="http://a.admaxserver.com/servlet/ajrotator/440606/0/cc?z=admaxasia2&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=c81a068b-b7d2-4565-8c8a-48e1a1348dec"><img src="http://a.admaxserver.com/servlet/ajrotator/440606/0/vc?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=c81a068b-b7d2-4565-8c8a-48e1a1348dec&abr=$imginiframe" width="728" height="90" border="0"></a></noscript>');break;case"PH":document.write('<script language=JavaScript src="http://a.admaxserver.com/servlet/ajrotator/440604/0/vj?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=53cb6aef-5136-4493-b4a0-3bd35882d64b"><\/script><noscript><a href="http://a.admaxserver.com/servlet/ajrotator/440604/0/cc?z=admaxasia2&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=53cb6aef-5136-4493-b4a0-3bd35882d64b"><img src="http://a.admaxserver.com/servlet/ajrotator/440604/0/vc?z=admaxasia2&dim=280673&pid=6ab8f582-7f51-4712-a3bb-d371a8577cb6&asid=53cb6aef-5136-4493-b4a0-3bd35882d64b&abr=$imginiframe" width="728" height="90" border="0"></a></noscript>');break;default:google_ad_client="ca-pub-9181538905516544";google_ad_slot="7709851693";google_ad_width=728;google_ad_height=90;document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>');break}}},writeFooterAdByCountry:function(b){if(b.response.errorcode){}else{var a=b.response.countryCode;switch(a){case"AU":if(typeof(ord)=="undefined"){ord=Math.random()*10000000000000000}document.write('<iframe src="http://ad.au.doubleclick.net/adi/real.jp/guide/leaderboard_728x90/home/;sect=au_superpass_728x90;sz=728x90;ord='+ord+'?" width="728" height="90" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>');break;default:google_ad_client="ca-pub-9181538905516544";google_ad_slot="0343551282";google_ad_width=728;google_ad_height=90;document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>');break}}},writeRectangleAdByCountry:function(b){if(b.response.errorcode){}else{var a=b.response.countryCode;if(a=="AU"&&$("#hasGravure")!=null&&$("#hasGravure")!="1"){document.write("<script type='text/javascript' src='http://partner.googleadservices.com/gampad/google_service.js'><\/script>");document.write("<script type='text/javascript'>GS_googleAddAdSenseService(\"ca-pub-7054404759274016\");GS_googleEnableAllServices();<\/script>");document.write('<script type=\'text/javascript\'>GA_googleAddSlot("ca-pub-7054404759274016", "Real_Island");<\/script>');document.write("<script type='text/javascript'>GA_googleFetchAds();<\/script><!-- Real_Island -->");document.write("<script type='text/javascript'>GA_googleFillSlot(\"Real_Island\");<\/script>")}else{google_ad_client="ca-pub-9181538905516544";google_ad_slot="3976846634";google_ad_width=300;google_ad_height=250;document.write('<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"><\/script>')}}},openMatureModal:function(b){var a=$("<br />");var g=$("<span />").addClass("ui-icon ui-icon-alert").css({"text-align":"center",margin:"0px auto"});var c=$("<p />").append(superpass.tmpl.translate({source:"Video content you are about to see contains sexually-oriented nudity designed to be viewed by adults and therefore may be unsuitable for children."})).css({color:"black",margin:"3px"});var d=$("<p />").append(superpass.tmpl.translate({source:"Would you like to proceed?"})).css({color:"black"});var f=$("<div />").append(c).append(a).append(a).append(d);f.dialog({title:superpass.tmpl.translate({source:"Notice"}),width:600,resizable:false,draggable:false,modal:true,buttons:[{text:superpass.tmpl.translate({source:"Yes"}),click:function(){location.href=b}},{text:superpass.tmpl.translate({source:"No"}),click:function(){$(this).dialog("close")}}]});$("div.ui-widget-overlay").click(function(h){f.dialog("close")})},setMatureAlert:function(){$("a").each(function(b,c){var a=$(this).attr("href");if(a.indexOf("mature=1")!==-1){$(this).click(function(d){d.preventDefault();SuperPass.Common.openMatureModal(a)})}})}});google.setOnLoadCallback(function(){SuperPass.Common.setMatureAlert();SuperPass.Common.setAdultNotice()});if(typeof(SuperPass.Module)==="undefined"){SuperPass.Module={}}SuperPass.Module.Flvplayer=Class.create({});Object.extend(SuperPass.Module.Flvplayer,{_playerSwf:"superpass/swf/player.swf",_defaultWidth:576,_defaultHeight:324,_defaultParams:{quality:"high",bgcolor:"#000000",time:"20100729",play:"true",loop:"true",devicefont:"false",menu:"true",allowFullScreen:"true",wmode:"transparent",allowScriptAccess:"sameDomain"},embed:function(b,h,f,a,i,d,g,c){f=(f===undefined)?this._defaultWidth:f;a=(a===undefined)?this._defaultHeight:a;i=(i===undefined)?this._defaultParams:Object.extend(this._defaultParams,i);if(d===undefined){d=(SuperPass.Common.isPublish())?this._playerSwf:"/"+this._playerSwf}swfobject.embedSWF(d,b,f,a,"9.0.0","",{src:h,gaIds:SuperPass.Common.defaultGAProfileIds,slist:g,fss:c},i)}});SuperPass.Common.library="apac";SuperPass.Common.spEntitlements={S448:{code:"S448",name:"SuperPass",priority:0},S940:{code:"S940",name:"SuperPass",priority:0},S941:{code:"S941",name:"Unlimited",priority:1}};SuperPass.Common.signupUrl="https://globalstore.real.com/rn/1002/en/au/?src=apac_sp-su_spu30_fr-front";SuperPass.Common.upgradeUrl="https://globalstore.real.com/rn/1015/en/au/?src=apac_sp-su_um_fr-front";SuperPass.Common.forgotPasswordUrl="https://store.real.com/fyp/Process.rnce?type=forgetPwd&languagecode=EN&countrycode=US";SuperPass.Common.defaultGAProfileIds=["UA-6892386-1","UA-13190953-6"];SuperPass.Header=Class.create(SuperPass.Base,{_loginManager:null,initialize:function(){this._loginManager=new SuperPass.LoginManager();this._setEventHandler()},_setEventHandler:function(){$("#logout").click(function(){this._loginManager.deleteCookie();location.href=this._loginManager.getLogoutRedirectUrl()}.bind(this))},view:function(){$("#upgrade").after("|");if(this._loginManager.isLogin()){var b=this._loginManager.getUserAccount();var a=this._loginManager.getUserSpEntitlementName();$("#account").html(b);$(".superpass").html("["+a+"]");$("#logout").html(superpass.tmpl.translate({source:"Logout"})).attr("href","#");if(a==="Unlimited"){$("#upgrade").remove()}else{if(SuperPass.Common.library==="jp"){$("#upgrade").html("ホーム").attr("href","index.htm")}else{$("#upgrade").html(superpass.tmpl.translate({source:"Upgrade"})).click(function(){recordOutboundLink(SuperPass.Common.upgradeUrl,"RP_header_OrderPath_Unlimited","globalstore.real.com");return false})}}}else{var c=this._loginManager.getLoginUrl();$("#logout").html(superpass.tmpl.translate({source:"Login"})).attr("href",c);if(SuperPass.Common.library==="jp"){$("#upgrade").html("ホーム").attr("href","http://guide.jp.real.com/")}else{$("#upgrade").html(superpass.tmpl.translate({source:"Sign up"})).click(function(){recordOutboundLink(SuperPass.Common.signupUrl,"RP_header_OrderPath_SuperPass","globalstore.real.com");return false})}$("#logout").click(function(){this._loginManager.setDone()}.bind(this))}}});$(document).ready(function(){var a=new SuperPass.Header();a.view()});SuperPass.LoginManager=Class.create(SuperPass.Base,{_cookieExpiresDate:14,_cookieNameSuperpass:"spdarf",_cookieNameEntitlement:"spdarfen",_cookieNameAccount:"spdarfem",_cookieNameDone:"done",_cookieDomain:".real.com",_cookiePath:"/",_userEntitlements:null,initialize:function(){},getCookieNameSuperpass:function(){return this._cookieNameSuperpass},getUserEntitlements:function(c){if(this._userEntitlements){return this._userEntitlements}if(!c){c=$.cookie(this._cookieNameSuperpass)}if(c){var a=c.split("@");if(a[1]){var d=a[1].split("|");if(d[0]){var b=d[0].split("/");if(b[0]){this._userEntitlements=b[0].split(":");return this._userEntitlements}}}}},getLoginCookieContent:function(){return $.cookie(this._cookieNameSuperpass)},getUserAccount:function(){return $.cookie(this._cookieNameAccount)},getUserSpEntitlementName:function(d){var a=null;var c=this.getUserEntitlements(d);if(c){var g=this.getSpEntitlements();for(var b=0;b<c.length;b++){var f=c[b];if(g[f]){if(!a||(a&&a.priority<g[f].priority)){a=g[f]}}}}if(a&&a.name){return a.name}else{return null}},getSpEntitlements:function(){return SuperPass.Common.spEntitlements},getLoginUrl:function(){return SuperPass.Common.isPublish()?"./login.htm":"/superpass/login/"+SuperPass.Common.getLibraryParam()+"/"},getLogoutRedirectUrl:function(){return SuperPass.Common.isPublish()?"./index.htm":"/superpass/index/"+SuperPass.Common.getLibraryParam()+"/"},getDone:function(){return $.cookie(this._cookieNameDone)},setDone:function(){var a=location.href;$.cookie(this._cookieNameDone,a,{expires:null,path:this._cookiePath,domain:this._cookieDomain})},setCookie:function(a,b,c){if(c){$.cookie(a.name,a.content,{expires:this._cookieExpiresDate,path:a.path,domain:a.domain});$.cookie(this._cookieNameAccount,b,{expires:this._cookieExpiresDate,path:a.path,domain:a.domain})}else{$.cookie(a.name,a.content,{expires:null,path:a.path,domain:a.domain});$.cookie(this._cookieNameAccount,b,{expires:null,path:a.path,domain:a.domain})}},deleteCookie:function(){$.cookie(this._cookieNameSuperpass,"",{expires:-1,path:this._cookiePath,domain:this._cookieDomain});$.cookie(this._cookieNameEntitlement,"",{expires:-1,path:this._cookiePath,domain:this._cookieDomain});$.cookie(this._cookieNameAccount,"",{expires:-1,path:this._cookiePath,domain:this._cookieDomain})},hasSpEntitlement:function(){var a=this.getUserSpEntitlementName();return(a)},isSuperpassUser:function(){var a=this.getUserSpEntitlementName();return(a==="SuperPass")},isUnlimitedUser:function(){var a=this.getUserSpEntitlementName();return(a==="Unlimited"||a==="RealEntertainment")},isLogin:function(){var b=this.getLoginCookieContent();var a=this.getUserSpEntitlementName();var c=this.getUserAccount();return(b&&a&&c)}});SuperPass.TopPage=Class.create(SuperPass.Base,{_interval:7000,_featureIndex:0,_featureImages:null,_featureThumbnails:null,_featureTitles:null,_featureTimer:null,initialize:function(){this._featureImages=$("#main a");this._featureThumbnails=$("#pickup li");this._featureTitles=$("#pickup p");this.initModule()},initModule:function(){this._featureThumbnails.each(function(a,b){if(a===0){$(b).addClass("active");this._featureImages.each(function(c,d){if(c!==0){$(d).hide()}});this._featureTitles.each(function(c,d){if(c!==0){$(d).hide()}})}$(b).mouseover(function(){clearInterval(this._featureTimer);this._featureIndex=a;this._featureThumbnails.removeClass("active").eq(this._featureIndex).addClass("active");this._featureImages.each(function(c,d){if(c!==this._featureIndex){$(d).hide()}}.bind(this));this._featureTitles.each(function(c,d){if(c!==this._featureIndex){$(d).hide()}}.bind(this));this._featureImages.eq(this._featureIndex).fadeIn("fast",function(){this._featureImages.each(function(c,d){if(c!==this._featureIndex){$(d).hide()}}.bind(this))}.bind(this));this._featureTitles.eq(this._featureIndex).show()}.bind(this));$(b).mouseout(function(){clearInterval(this._featureTimer);this.rotate(this._interval)}.bind(this))}.bind(this))},view:function(a){this._featureThumbnails.removeClass("active").eq(a).addClass("active");this._featureImages.hide().eq(a).fadeIn();this._featureTitles.hide().eq(a).show()},rotate:function(a){this._interval=a;this._featureTimer=setInterval(function(){this._featureIndex++;var b=this._featureIndex%4;this.view(b)}.bind(this),this._interval)}});$(document).ready(function(){var a=new SuperPass.TopPage();a.rotate(7000)});
