function sitePopupPrint(url) { lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=yes,toolbar=yes,width=500,height=550,resizable=yes"); lrgWindow.print(); } function sitePopup(url) { lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=880,height=600,resizable=yes"); } function detailSmallPopup(url) { lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=551,height=480,resizable=yes"); } function detailMediumPopup(url) { lrgWindow=window.open(url,"pic","scrollbars=yes,menubar=no,width=700,height=480,resizable=yes"); } function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i " + ((current_left*-1 + container_width) < div_width)); // document.getElementById("message").innerHTML = "current_left = " + current_left; if ((current_left*-1 + container_width) < div_width) { new Effect.Move(scrolling_div_id, { x: scroll_amount * -1, y: 0, mode: 'relative', transition: Effect.Transitions.sinoidal }); //alert("after effect"); } } // class to handle carousel sliders function DivSlider(divId, effect, effectDuration, step) { var self; var tween; var divId; var effect; var effectDuration; var step; // constructor function c(d, e, eDuration, s) { if (!window.Tween) { // load the Tween library loadScript('/shared/client_scripts/jstween/Tween.js'); } self = this; tween = null; divId = d; effectDuration = eDuration; step = s; if (e == null) effect = "strongEaseOut"; else effect = e; if (effectDuration == null || effectDuration <= 0) { effectDuration = 1.2; // seconds } if (step == null || step <= 0) { step = 200; } } // tween div left c.prototype.left = function(pos) { if (pos == null) pos = $(divId).scrollLeft - step; if (tween != null) tween.stop(); tween = new Tween($(divId), 'scrollLeft', eval("Tween." + effect), $(divId).scrollLeft, $(divId).scrollLeft < step ? 0 : pos, effectDuration); tween.start(); } // tween div right c.prototype.right = function(pos) { if (pos == null) pos = $(divId).scrollLeft + step; if (tween != null) tween.stop(); tween = new Tween($(divId), 'scrollLeft', eval("Tween." + effect), $(divId).scrollLeft, pos, effectDuration); tween.start(); } return new c(divId, effect, effectDuration, step); }; // function for passing urls to flash and tracking pop-ups function flashURLcall(URL,trackingCode) { alert(URL); if (URL.indexOf('www') == 0) { var win = window.open("http://" + URL); //location.href="http://" + URL; } else { // location.href=URL; var win = window.open(URL); } }