var currentPage='';var newContent='';$(function(){$('#contactform').FormValidate({phpFile:"send.php",ajax:true,validCheck:false});$('.boxed').corner();$('#special-offer').corner();$('.link-home').click(function(){switchPage('home');});$('.link-galleries').click(function(){switchPage('galleries');});$('.link-packages').click(function(){switchPage('packages');});$('.link-about').click(function(){switchPage('about');});$('.link-blog').click(function(){document.location.href='/vancouver/';});$('.link-contact').click(function(){switchPage('contact');});$('#overlay').click(function(){$('#overlay').hide();});if(firstPage=='gallery-weddings'||firstPage=='gallery-engagements'||firstPage=='gallery-family'||firstPage=='gallery-street'||firstPage=='gallery-birth'||firstPage=='gallery-newborns')
{loadFrame(firstPage.replace('gallery-',''));}
else
{switchPage(firstPage);}});function intro()
{if(firstPage!='home')
{}
else
{$('#overlay').css('width',document.body.offsetWidth);setTimeout('intro2()',1200);}}
function intro2()
{$('#overlay').fadeOut(1500);rotationStart();}
function check_anchor()
{if(document.location.hash!=''&&'#'+currentPage!=document.location.hash)
{newPage=document.location.hash.replace('#','');if(newPage=='gallery-weddings'||newPage=='gallery-engagements'||newPage=='gallery-family'||newPage=='gallery-street'||newPage=='gallery-birth'||newpage=='gallery-newborns')
{loadFrame(newPage.replace('gallery-',''));}
else
{switchPage(newPage);}
currentPage=newPage;}
else if(document.location.hash==''&&currentPage!='home')
{switchPage('home');currentPage='home';}}
function loadFrame(frame)
{var framename='gf'+frame;var url='http://www.shotinvancouver.com/if-gallery.php?gallery='+frame+'&r='+currenttime;switchPage('gallery-'+frame);$('#iframe-'+frame).attr('src',url);}
function switchPage(page)
{var oldPage=currentPage;if(currentPage!=page)
{if(currentPage!='')
{$('#'+currentPage).fadeOut(1000,function(){$('#'+page).fadeIn(500);});}
else
{$('#'+page).fadeIn();}
if(page!='home'&&page!='')
{$('#iframe-page').attr('src','if-page.php?page='+page);document.location.hash=page;}
else
{if(oldPage!='')
{document.location.hash='';}}
currentPage=page;}}
function rotationStart()
{var loader=$('#rotationLoader').html();$('#rotation').html(loader);$('#rotation').panelGallery({sections:5,imageTransitionDelay:6000,startDelay:6500,sectionTransitionDelay:300,repeat:true,direction:"rl"});}
jQuery.iFormValidate={build:function(user_options)
{var defaults={ajax:true,validCheck:false,phpFile:"send.php"};return $(this).each(function(){var options=$.extend(defaults,user_options);if(options.validCheck){var $inputs=$(this).find(":input").filter(":not(:submit)").filter(":not(:checkbox)").filter(":not(.novalid)");}else{var $inputs=$(this).find(":input").filter(":not(:submit)").filter(":not(:checkbox)");}
$(this).submit(function(){var $checkboxes=$(this).find(":checkbox");var isValid=jQuery.iFormValidate.validateForm($inputs);if(!isValid){return false;}
if(options.ajax){var data={};$inputs.each(function(){data[this.name]=this.value;});$checkboxes.each(function(){if($(this).is(':checked')){data[this.name]=this.value;}else{data[this.name]="";}});$(this).parent('div').fadeOut("slow",function(){$(this).load(options.phpFile,data,function(){$(this).fadeIn("slow");});});return false;}else{return true;}});$inputs.bind("keyup",jQuery.iFormValidate.validate);$inputs.filter("select").bind("change",jQuery.iFormValidate.validate);});},validateForm:function($inputs)
{var isValid=true;$inputs.filter(".is_required").each(jQuery.iFormValidate.validate);if($inputs.filter(".is_required").hasClass("invalid")){isValid=false;alert('Please fill in the empty highlighted fields before sending your email.');}
return isValid;},validate:function(){var $val=$(this).val();var isValid=true;if($(this).hasClass('vdate')){var Regex=/^([\d]|1[0,1,2]|0[1-9])(\-|\/|\.)([0-9]|[0,1,2][0-9]|3[0,1])(\-|\/|\.)\d{4}$/;isValid=Regex.test($val);}else if($(this).hasClass('vemail')){var Regex=/^([a-zA-Z0-9_\.\-\+])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/;if(!Regex.test($val)){isValid=false;}}else if($(this).hasClass('vphone')){var Regex=/^\(?[2-9]\d{2}[ \-\)] ?\d{3}[\- ]?\d{4}$/;var Regex2=/^[2-9]\d{9}$/;if((!Regex.test($val))&&(!Regex2.text($val))){isValid=false;}}else if($(this).hasClass('vzip')){var Regex=/^\d{5}$/;if(!Regex.test($val)){isValid=false;}}else if($(this).hasClass('vstate')){var Regex=/^[a-zA-Z]{2}$/;if(!Regex.test($val)){isValid=false;}}else if($(this).hasClass('vname')){var Regex=/^[a-zA-Z\ ']*$/;if(!Regex.test($val)){isValid=false;}}else if($(this).hasClass('vpasswordconfirm')){$el=$(this);while($el.attr("tagName").toLowerCase()!="form"){$el=$el.parent();}
$el=$el.find(".vpassword");var checkValue=$el.val();if($val!=checkValue){isValid=false;$el.removeClass("valid").addClass("invalid");}else{$el.removeClass("invalid").addClass("valid");}}else if($(this).hasClass('vpassword')){$el=$(this);while($el.attr("tagName").toLowerCase()!="form"){$el=$el.parent();}
$el=$el.find(".vpasswordconfirm");var checkValue=$el.val();if($val!=checkValue){isValid=false;$el.removeClass("valid").addClass("invalid");}else{$el.removeClass("invalid").addClass("valid");}}else if($val.length===0){isValid=false;}
if(isValid){$(this).removeClass("invalid");}else{$(this).addClass("invalid");}}}
jQuery.fn.FormValidate=jQuery.iFormValidate.build;
/*
 * jQuery corner plugin: simple corner rounding
 * Examples and documentation at: http://jquery.malsup.com/corner/
 * version 2.01 (08-SEP-2009)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 */
;(function($){var moz=$.browser.mozilla&&/gecko/i.test(navigator.userAgent);var webkit=$.browser.safari&&$.browser.version>=3;var expr=$.browser.msie&&(function(){var div=document.createElement('div');try{div.style.setExpression('width','0+0');}
catch(e){return false;}
return true;})();function sz(el,p){return parseInt($.css(el,p))||0;};function hex2(s){var s=parseInt(s).toString(16);return(s.length<2)?'0'+s:s;};function gpc(node){for(;node&&node.nodeName.toLowerCase()!='html';node=node.parentNode){var v=$.css(node,'backgroundColor');if(v=='rgba(0, 0, 0, 0)')
continue;if(v.indexOf('rgb')>=0){var rgb=v.match(/\d+/g);return'#'+hex2(rgb[0])+hex2(rgb[1])+hex2(rgb[2]);}
if(v&&v!='transparent')
return v;}
return'#ffffff';};function getWidth(fx,i,width){switch(fx){case'round':return Math.round(width*(1-Math.cos(Math.asin(i/width))));case'cool':return Math.round(width*(1+Math.cos(Math.asin(i/width))));case'sharp':return Math.round(width*(1-Math.cos(Math.acos(i/width))));case'bite':return Math.round(width*(Math.cos(Math.asin((width-i-1)/width))));case'slide':return Math.round(width*(Math.atan2(i,width/i)));case'jut':return Math.round(width*(Math.atan2(width,(width-i-1))));case'curl':return Math.round(width*(Math.atan(i)));case'tear':return Math.round(width*(Math.cos(i)));case'wicked':return Math.round(width*(Math.tan(i)));case'long':return Math.round(width*(Math.sqrt(i)));case'sculpt':return Math.round(width*(Math.log((width-i-1),width)));case'dog':return(i&1)?(i+1):width;case'dog2':return(i&2)?(i+1):width;case'dog3':return(i&3)?(i+1):width;case'fray':return(i%2)*width;case'notch':return width;case'bevel':return i+1;}};$.fn.corner=function(options){if(this.length==0){if(!$.isReady&&this.selector){var s=this.selector,c=this.context;$(function(){$(s,c).corner(options);});}
return this;}
return this.each(function(index){var $this=$(this);var o=(options||$this.attr($.fn.corner.defaults.metaAttr)||'').toLowerCase();var keep=/keep/.test(o);var cc=((o.match(/cc:(#[0-9a-f]+)/)||[])[1]);var sc=((o.match(/sc:(#[0-9a-f]+)/)||[])[1]);var width=parseInt((o.match(/(\d+)px/)||[])[1])||10;var re=/round|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dog/;var fx=((o.match(re)||['round'])[0]);var edges={T:0,B:1};var opts={TL:/top|tl|left/.test(o),TR:/top|tr|right/.test(o),BL:/bottom|bl|left/.test(o),BR:/bottom|br|right/.test(o)};if(!opts.TL&&!opts.TR&&!opts.BL&&!opts.BR)
opts={TL:1,TR:1,BL:1,BR:1};if($.fn.corner.defaults.useNative&&fx=='round'&&(moz||webkit)&&!cc&&!sc){if(opts.TL)
$this.css(moz?'-moz-border-radius-topleft':'-webkit-border-top-left-radius',width+'px');if(opts.TR)
$this.css(moz?'-moz-border-radius-topright':'-webkit-border-top-right-radius',width+'px');if(opts.BL)
$this.css(moz?'-moz-border-radius-bottomleft':'-webkit-border-bottom-left-radius',width+'px');if(opts.BR)
$this.css(moz?'-moz-border-radius-bottomright':'-webkit-border-bottom-right-radius',width+'px');return;}
var strip=document.createElement('div');strip.style.overflow='hidden';strip.style.height='1px';strip.style.backgroundColor=sc||'transparent';strip.style.borderStyle='solid';var pad={T:parseInt($.css(this,'paddingTop'))||0,R:parseInt($.css(this,'paddingRight'))||0,B:parseInt($.css(this,'paddingBottom'))||0,L:parseInt($.css(this,'paddingLeft'))||0};if(typeof this.style.zoom!=undefined)this.style.zoom=1;if(!keep)this.style.border='none';strip.style.borderColor=cc||gpc(this.parentNode);var cssHeight=$.curCSS(this,'height');for(var j in edges){var bot=edges[j];if((bot&&(opts.BL||opts.BR))||(!bot&&(opts.TL||opts.TR))){strip.style.borderStyle='none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none');var d=document.createElement('div');$(d).addClass('jquery-corner');var ds=d.style;bot?this.appendChild(d):this.insertBefore(d,this.firstChild);if(bot&&cssHeight!='auto'){if($.css(this,'position')=='static')
this.style.position='relative';ds.position='absolute';ds.bottom=ds.left=ds.padding=ds.margin='0';if(expr)
ds.setExpression('width','this.parentNode.offsetWidth');else
ds.width='100%';}
else if(!bot&&$.browser.msie){if($.css(this,'position')=='static')
this.style.position='relative';ds.position='absolute';ds.top=ds.left=ds.right=ds.padding=ds.margin='0';if(expr){var bw=sz(this,'borderLeftWidth')+sz(this,'borderRightWidth');ds.setExpression('width','this.parentNode.offsetWidth - '+bw+'+ "px"');}
else
ds.width='100%';}
else{ds.position='relative';ds.margin=!bot?'-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px':(pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px';}
for(var i=0;i<width;i++){var w=Math.max(0,getWidth(fx,i,width));var e=strip.cloneNode(false);e.style.borderWidth='0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px';bot?d.appendChild(e):d.insertBefore(e,d.firstChild);}}}});};$.fn.uncorner=function(){if(moz||webkit)
this.css(moz?'-moz-border-radius':'-webkit-border-radius',0);$('div.jquery-corner',this).remove();return this;};$.fn.corner.defaults={useNative:true,metaAttr:'data-corner'};})(jQuery);(function($){$.fn.extend({panelGallery:function(options)
{var defaults={sections:3,imageTransitionDelay:3000,sectionTransitionDelay:700,startDelay:2000,repeat:true,direction:"lr"};var options=$.extend(defaults,options);return this.each(function(){var o=options;var obj=$(this);$("img",obj).each(function(i){preload=new Image($(this).attr("width"),$(this).attr("height"));preload.src=$(this).attr("src");});function getRandom()
{return Math.round(Math.random()*100000000);}
function getDirection(imgIndex)
{return($("img:eq("+imgIndex+")",obj).attr("name")=="")?o.direction:$("img:eq("+imgIndex+")",obj).attr("name");}
function setupNextTransition(direction)
{if((direction=="lr"||direction=="rl"))
{if(isHorizReversed&&direction=="lr")
{panelIDArrayHoriz.reverse();isHorizReversed=false;}
if(!isHorizReversed&&direction=="rl")
{panelIDArrayHoriz.reverse();isHorizReversed=true;}
setTimeout(function(){$("#p"+panelIDArrayHoriz[0]).fadeIn(o.sectionTransitionDelay,doNext)},o.imageTransitionDelay);}
else if((direction=="tb"||direction=="bt"))
{if(isVertReversed&&direction=="tb")
{panelIDArrayVert.reverse();isVertReversed=false;}
if(!isVertReversed&&direction=="bt")
{panelIDArrayVert.reverse();isVertReversed=true;}
setTimeout(function(){$("#p"+panelIDArrayVert[0]).fadeIn(o.sectionTransitionDelay,doNext)},o.imageTransitionDelay);}}
var imgArray=$("img",obj);$("img:not(:first)",obj).hide();$("img",obj).css({'position':'absolute','top':'0px','left':'0px'});var sectionsVert=o.sections;var sectionsHoriz=o.sections;var imgWidth=$("img:first",obj).attr("width");var imgHeight=$("img:first",obj).attr("height");var sectionWidth=Math.floor(imgWidth/o.sections);var sectionHeight=Math.floor(imgHeight/o.sections);if(imgWidth%o.sections!=0)sectionsHoriz++;if(imgHeight%o.sections!=0)sectionsVert++;$(this).css({'width':imgWidth,'height':imgHeight});var imgOffsetLeft=0;var imgOffsetTop=0;var panelIDArrayVert=new Array();var panelIDArrayHoriz=new Array();for(var i=0;i<sectionsHoriz;i++)
{panelID=getRandom();$(this).append('<div class="sectionHoriz" id="p'+panelID+'">');$("#p"+panelID).css({'left':imgOffsetLeft+'px','background-position':-imgOffsetLeft+'px 50%','display':'none'});imgOffsetLeft=imgOffsetLeft+sectionWidth;panelIDArrayHoriz[i]=panelID;}
if(o.direction=="lr"||o.direction=="rl")$("div.sectionHoriz",obj).css({'top':'0px','background-repeat':'no-repeat','position':'absolute','z-index':'10','width':sectionWidth+'px','height':imgHeight+'px','float':'left','background-image':'url('+$("img:eq(1)",obj).attr("src")+')'});for(var i=0;i<sectionsVert;i++)
{panelID=getRandom();$(this).append('<div class="sectionVert" id="p'+panelID+'">');$("#p"+panelID).css({'top':imgOffsetTop+'px','background-position':'50% '+-imgOffsetTop+'px','display':'none'});imgOffsetTop=imgOffsetTop+sectionHeight;panelIDArrayVert[i]=panelID;}
$("div.sectionVert",obj).css({'left':'0px','background-repeat':'no-repeat','position':'absolute','z-index':'10','width':imgWidth+'px','height':sectionHeight+'px','background-image':'url('+$("img:eq(1)",obj).attr("src")+')'});var doingSection=0,doingImage=1,isHorizReversed=false,isVertReversed=false;function doNext()
{doingSection++;var currentDirection=getDirection(doingImage);if((currentDirection=="lr"||currentDirection=="rl")&&doingSection<sectionsHoriz)
{$("#p"+panelIDArrayHoriz[doingSection]).fadeIn(o.sectionTransitionDelay,doNext);}
else if((currentDirection=="tb"||currentDirection=="bt")&&doingSection<sectionsVert)
{$("#p"+panelIDArrayVert[doingSection]).fadeIn(o.sectionTransitionDelay,doNext);}
else
{if(doingImage==0&&o.repeat)$("img:last",obj).hide();$("img:eq("+doingImage+")",obj).show();$("div.sectionVert",obj).hide();$("div.sectionHoriz",obj).hide();doingSection=0;doingImage++;$("div.sectionHoriz",obj).css({'background-image':'url('+$("img:eq("+doingImage+")",obj).attr("src")+')'});$("div.sectionVert",obj).css({'background-image':'url('+$("img:eq("+doingImage+")",obj).attr("src")+')'});if(doingImage<imgArray.length)
{nextDirection=getDirection(doingImage);setupNextTransition(nextDirection);}
else if(o.repeat)
{doingImage=0;$("img:not(:last)",obj).hide();$("div.sectionVert",obj).hide();$("div.sectionHoriz",obj).hide();$("div.sectionHoriz",obj).css({'background-image':'url('+$("img:eq(0)",obj).attr("src")+')'});$("div.sectionVert",obj).css({'background-image':'url('+$("img:eq(0)",obj).attr("src")+')'});firstImageDirection=getDirection(0);setupNextTransition(firstImageDirection);}}}
var startDirection=($("img:eq(1)",obj).attr("name")=="")?o.direction:$("img:eq(1)",obj).attr("name");if(startDirection=="rl")
{panelIDArrayHoriz.reverse();isHorizReversed=true;}
if(startDirection=="bt")
{panelIDArrayVert.reverse();isVertReversed=true;}
var startArray=(startDirection=="lr"||startDirection=="rl")?panelIDArrayHoriz[0]:panelIDArrayVert[0];setTimeout(function(){$("#p"+startArray).fadeIn(o.sectionTransitionDelay,doNext)},o.startDelay);});}});})(jQuery);if(typeof deconcept=="undefined"){var deconcept=new Object();}if(typeof deconcept.util=="undefined"){deconcept.util=new Object();}if(typeof deconcept.SWFObjectUtil=="undefined"){deconcept.SWFObjectUtil=new Object();}deconcept.SWFObject=function(_1,id,w,h,_5,c,_7,_8,_9,_a){if(!document.getElementById){return;}this.DETECT_KEY=_a?_a:"detectflash";this.skipDetect=deconcept.util.getRequestParameter(this.DETECT_KEY);this.params=new Object();this.variables=new Object();this.attributes=new Array();if(_1){this.setAttribute("swf",_1);}if(id){this.setAttribute("id",id);}if(w){this.setAttribute("width",w);}if(h){this.setAttribute("height",h);}if(_5){this.setAttribute("version",new deconcept.PlayerVersion(_5.toString().split(".")));}this.installedVer=deconcept.SWFObjectUtil.getPlayerVersion();if(!window.opera&&document.all&&this.installedVer.major>7){deconcept.SWFObject.doPrepUnload=true;}if(c){this.addParam("bgcolor",c);}var q=_7?_7:"high";this.addParam("quality",q);this.setAttribute("useExpressInstall",false);this.setAttribute("doExpressInstall",false);var _c=(_8)?_8:window.location;this.setAttribute("xiRedirectUrl",_c);this.setAttribute("redirectUrl","");if(_9){this.setAttribute("redirectUrl",_9);}};deconcept.SWFObject.prototype={useExpressInstall:function(_d){this.xiSWFPath=!_d?"expressinstall.swf":_d;this.setAttribute("useExpressInstall",true);},setAttribute:function(_e,_f){this.attributes[_e]=_f;},getAttribute:function(_10){return this.attributes[_10];},addParam:function(_11,_12){this.params[_11]=_12;},getParams:function(){return this.params;},addVariable:function(_13,_14){this.variables[_13]=_14;},getVariable:function(_15){return this.variables[_15];},getVariables:function(){return this.variables;},getVariablePairs:function(){var _16=new Array();var key;var _18=this.getVariables();for(key in _18){_16[_16.length]=key+"="+_18[key];}return _16;},getSWFHTML:function(){var _19="";if(navigator.plugins&&navigator.mimeTypes&&navigator.mimeTypes.length){if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","PlugIn");this.setAttribute("swf",this.xiSWFPath);}_19="<embed type=\"application/x-shockwave-flash\" src=\""+this.getAttribute("swf")+"\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\"";_19+=" id=\""+this.getAttribute("id")+"\" name=\""+this.getAttribute("id")+"\" ";var _1a=this.getParams();for(var key in _1a){_19+=[key]+"=\""+_1a[key]+"\" ";}var _1c=this.getVariablePairs().join("&");if(_1c.length>0){_19+="flashvars=\""+_1c+"\"";}_19+="/>";}else{if(this.getAttribute("doExpressInstall")){this.addVariable("MMplayerType","ActiveX");this.setAttribute("swf",this.xiSWFPath);}_19="<object id=\""+this.getAttribute("id")+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" width=\""+this.getAttribute("width")+"\" height=\""+this.getAttribute("height")+"\" style=\""+this.getAttribute("style")+"\">";_19+="<param name=\"movie\" value=\""+this.getAttribute("swf")+"\" />";var _1d=this.getParams();for(var key in _1d){_19+="<param name=\""+key+"\" value=\""+_1d[key]+"\" />";}var _1f=this.getVariablePairs().join("&");if(_1f.length>0){_19+="<param name=\"flashvars\" value=\""+_1f+"\" />";}_19+="</object>";}return _19;},write:function(_20){if(this.getAttribute("useExpressInstall")){var _21=new deconcept.PlayerVersion([6,0,65]);if(this.installedVer.versionIsValid(_21)&&!this.installedVer.versionIsValid(this.getAttribute("version"))){this.setAttribute("doExpressInstall",true);this.addVariable("MMredirectURL",escape(this.getAttribute("xiRedirectUrl")));document.title=document.title.slice(0,47)+" - Flash Player Installation";this.addVariable("MMdoctitle",document.title);}}if(this.skipDetect||this.getAttribute("doExpressInstall")||this.installedVer.versionIsValid(this.getAttribute("version"))){var n=(typeof _20=="string")?document.getElementById(_20):_20;n.innerHTML=this.getSWFHTML();return true;}else{if(this.getAttribute("redirectUrl")!=""){document.location.replace(this.getAttribute("redirectUrl"));}}return false;}};deconcept.SWFObjectUtil.getPlayerVersion=function(){var _23=new deconcept.PlayerVersion([0,0,0]);if(navigator.plugins&&navigator.mimeTypes.length){var x=navigator.plugins["Shockwave Flash"];if(x&&x.description){_23=new deconcept.PlayerVersion(x.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,".").split("."));}}else{if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){var axo=1;var _26=3;while(axo){try{_26++;axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+_26);_23=new deconcept.PlayerVersion([_26,0,0]);}catch(e){axo=null;}}}else{try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");}catch(e){try{var axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");_23=new deconcept.PlayerVersion([6,0,21]);axo.AllowScriptAccess="always";}catch(e){if(_23.major==6){return _23;}}try{axo=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");}catch(e){}}if(axo!=null){_23=new deconcept.PlayerVersion(axo.GetVariable("$version").split(" ")[1].split(","));}}}return _23;};deconcept.PlayerVersion=function(_29){this.major=_29[0]!=null?parseInt(_29[0]):0;this.minor=_29[1]!=null?parseInt(_29[1]):0;this.rev=_29[2]!=null?parseInt(_29[2]):0;};deconcept.PlayerVersion.prototype.versionIsValid=function(fv){if(this.major<fv.major){return false;}if(this.major>fv.major){return true;}if(this.minor<fv.minor){return false;}if(this.minor>fv.minor){return true;}if(this.rev<fv.rev){return false;}return true;};deconcept.util={getRequestParameter:function(_2b){var q=document.location.search||document.location.hash;if(_2b==null){return q;}if(q){var _2d=q.substring(1).split("&");for(var i=0;i<_2d.length;i++){if(_2d[i].substring(0,_2d[i].indexOf("="))==_2b){return _2d[i].substring((_2d[i].indexOf("=")+1));}}}return"";}};deconcept.SWFObjectUtil.cleanupSWFs=function(){var _2f=document.getElementsByTagName("OBJECT");for(var i=_2f.length-1;i>=0;i--){_2f[i].style.display="none";for(var x in _2f[i]){if(typeof _2f[i][x]=="function"){_2f[i][x]=function(){};}}}};if(deconcept.SWFObject.doPrepUnload){if(!deconcept.unloadSet){deconcept.SWFObjectUtil.prepUnload=function(){__flash_unloadHandler=function(){};__flash_savedUnloadHandler=function(){};window.attachEvent("onunload",deconcept.SWFObjectUtil.cleanupSWFs);};window.attachEvent("onbeforeunload",deconcept.SWFObjectUtil.prepUnload);deconcept.unloadSet=true;}}if(!document.getElementById&&document.all){document.getElementById=function(id){return document.all[id];};}var getQueryParamValue=deconcept.util.getRequestParameter;var FlashObject=deconcept.SWFObject;var SWFObject=deconcept.SWFObject;