function ImageObject(){this.laser_hide=laser_hide;this.laser_set_css=laser_set_css;this.laser_show_image=laser_show_image;this.laser_find_center=laser_find_center}function VideoObject(){this.laser_hide=laser_hide;this.laser_set_css=laser_set_css;this.laser_show_video=laser_show_video;this.laser_find_center=laser_find_center}function AjaxObject(){this.laser_hide=laser_hide;this.laser_set_css=laser_set_css;this.laser_show_ajax=laser_show_ajax;this.laser_find_center=laser_find_center}function IframeObject(){this.laser_hide=laser_hide;this.laser_set_css=laser_set_css;this.laser_show_iframe=laser_show_iframe;this.laser_find_center=laser_find_center}function laser_show_image(){this.laser_set_css();jQuery("#"+this.name).append("<img src='"+this.url+"' />")}function laser_show_ajax(){this.laser_set_css();jQuery("#"+this.name).load(this.url)}function laser_show_iframe(){this.laser_set_css();jQuery("#"+this.name).append("<iframe name='iframe_"+this.name+"' frameborder='0'  vspace='0'  hspace='0'  marginwidth='0'  marginheight='0' width='"+this.width+"'  scrolling='no'  height='"+this.height+"'  src='"+this.url+"'></iframe>")}function laser_show_video(){this.laser_set_css();jQuery("#"+this.name).append("<object width='"+this.width+"' height='"+this.height+"'><param name='movie' value='"+this.url+"'><param name='wmode' value='transparent'><param name='allowScriptAccess' value='sameDomain'><embed src='"+this.url+"' width='"+this.width+"' height='"+this.height+"' wmode='transparent'></embed></object>")}function laser_set_css(){var dn="#"+this.name;jQuery(dn).remove();jQuery("#video").append("<div id='"+this.name+"'/>");if(this.anchor_bottom){if(jQuery.browser.msie){jQuery("html body").css("overflow","auto");jQuery(dn).css("position","absolute")}else jQuery(dn).css("position","fixed");jQuery(dn).css("bottom",this.bottom||"0")}else{jQuery(dn).css("position","absolute");jQuery(dn).css("top",this.top)}if(this.anchor_right)jQuery(dn).css("right","0");else jQuery(dn).css("left",this.left+this.laser_find_center());jQuery(dn).css("width",this.width);jQuery(dn).css("height",this.height);jQuery(dn).css("z-index",this.zindex)}function laser_hide(){jQuery("#"+this.name).remove()}function laser_soft_hide(){jQuery("#"+this.name).hide()}function laser_find_center(){if(this.center)return jQuery(window).width()/2;else return 0}jQuery.laser_cookie=function(name,value,options){if(typeof value!="undefined"){options=options||{};if(value===null){value="";options=jQuery.extend({},options);options.expires=-1}var expires="";if(options.expires&&(typeof options.expires=="number"||options.expires.toUTCString)){var date;if(typeof options.expires=="number"){date=new Date;date.setTime(date.getTime()+options.expires*24*60*60*1e3)}else date=options.expires;expires="; expires="+date.toUTCString()}var path=options.path?"; path="+options.path:"",domain=options.domain?"; domain="+options.domain:"",secure=options.secure?"; secure":"";document.cookie=[name,"=",encodeURIComponent(value),expires,path,domain,secure].join("")}else{var cookieValue=null;if(document.cookie&&document.cookie!="")for(var cookies=document.cookie.split(";"),i=0;i<cookies.length;i++){var cookie=jQuery.trim(cookies[i]);if(cookie.substring(0,name.length+1)==name+"="){cookieValue=decodeURIComponent(cookie.substring(name.length+1));break}}return cookieValue}};jQuery(document).ready(function(laser){if(enablevideo=="1"){var web_page="http://www.hertzrent2buy.com",cookie_days=1,video=new VideoObject;video.url="Content/media/home.swf";video.name="laser_home_video_hertz";video.center=false;video.top=0;video.anchor_bottom=false;video.anchor_right=false;video.left=0;video.width=226;video.height=290;video.zindex=2;var image=new ImageObject;image.url="images/play_final.gif";image.name="play_video_image";image.center=true;image.anchor_bottom=true;image.anchor_right=true;image.top=400;image.left=-40;image.zindex=1;video.laser_show_video()}})