commit 9805cf14de51d98e62cfd4918705d59cad048d44 Author: Jan Dittberner Date: Tue Aug 26 13:10:33 2008 +0000 initialer import von douth-hiphop.de's Entwicklungsstand diff --git a/bilder/._.DS_Store b/bilder/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/bilder/._.DS_Store differ diff --git a/bilder/imginfo.txt b/bilder/imginfo.txt new file mode 100644 index 0000000..60ff030 --- /dev/null +++ b/bilder/imginfo.txt @@ -0,0 +1,5 @@ +{\rtf1\mac\ansicpg10000\cocoartf824\cocoasubrtf480 +{\fonttbl} +{\colortbl;\red255\green255\blue255;} +\paperw11900\paperh16840\margl1440\margr1440\vieww9000\viewh8400\viewkind0 +} \ No newline at end of file diff --git a/bilder/wallpaper/._.DS_Store b/bilder/wallpaper/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/bilder/wallpaper/._.DS_Store differ diff --git a/bilder/wallpaper/._All_glory_to_your_name____by_Gopedhead.jpg b/bilder/wallpaper/._All_glory_to_your_name____by_Gopedhead.jpg new file mode 100644 index 0000000..0e31d3d Binary files /dev/null and b/bilder/wallpaper/._All_glory_to_your_name____by_Gopedhead.jpg differ diff --git a/bilder/wallpaper/._photo_wallpaper_med2.jpg b/bilder/wallpaper/._photo_wallpaper_med2.jpg new file mode 100644 index 0000000..d1f6568 Binary files /dev/null and b/bilder/wallpaper/._photo_wallpaper_med2.jpg differ diff --git a/bilder/wallpaper/allglory.jpg b/bilder/wallpaper/allglory.jpg new file mode 100644 index 0000000..1ea366e Binary files /dev/null and b/bilder/wallpaper/allglory.jpg differ diff --git a/bilder/wallpaper/med2.jpg b/bilder/wallpaper/med2.jpg new file mode 100644 index 0000000..d0ce6e8 Binary files /dev/null and b/bilder/wallpaper/med2.jpg differ diff --git a/bilder/wallpaper/praise.jpg b/bilder/wallpaper/praise.jpg new file mode 100644 index 0000000..45f4ba8 Binary files /dev/null and b/bilder/wallpaper/praise.jpg differ diff --git a/bilder/wallpaper/welcome.jpg b/bilder/wallpaper/welcome.jpg new file mode 100644 index 0000000..db829ba Binary files /dev/null and b/bilder/wallpaper/welcome.jpg differ diff --git a/bilder/wallpaper/worship.jpg b/bilder/wallpaper/worship.jpg new file mode 100644 index 0000000..e56f548 Binary files /dev/null and b/bilder/wallpaper/worship.jpg differ diff --git a/bilder/wallpaper/worshipnow.jpg b/bilder/wallpaper/worshipnow.jpg new file mode 100644 index 0000000..7b22411 Binary files /dev/null and b/bilder/wallpaper/worshipnow.jpg differ diff --git a/css/._.DS_Store b/css/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/css/._.DS_Store differ diff --git a/css/._main.css b/css/._main.css new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/css/._main.css differ diff --git a/css/format.css b/css/format.css new file mode 100644 index 0000000..65aef9a --- /dev/null +++ b/css/format.css @@ -0,0 +1,77 @@ +#arrleft { + position:absolute; + top:0px; + left:0px; +} +#arrright { + position:absolute; + top:0px; + left:464px; +} +#imgscroller { + position:absolute; + top:0px; + left:10px; + width:464px; + height:65px; + overflow:hidden; +} +#scrollable { + position:absolute; + top:0px; + left:0px; + height:65px; +} +div.thumbnail { + margin-left:3px; + float:left; +} + +a.lightbox img { + border:0; +} + +.bildposition { + margin: middle; + position:relative; + top:3px; + bottom:auto; + +} +#imagedescription { +position:relative; + weight: 330px; + height: 25px; + top: 300px; + left: 0px; + color: #ffffff; + font-size:10px; + font-style:normal; + font-weight:normal; + text-align:center; + vertical-align:center; + +} +.imgdescription { + color: #ffffff; + position: absolute; + font-size:10px; + font-style:normal; + font-weight:normal; + text-align:center; +} +.sub_menu { + color:#FFFFFF; + font-size:10px; + font-weight:normal; + margin-left:2px; + margin-bottom:2px; +} +.sub_menu_colored { + color:#FF6600; + font-size:10px; + font-weight:normal; + margin-left:2px; + margin-bottom:2px; +} + diff --git a/css/grafiken/._.DS_Store b/css/grafiken/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/css/grafiken/._.DS_Store differ diff --git a/css/grafiken/._back.jpg b/css/grafiken/._back.jpg new file mode 100644 index 0000000..3bf4a78 Binary files /dev/null and b/css/grafiken/._back.jpg differ diff --git a/css/grafiken/._next.jpg b/css/grafiken/._next.jpg new file mode 100644 index 0000000..683442f Binary files /dev/null and b/css/grafiken/._next.jpg differ diff --git a/css/grafiken/aro-lft.png b/css/grafiken/aro-lft.png new file mode 100644 index 0000000..4aae276 Binary files /dev/null and b/css/grafiken/aro-lft.png differ diff --git a/css/grafiken/aro-rt.png b/css/grafiken/aro-rt.png new file mode 100644 index 0000000..dada90c Binary files /dev/null and b/css/grafiken/aro-rt.png differ diff --git a/css/grafiken/back.jpg b/css/grafiken/back.jpg new file mode 100644 index 0000000..c576cee Binary files /dev/null and b/css/grafiken/back.jpg differ diff --git a/css/grafiken/lightbox-blank.gif b/css/grafiken/lightbox-blank.gif new file mode 100644 index 0000000..1d11fa9 Binary files /dev/null and b/css/grafiken/lightbox-blank.gif differ diff --git a/css/grafiken/lightbox-btn-close.gif b/css/grafiken/lightbox-btn-close.gif new file mode 100644 index 0000000..33bcf51 Binary files /dev/null and b/css/grafiken/lightbox-btn-close.gif differ diff --git a/css/grafiken/lightbox-btn-next.gif b/css/grafiken/lightbox-btn-next.gif new file mode 100644 index 0000000..a0d4fcf Binary files /dev/null and b/css/grafiken/lightbox-btn-next.gif differ diff --git a/css/grafiken/lightbox-btn-prev.gif b/css/grafiken/lightbox-btn-prev.gif new file mode 100644 index 0000000..040ee59 Binary files /dev/null and b/css/grafiken/lightbox-btn-prev.gif differ diff --git a/css/grafiken/lightbox-ico-loading.gif b/css/grafiken/lightbox-ico-loading.gif new file mode 100644 index 0000000..4f1429c Binary files /dev/null and b/css/grafiken/lightbox-ico-loading.gif differ diff --git a/css/grafiken/next.jpg b/css/grafiken/next.jpg new file mode 100644 index 0000000..fb7b56d Binary files /dev/null and b/css/grafiken/next.jpg differ diff --git a/css/jquery.lightbox-0.4.css b/css/jquery.lightbox-0.4.css new file mode 100644 index 0000000..5fa5b0f --- /dev/null +++ b/css/jquery.lightbox-0.4.css @@ -0,0 +1,101 @@ +/** + * jQuery lightBox plugin + * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) + * and adapted to me for use like a plugin from jQuery. + * @name jquery-lightbox-0.4.css + * @author Leandro Vieira Pinho - http://leandrovieira.com + * @version 0.4 + * @date November 17, 2007 + * @category jQuery plugin + * @copyright (c) 2007 Leandro Vieira Pinho (leandrovieira.com) + * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US + * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin + */ +#jquery-overlay { + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; + height: 500px; +} +#jquery-lightbox { + position: absolute; + top: 0; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; +} +#jquery-lightbox a img { border: none; } +#lightbox-container-image-box { + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; +} +#lightbox-container-image { padding: 10px; } +#lightbox-loading { + position: absolute; + top: 40%; + left: 0%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; +} +#lightbox-nav { + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 10; +} +#lightbox-container-image-box > #lightbox-nav { left: 0; } +#lightbox-nav a { outline: none;} +#lightbox-nav-btnPrev, #lightbox-nav-btnNext { + width: 49%; + height: 100%; + zoom: 1; + display: block; +} +#lightbox-nav-btnPrev { + left: 0; + float: left; +} +#lightbox-nav-btnNext { + right: 0; + float: right; +} +#lightbox-container-image-data-box { + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + overflow: auto; + width: 100%; + padding: 0 10px 0; +} +#lightbox-container-image-data { + padding: 0 10px; + color: #666; +} +#lightbox-container-image-data #lightbox-image-details { + width: 70%; + float: left; + text-align: left; +} +#lightbox-image-details-caption { font-weight: bold; } +#lightbox-image-details-currentNumber { + display: block; + clear: left; + padding-bottom: 1.0em; +} +#lightbox-secNav-btnClose { + width: 66px; + float: right; + padding-bottom: 0.7em; +} \ No newline at end of file diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..a67aba9 --- /dev/null +++ b/css/main.css @@ -0,0 +1,232 @@ +@charset "UTF-8"; +/* CSS Document */ + + +body { + font-family:Verdana; + font-size:12px; + font-weight:bold; + text-decoration:none; + background-color:#660000; + color:#000000; + line-height:1,5; + margin:0px; + padding:0px; + onload:initScrollLayer(); + margin-bottom: auto; + margin-top: auto; +} + +td { +font-family:Verdana,Arial,Helvetica; +font-size:12px; +font-weight:bold; +color:#000000; +} + + a:link { + font-family:Verdana,Arial,Helvetica; + font-size:10px; + font-weight:normal; + text-decoration:none; + color:#FFFFFF; + margin-left: 1px; +} +a:visited { + font-family:Verdana,Arial,Helvetica; + font-size:10px; + font-weight:normal; + text-decoration:none; + color:#FFFFFF; + margin-left: 1px; +} +a:active { + font-family:Verdana,Arial,Helvetica; + font-size:10px; + font-weight:normal; + text-decoration:none; + color:#FF6600; + margin-left: 1px; +} +#left { +position:absolute; +width:202px; +height:100%; +background-color:#333333; +left: 0px; +top: 0px; +} + +#right { +position:absolute; +width:202px; +height:100%; +background-color:#333333; +left: 808px; +top: 0px; +} + + + +#content { + position:absolute; + width:616px; + height:100%; + background-color:#660000; + top: 0px; + left: 50%; + margin-top: 0px; + margin-left: -308px; + border-left: 3px #454648 solid; + border-right: 3px #454648 solid; +} + +#content_container { + position:absolute; + width:490px; + height:492px; + background-color:#3D0000; + border:3px; + border-style:solid; + border-color:#454648; + left: 63px; + top: 57px; +} + +#invisible { +position:absolute; +width:490px; +height:492px; +left: 0px; +top: 0px; +z-index:1; +} + + +#content_container_s { +position:absolute; +width:490px; +height:492px; +border:0px; +border-style:solid; +border-color:#454648; +left: 63px; +top: 57px; +} + +#menu { +position:absolute; +width:330px; +height:14px; +left: 143.5px; +top: 553px; +margin-top:2px; +z-index:10; +} + +#sub_menu { +position:absolute; +width:490px; +height:14px; +left: 0px; +top: 450px; +margin-top:2px; +text-align:center; +z-index:1; +font-family:Verdana; + font-size:12px; + font-weight:normal; + text-decoration:none; +} + +#sub_menu_produkte { +position:absolute; +width:490px; +height:19px; +background-color:#000000; +font-family:Verdana; + font-size:12px; + font-weight:normal; + text-decoration:none; + color:#FFFFFF; +left:0px; +top:425px; +margin-top:2px; +text-align:center; +z-index:2; +} + +#slider { + position:absolute; + width:474px; + height:65px; + background-color:#333333; + left: 8px; + top: 8px; + padding:0px; +} + +#slider_2 { + position:absolute; + width:474px; + height:67px; + left: 0px; + top: 0px; +} + + +#content_sub { + position:absolute; + width:330px; + height:330px; + left: 143px; + top: 149px; +} + +#content_nav { +position:absolute; +width:20px; +height:10px; +left: 298px; +top: 305.5px; +z-index:1; +} + +#content_main { + position:absolute; + width:311px; + height:311px; + top: 9.5px; + left: 9.5px; + text-align:center; + font-weight: normal; +} + +#content_main_s { + position:absolute; + width:311px; + height:311px; + top: 9.5px; + left: 9.5px; + text-align:center; + background-image: url(../content/portraet/bilder/port_back.jpg); +} + +#content_main_in { +border:0px; +margin-left:3px; +margin-top:3px; +} + + + +//////////////Menu/////////////////// + + +.kontakt a {background-image: url("../grafiken/kontakt_1.png"); width:64px;height:13px;border:0px;} +.kontakt a:hover {background-image: url("../grafiken/kontakt_2.png")} + +//////////////////////////////////// + + + diff --git a/css/slider.css b/css/slider.css new file mode 100644 index 0000000..d8d56aa --- /dev/null +++ b/css/slider.css @@ -0,0 +1,59 @@ +/* Styles for scrolling layers + Specify width and height in hold and wn, and in clip for wn */ +div#hold { + position:relative; + overflow:hidden; + width:454px; + height:67px; + top:0px; + left:0px; + z-index:100 + } +div#wn { + position:absolute; + left:0px; + top:0px; + width:475px; + height:67px; + clip:rect(0px, 454px, 66px, 0px); + overflow:hidden; + z-index:1; + padding:0px; + } +div#lyr1 { + position:absolute; + visibility:hidden; + left:0px; + top:0px; + width:474px; + height:67px; + z-index:1; + } + +/* Styles for demo, not necessary for scrolling layers */ +body { + overflow:hidden; + text-align:left; + font: 12px verdana, arial, helvetica, sans-serif; + margin-top: 0px; + margin-left: 0px; + margin-right: 0px; + width: auto; + height: auto; + } +h1 { + font-size:1.4em; + margin:1.5em 0 2em 0; + } +a:link { color:#33c } +a:visited { color:#339 } +a img { border:none } + +table.main { + width:475px; margin:0px; + height:65px; + background-color:#eee; border:1px dashed #666 + } +td.arrows a { padding:0 1em } +td.spacer { width:38px } +td.footer { text-align:center; margin:0 } diff --git a/fetchdescription.php b/fetchdescription.php new file mode 100644 index 0000000..8093d71 --- /dev/null +++ b/fetchdescription.php @@ -0,0 +1,39 @@ + + * Jan Dittberner IT-Consulting & -Solutions, + * Cottbuser Str. 1, D-01129 Dresden + * All rights reserved. + */ +$infofile = "bilder/imginfo.txt"; +$prefix = "bilder/"; + +function getImgInfo($imagename) { + if (file_exists($imagename)) { + $imagename = substr($imagename, strlen($GLOBALS["prefix"])); + } + if (file_exists($GLOBALS["prefix"] . $imagename)) { + foreach (file($GLOBALS["infofile"]) as $line) { + $firstspace = strpos($line, " "); + $name = substr($line, 0, $firstspace); + $data = trim(substr($line, $firstspace + 1)); + if (strcmp($name, $imagename) == 0) { + $retval = array("name" => $name, + "data" => trim($data)); + break; + } + } + } else { + return $GLOBALS["prefix"] . $imagename . " doesn't exist"; + } + return $retval; +} + +if (isset($_GET["imagename"])) { + header("Content-Type: text/plain; charset=UTF-8"); + print json_encode(getImgInfo($_GET["imagename"])); +} +?> \ No newline at end of file diff --git a/funktionen/._.DS_Store b/funktionen/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/funktionen/._.DS_Store differ diff --git a/funktionen/._description.php b/funktionen/._description.php new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/funktionen/._description.php differ diff --git a/funktionen/._menupunkte.php b/funktionen/._menupunkte.php new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/funktionen/._menupunkte.php differ diff --git a/funktionen/._show_pictures.php b/funktionen/._show_pictures.php new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/funktionen/._show_pictures.php differ diff --git a/funktionen/._thumbnail.php b/funktionen/._thumbnail.php new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/funktionen/._thumbnail.php differ diff --git a/funktionen/._thumbnail_show.php b/funktionen/._thumbnail_show.php new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/funktionen/._thumbnail_show.php differ diff --git a/funktionen/description.php b/funktionen/description.php new file mode 100644 index 0000000..0d93502 --- /dev/null +++ b/funktionen/description.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/funktionen/menupunkte.php b/funktionen/menupunkte.php new file mode 100644 index 0000000..e69de29 diff --git a/funktionen/show_pictures.php b/funktionen/show_pictures.php new file mode 100644 index 0000000..b5ca91c --- /dev/null +++ b/funktionen/show_pictures.php @@ -0,0 +1,6 @@ + \"\"", + dirname($allfiles[0]) . DIRECTORY_SEPARATOR . basename($allfiles[0]), + $allfiles[0], $width_middle); + ?> \ No newline at end of file diff --git a/funktionen/thumbnail.php b/funktionen/thumbnail.php new file mode 100644 index 0000000..e48d2db --- /dev/null +++ b/funktionen/thumbnail.php @@ -0,0 +1,15 @@ + \ No newline at end of file diff --git a/funktionen/thumbnail_show.php b/funktionen/thumbnail_show.php new file mode 100644 index 0000000..e5172cf --- /dev/null +++ b/funktionen/thumbnail_show.php @@ -0,0 +1,6 @@ + $thumbsize) { + printf("
\"\"
", + $thumbfile, $thumbheight); + } +?> \ No newline at end of file diff --git a/index.php b/index.php new file mode 100644 index 0000000..b13083b --- /dev/null +++ b/index.php @@ -0,0 +1,95 @@ + + + + + + + + +Bilderframework + + + + + + + + + + + + +
+
+ + + +
+ +
+
nach links
+
+
+
+ +
+nach rechts +
+ +
+ +
+ +
+
+
+
+
+ +
+ backnext +
+ +
+ +
+
+
+
+ + + \ No newline at end of file diff --git a/menu/._.DS_Store b/menu/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/menu/._.DS_Store differ diff --git a/menu/menu.php b/menu/menu.php new file mode 100644 index 0000000..b7de072 --- /dev/null +++ b/menu/menu.php @@ -0,0 +1,21 @@ + \ No newline at end of file diff --git a/scripts/._.DS_Store b/scripts/._.DS_Store new file mode 100644 index 0000000..c9474ea Binary files /dev/null and b/scripts/._.DS_Store differ diff --git a/scripts/._AC_RunActiveContent.js b/scripts/._AC_RunActiveContent.js new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/scripts/._AC_RunActiveContent.js differ diff --git a/scripts/._ourhandlers_2.js b/scripts/._ourhandlers_2.js new file mode 100644 index 0000000..59f9037 Binary files /dev/null and b/scripts/._ourhandlers_2.js differ diff --git a/scripts/AC_RunActiveContent.js b/scripts/AC_RunActiveContent.js new file mode 100644 index 0000000..4ad6480 --- /dev/null +++ b/scripts/AC_RunActiveContent.js @@ -0,0 +1,292 @@ +//v1.7 +// Flash Player Version Detection +// Detect Client Browser type +// Copyright 2005-2007 Adobe Systems Incorporated. All rights reserved. +var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false; +var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false; +var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false; + +function ControlVersion() +{ + var version; + var axo; + var e; + + // NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry + + try { + // version will be set for 7.X or greater players + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7"); + version = axo.GetVariable("$version"); + } catch (e) { + } + + if (!version) + { + try { + // version will be set for 6.X players only + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6"); + + // installed player is some revision of 6.0 + // GetVariable("$version") crashes for versions 6.0.22 through 6.0.29, + // so we have to be careful. + + // default to the first public version + version = "WIN 6,0,21,0"; + + // throws if AllowScripAccess does not exist (introduced in 6.0r47) + axo.AllowScriptAccess = "always"; + + // safe to call for 6.0r47 or greater + version = axo.GetVariable("$version"); + + } catch (e) { + } + } + + if (!version) + { + try { + // version will be set for 4.X or 5.X player + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); + version = axo.GetVariable("$version"); + } catch (e) { + } + } + + if (!version) + { + try { + // version will be set for 3.X player + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3"); + version = "WIN 3,0,18,0"; + } catch (e) { + } + } + + if (!version) + { + try { + // version will be set for 2.X player + axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash"); + version = "WIN 2,0,0,11"; + } catch (e) { + version = -1; + } + } + + return version; +} + +// JavaScript helper required to detect Flash Player PlugIn version information +function GetSwfVer(){ + // NS/Opera version >= 3 check for Flash plugin in plugin array + var flashVer = -1; + + if (navigator.plugins != null && navigator.plugins.length > 0) { + if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) { + var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : ""; + var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description; + var descArray = flashDescription.split(" "); + var tempArrayMajor = descArray[2].split("."); + var versionMajor = tempArrayMajor[0]; + var versionMinor = tempArrayMajor[1]; + var versionRevision = descArray[3]; + if (versionRevision == "") { + versionRevision = descArray[4]; + } + if (versionRevision[0] == "d") { + versionRevision = versionRevision.substring(1); + } else if (versionRevision[0] == "r") { + versionRevision = versionRevision.substring(1); + if (versionRevision.indexOf("d") > 0) { + versionRevision = versionRevision.substring(0, versionRevision.indexOf("d")); + } + } + var flashVer = versionMajor + "." + versionMinor + "." + versionRevision; + } + } + // MSN/WebTV 2.6 supports Flash 4 + else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4; + // WebTV 2.5 supports Flash 3 + else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3; + // older WebTV supports Flash 2 + else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2; + else if ( isIE && isWin && !isOpera ) { + flashVer = ControlVersion(); + } + return flashVer; +} + +// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available +function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision) +{ + versionStr = GetSwfVer(); + if (versionStr == -1 ) { + return false; + } else if (versionStr != 0) { + if(isIE && isWin && !isOpera) { + // Given "WIN 2,0,0,11" + tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"] + tempString = tempArray[1]; // "2,0,0,11" + versionArray = tempString.split(","); // ['2', '0', '0', '11'] + } else { + versionArray = versionStr.split("."); + } + var versionMajor = versionArray[0]; + var versionMinor = versionArray[1]; + var versionRevision = versionArray[2]; + + // is the major.revision >= requested major.revision AND the minor version >= requested minor + if (versionMajor > parseFloat(reqMajorVer)) { + return true; + } else if (versionMajor == parseFloat(reqMajorVer)) { + if (versionMinor > parseFloat(reqMinorVer)) + return true; + else if (versionMinor == parseFloat(reqMinorVer)) { + if (versionRevision >= parseFloat(reqRevision)) + return true; + } + } + return false; + } +} + +function AC_AddExtension(src, ext) +{ + if (src.indexOf('?') != -1) + return src.replace(/\?/, ext+'?'); + else + return src + ext; +} + +function AC_Generateobj(objAttrs, params, embedAttrs) +{ + var str = ''; + if (isIE && isWin && !isOpera) + { + str += ' '; + } + str += ''; + } + else + { + str += ')[^>]*$|^#(\w+)$/;jQuery.fn=jQuery.prototype={init:function(selector,context){selector=selector||document;if(typeof selector=="string"){var m=quickExpr.exec(selector);if(m&&(m[1]||!context)){if(m[1])selector=jQuery.clean([m[1]],context);else{var tmp=document.getElementById(m[3]);if(tmp)if(tmp.id!=m[3])return jQuery().find(selector);else{this[0]=tmp;this.length=1;return this;}else +selector=[];}}else +return new jQuery(context).find(selector);}else if(jQuery.isFunction(selector))return new jQuery(document)[jQuery.fn.ready?"ready":"load"](selector);return this.setArray(selector.constructor==Array&&selector||(selector.jquery||selector.length&&selector!=window&&!selector.nodeType&&selector[0]!=undefined&&selector[0].nodeType)&&jQuery.makeArray(selector)||[selector]);},jquery:"1.2.1",size:function(){return this.length;},length:0,get:function(num){return num==undefined?jQuery.makeArray(this):this[num];},pushStack:function(a){var ret=jQuery(a);ret.prevObject=this;return ret;},setArray:function(a){this.length=0;Array.prototype.push.apply(this,a);return this;},each:function(fn,args){return jQuery.each(this,fn,args);},index:function(obj){var pos=-1;this.each(function(i){if(this==obj)pos=i;});return pos;},attr:function(key,value,type){var obj=key;if(key.constructor==String)if(value==undefined)return this.length&&jQuery[type||"attr"](this[0],key)||undefined;else{obj={};obj[key]=value;}return this.each(function(index){for(var prop in obj)jQuery.attr(type?this.style:this,prop,jQuery.prop(this,obj[prop],type,index,prop));});},css:function(key,value){return this.attr(key,value,"curCSS");},text:function(e){if(typeof e!="object"&&e!=null)return this.empty().append(document.createTextNode(e));var t="";jQuery.each(e||this,function(){jQuery.each(this.childNodes,function(){if(this.nodeType!=8)t+=this.nodeType!=1?this.nodeValue:jQuery.fn.text([this]);});});return t;},wrapAll:function(html){if(this[0])jQuery(html,this[0].ownerDocument).clone().insertBefore(this[0]).map(function(){var elem=this;while(elem.firstChild)elem=elem.firstChild;return elem;}).append(this);return this;},wrapInner:function(html){return this.each(function(){jQuery(this).contents().wrapAll(html);});},wrap:function(html){return this.each(function(){jQuery(this).wrapAll(html);});},append:function(){return this.domManip(arguments,true,1,function(a){this.appendChild(a);});},prepend:function(){return this.domManip(arguments,true,-1,function(a){this.insertBefore(a,this.firstChild);});},before:function(){return this.domManip(arguments,false,1,function(a){this.parentNode.insertBefore(a,this);});},after:function(){return this.domManip(arguments,false,-1,function(a){this.parentNode.insertBefore(a,this.nextSibling);});},end:function(){return this.prevObject||jQuery([]);},find:function(t){var data=jQuery.map(this,function(a){return jQuery.find(t,a);});return this.pushStack(/[^+>] [^+>]/.test(t)||t.indexOf("..")>-1?jQuery.unique(data):data);},clone:function(events){var ret=this.map(function(){return this.outerHTML?jQuery(this.outerHTML)[0]:this.cloneNode(true);});var clone=ret.find("*").andSelf().each(function(){if(this[expando]!=undefined)this[expando]=null;});if(events===true)this.find("*").andSelf().each(function(i){var events=jQuery.data(this,"events");for(var type in events)for(var handler in events[type])jQuery.event.add(clone[i],type,events[type][handler],events[type][handler].data);});return ret;},filter:function(t){return this.pushStack(jQuery.isFunction(t)&&jQuery.grep(this,function(el,index){return t.apply(el,[index]);})||jQuery.multiFilter(t,this));},not:function(t){return this.pushStack(t.constructor==String&&jQuery.multiFilter(t,this,true)||jQuery.grep(this,function(a){return(t.constructor==Array||t.jquery)?jQuery.inArray(a,t)<0:a!=t;}));},add:function(t){return this.pushStack(jQuery.merge(this.get(),t.constructor==String?jQuery(t).get():t.length!=undefined&&(!t.nodeName||jQuery.nodeName(t,"form"))?t:[t]));},is:function(expr){return expr?jQuery.multiFilter(expr,this).length>0:false;},hasClass:function(expr){return this.is("."+expr);},val:function(val){if(val==undefined){if(this.length){var elem=this[0];if(jQuery.nodeName(elem,"select")){var index=elem.selectedIndex,a=[],options=elem.options,one=elem.type=="select-one";if(index<0)return null;for(var i=one?index:0,max=one?index+1:options.length;i=0||jQuery.inArray(this.name,val)>=0);else if(jQuery.nodeName(this,"select")){var tmp=val.constructor==Array?val:[val];jQuery("option",this).each(function(){this.selected=(jQuery.inArray(this.value,tmp)>=0||jQuery.inArray(this.text,tmp)>=0);});if(!tmp.length)this.selectedIndex=-1;}else +this.value=val;});},html:function(val){return val==undefined?(this.length?this[0].innerHTML:null):this.empty().append(val);},replaceWith:function(val){return this.after(val).remove();},eq:function(i){return this.slice(i,i+1);},slice:function(){return this.pushStack(Array.prototype.slice.apply(this,arguments));},map:function(fn){return this.pushStack(jQuery.map(this,function(elem,i){return fn.call(elem,i,elem);}));},andSelf:function(){return this.add(this.prevObject);},domManip:function(args,table,dir,fn){var clone=this.length>1,a;return this.each(function(){if(!a){a=jQuery.clean(args,this.ownerDocument);if(dir<0)a.reverse();}var obj=this;if(table&&jQuery.nodeName(this,"table")&&jQuery.nodeName(a[0],"tr"))obj=this.getElementsByTagName("tbody")[0]||this.appendChild(document.createElement("tbody"));jQuery.each(a,function(){var elem=clone?this.cloneNode(true):this;if(!evalScript(0,elem))fn.call(obj,elem);});});}};function evalScript(i,elem){var script=jQuery.nodeName(elem,"script");if(script){if(elem.src)jQuery.ajax({url:elem.src,async:false,dataType:"script"});else +jQuery.globalEval(elem.text||elem.textContent||elem.innerHTML||"");if(elem.parentNode)elem.parentNode.removeChild(elem);}else if(elem.nodeType==1)jQuery("script",elem).each(evalScript);return script;}jQuery.extend=jQuery.fn.extend=function(){var target=arguments[0]||{},a=1,al=arguments.length,deep=false;if(target.constructor==Boolean){deep=target;target=arguments[1]||{};}if(al==1){target=this;a=0;}var prop;for(;a-1;}},swap:function(e,o,f){for(var i in o){e.style["old"+i]=e.style[i];e.style[i]=o[i];}f.apply(e,[]);for(var i in o)e.style[i]=e.style["old"+i];},css:function(e,p){if(p=="height"||p=="width"){var old={},oHeight,oWidth,d=["Top","Bottom","Right","Left"];jQuery.each(d,function(){old["padding"+this]=0;old["border"+this+"Width"]=0;});jQuery.swap(e,old,function(){if(jQuery(e).is(':visible')){oHeight=e.offsetHeight;oWidth=e.offsetWidth;}else{e=jQuery(e.cloneNode(true)).find(":radio").removeAttr("checked").end().css({visibility:"hidden",position:"absolute",display:"block",right:"0",left:"0"}).appendTo(e.parentNode)[0];var parPos=jQuery.css(e.parentNode,"position")||"static";if(parPos=="static")e.parentNode.style.position="relative";oHeight=e.clientHeight;oWidth=e.clientWidth;if(parPos=="static")e.parentNode.style.position="static";e.parentNode.removeChild(e);}});return p=="height"?oHeight:oWidth;}return jQuery.curCSS(e,p);},curCSS:function(elem,prop,force){var ret,stack=[],swap=[];function color(a){if(!jQuery.browser.safari)return false;var ret=document.defaultView.getComputedStyle(a,null);return!ret||ret.getPropertyValue("color")=="";}if(prop=="opacity"&&jQuery.browser.msie){ret=jQuery.attr(elem.style,"opacity");return ret==""?"1":ret;}if(prop.match(/float/i))prop=styleFloat;if(!force&&elem.style[prop])ret=elem.style[prop];else if(document.defaultView&&document.defaultView.getComputedStyle){if(prop.match(/float/i))prop="float";prop=prop.replace(/([A-Z])/g,"-$1").toLowerCase();var cur=document.defaultView.getComputedStyle(elem,null);if(cur&&!color(elem))ret=cur.getPropertyValue(prop);else{for(var a=elem;a&&color(a);a=a.parentNode)stack.unshift(a);for(a=0;a]*?)\/>/g,function(m,all,tag){return tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area)$/i)?m:all+">";});var s=jQuery.trim(arg).toLowerCase(),div=doc.createElement("div"),tb=[];var wrap=!s.indexOf("",""]||!s.indexOf("",""]||s.match(/^<(thead|tbody|tfoot|colg|cap)/)&&[1,"","
"]||!s.indexOf("",""]||(!s.indexOf("",""]||!s.indexOf("",""]||jQuery.browser.msie&&[1,"div
","
"]||[0,"",""];div.innerHTML=wrap[1]+arg+wrap[2];while(wrap[0]--)div=div.lastChild;if(jQuery.browser.msie){if(!s.indexOf(""&&s.indexOf("=0;--n)if(jQuery.nodeName(tb[n],"tbody")&&!tb[n].childNodes.length)tb[n].parentNode.removeChild(tb[n]);if(/^\s/.test(arg))div.insertBefore(doc.createTextNode(arg.match(/^\s*/)[0]),div.firstChild);}arg=jQuery.makeArray(div.childNodes);}if(0===arg.length&&(!jQuery.nodeName(arg,"form")&&!jQuery.nodeName(arg,"select")))return;if(arg[0]==undefined||jQuery.nodeName(arg,"form")||arg.options)r.push(arg);else +r=jQuery.merge(r,arg);});return r;},attr:function(elem,name,value){var fix=jQuery.isXMLDoc(elem)?{}:jQuery.props;if(name=="selected"&&jQuery.browser.safari)elem.parentNode.selectedIndex;if(fix[name]){if(value!=undefined)elem[fix[name]]=value;return elem[fix[name]];}else if(jQuery.browser.msie&&name=="style")return jQuery.attr(elem.style,"cssText",value);else if(value==undefined&&jQuery.browser.msie&&jQuery.nodeName(elem,"form")&&(name=="action"||name=="method"))return elem.getAttributeNode(name).nodeValue;else if(elem.tagName){if(value!=undefined){if(name=="type"&&jQuery.nodeName(elem,"input")&&elem.parentNode)throw"type property can't be changed";elem.setAttribute(name,value);}if(jQuery.browser.msie&&/href|src/.test(name)&&!jQuery.isXMLDoc(elem))return elem.getAttribute(name,2);return elem.getAttribute(name);}else{if(name=="opacity"&&jQuery.browser.msie){if(value!=undefined){elem.zoom=1;elem.filter=(elem.filter||"").replace(/alpha\([^)]*\)/,"")+(parseFloat(value).toString()=="NaN"?"":"alpha(opacity="+value*100+")");}return elem.filter?(parseFloat(elem.filter.match(/opacity=([^)]*)/)[1])/100).toString():"";}name=name.replace(/-([a-z])/ig,function(z,b){return b.toUpperCase();});if(value!=undefined)elem[name]=value;return elem[name];}},trim:function(t){return(t||"").replace(/^\s+|\s+$/g,"");},makeArray:function(a){var r=[];if(typeof a!="array")for(var i=0,al=a.length;i\\s*("+chars+"+)"),quickID=new RegExp("^("+chars+"+)(#)("+chars+"+)"),quickClass=new RegExp("^([#.]?)("+chars+"*)");jQuery.extend({expr:{"":"m[2]=='*'||jQuery.nodeName(a,m[2])","#":"a.getAttribute('id')==m[2]",":":{lt:"im[3]-0",nth:"m[3]-0==i",eq:"m[3]-0==i",first:"i==0",last:"i==r.length-1",even:"i%2==0",odd:"i%2","first-child":"a.parentNode.getElementsByTagName('*')[0]==a","last-child":"jQuery.nth(a.parentNode.lastChild,1,'previousSibling')==a","only-child":"!jQuery.nth(a.parentNode.lastChild,2,'previousSibling')",parent:"a.firstChild",empty:"!a.firstChild",contains:"(a.textContent||a.innerText||jQuery(a).text()||'').indexOf(m[3])>=0",visible:'"hidden"!=a.type&&jQuery.css(a,"display")!="none"&&jQuery.css(a,"visibility")!="hidden"',hidden:'"hidden"==a.type||jQuery.css(a,"display")=="none"||jQuery.css(a,"visibility")=="hidden"',enabled:"!a.disabled",disabled:"a.disabled",checked:"a.checked",selected:"a.selected||jQuery.attr(a,'selected')",text:"'text'==a.type",radio:"'radio'==a.type",checkbox:"'checkbox'==a.type",file:"'file'==a.type",password:"'password'==a.type",submit:"'submit'==a.type",image:"'image'==a.type",reset:"'reset'==a.type",button:'"button"==a.type||jQuery.nodeName(a,"button")',input:"/input|select|textarea|button/i.test(a.nodeName)",has:"jQuery.find(m[3],a).length",header:"/h\\d/i.test(a.nodeName)",animated:"jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length"}},parse:[/^(\[) *@?([\w-]+) *([!*$^~=]*) *('?"?)(.*?)\4 *\]/,/^(:)([\w-]+)\("?'?(.*?(\(.*?\))?[^(]*?)"?'?\)/,new RegExp("^([:.#]*)("+chars+"+)")],multiFilter:function(expr,elems,not){var old,cur=[];while(expr&&expr!=old){old=expr;var f=jQuery.filter(expr,elems,not);expr=f.t.replace(/^\s*,\s*/,"");cur=not?elems=f.r:jQuery.merge(cur,f.r);}return cur;},find:function(t,context){if(typeof t!="string")return[t];if(context&&!context.nodeType)context=null;context=context||document;var ret=[context],done=[],last;while(t&&last!=t){var r=[];last=t;t=jQuery.trim(t);var foundToken=false;var re=quickChild;var m=re.exec(t);if(m){var nodeName=m[1].toUpperCase();for(var i=0;ret[i];i++)for(var c=ret[i].firstChild;c;c=c.nextSibling)if(c.nodeType==1&&(nodeName=="*"||c.nodeName.toUpperCase()==nodeName.toUpperCase()))r.push(c);ret=r;t=t.replace(re,"");if(t.indexOf(" ")==0)continue;foundToken=true;}else{re=/^([>+~])\s*(\w*)/i;if((m=re.exec(t))!=null){r=[];var nodeName=m[2],merge={};m=m[1];for(var j=0,rl=ret.length;j=0;if(!not&&pass||not&&!pass)tmp.push(r[i]);}return tmp;},filter:function(t,r,not){var last;while(t&&t!=last){last=t;var p=jQuery.parse,m;for(var i=0;p[i];i++){m=p[i].exec(t);if(m){t=t.substring(m[0].length);m[2]=m[2].replace(/\\/g,"");break;}}if(!m)break;if(m[1]==":"&&m[2]=="not")r=jQuery.filter(m[3],r,true).r;else if(m[1]==".")r=jQuery.classFilter(r,m[2],not);else if(m[1]=="["){var tmp=[],type=m[3];for(var i=0,rl=r.length;i=0)^not)tmp.push(a);}r=tmp;}else if(m[1]==":"&&m[2]=="nth-child"){var merge={},tmp=[],test=/(\d*)n\+?(\d*)/.exec(m[3]=="even"&&"2n"||m[3]=="odd"&&"2n+1"||!/\D/.test(m[3])&&"n+"+m[3]||m[3]),first=(test[1]||1)-0,last=test[2]-0;for(var i=0,rl=r.length;i<\/script>");var script=document.getElementById("__ie_init");if(script)script.onreadystatechange=function(){if(this.readyState!="complete")return;jQuery.ready();};script=null;}else if(jQuery.browser.safari)jQuery.safariTimer=setInterval(function(){if(document.readyState=="loaded"||document.readyState=="complete"){clearInterval(jQuery.safariTimer);jQuery.safariTimer=null;jQuery.ready();}},10);jQuery.event.add(window,"load",jQuery.ready);}jQuery.fn.extend({load:function(url,params,callback){if(jQuery.isFunction(url))return this.bind("load",url);var off=url.indexOf(" ");if(off>=0){var selector=url.slice(off,url.length);url=url.slice(0,off);}callback=callback||function(){};var type="GET";if(params)if(jQuery.isFunction(params)){callback=params;params=null;}else{params=jQuery.param(params);type="POST";}var self=this;jQuery.ajax({url:url,type:type,data:params,complete:function(res,status){if(status=="success"||status=="notmodified")self.html(selector?jQuery("
").append(res.responseText.replace(//g,"")).find(selector):res.responseText);setTimeout(function(){self.each(callback,[res.responseText,status,res]);},13);}});return this;},serialize:function(){return jQuery.param(this.serializeArray());},serializeArray:function(){return this.map(function(){return jQuery.nodeName(this,"form")?jQuery.makeArray(this.elements):this;}).filter(function(){return this.name&&!this.disabled&&(this.checked||/select|textarea/i.test(this.nodeName)||/text|hidden|password/i.test(this.type));}).map(function(i,elem){var val=jQuery(this).val();return val==null?null:val.constructor==Array?jQuery.map(val,function(val,i){return{name:elem.name,value:val};}):{name:elem.name,value:val};}).get();}});jQuery.each("ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend".split(","),function(i,o){jQuery.fn[o]=function(f){return this.bind(o,f);};});var jsc=(new Date).getTime();jQuery.extend({get:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data=null;}return jQuery.ajax({type:"GET",url:url,data:data,success:callback,dataType:type});},getScript:function(url,callback){return jQuery.get(url,null,callback,"script");},getJSON:function(url,data,callback){return jQuery.get(url,data,callback,"json");},post:function(url,data,callback,type){if(jQuery.isFunction(data)){callback=data;data={};}return jQuery.ajax({type:"POST",url:url,data:data,success:callback,dataType:type});},ajaxSetup:function(settings){jQuery.extend(jQuery.ajaxSettings,settings);},ajaxSettings:{global:true,type:"GET",timeout:0,contentType:"application/x-www-form-urlencoded",processData:true,async:true,data:null},lastModified:{},ajax:function(s){var jsonp,jsre=/=(\?|%3F)/g,status,data;s=jQuery.extend(true,s,jQuery.extend(true,{},jQuery.ajaxSettings,s));if(s.data&&s.processData&&typeof s.data!="string")s.data=jQuery.param(s.data);if(s.dataType=="jsonp"){if(s.type.toLowerCase()=="get"){if(!s.url.match(jsre))s.url+=(s.url.match(/\?/)?"&":"?")+(s.jsonp||"callback")+"=?";}else if(!s.data||!s.data.match(jsre))s.data=(s.data?s.data+"&":"")+(s.jsonp||"callback")+"=?";s.dataType="json";}if(s.dataType=="json"&&(s.data&&s.data.match(jsre)||s.url.match(jsre))){jsonp="jsonp"+jsc++;if(s.data)s.data=s.data.replace(jsre,"="+jsonp);s.url=s.url.replace(jsre,"="+jsonp);s.dataType="script";window[jsonp]=function(tmp){data=tmp;success();complete();window[jsonp]=undefined;try{delete window[jsonp];}catch(e){}};}if(s.dataType=="script"&&s.cache==null)s.cache=false;if(s.cache===false&&s.type.toLowerCase()=="get")s.url+=(s.url.match(/\?/)?"&":"?")+"_="+(new Date()).getTime();if(s.data&&s.type.toLowerCase()=="get"){s.url+=(s.url.match(/\?/)?"&":"?")+s.data;s.data=null;}if(s.global&&!jQuery.active++)jQuery.event.trigger("ajaxStart");if(!s.url.indexOf("http")&&s.dataType=="script"){var head=document.getElementsByTagName("head")[0];var script=document.createElement("script");script.src=s.url;if(!jsonp&&(s.success||s.complete)){var done=false;script.onload=script.onreadystatechange=function(){if(!done&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){done=true;success();complete();head.removeChild(script);}};}head.appendChild(script);return;}var requestDone=false;var xml=window.ActiveXObject?new ActiveXObject("Microsoft.XMLHTTP"):new XMLHttpRequest();xml.open(s.type,s.url,s.async);if(s.data)xml.setRequestHeader("Content-Type",s.contentType);if(s.ifModified)xml.setRequestHeader("If-Modified-Since",jQuery.lastModified[s.url]||"Thu, 01 Jan 1970 00:00:00 GMT");xml.setRequestHeader("X-Requested-With","XMLHttpRequest");if(s.beforeSend)s.beforeSend(xml);if(s.global)jQuery.event.trigger("ajaxSend",[xml,s]);var onreadystatechange=function(isTimeout){if(!requestDone&&xml&&(xml.readyState==4||isTimeout=="timeout")){requestDone=true;if(ival){clearInterval(ival);ival=null;}status=isTimeout=="timeout"&&"timeout"||!jQuery.httpSuccess(xml)&&"error"||s.ifModified&&jQuery.httpNotModified(xml,s.url)&&"notmodified"||"success";if(status=="success"){try{data=jQuery.httpData(xml,s.dataType);}catch(e){status="parsererror";}}if(status=="success"){var modRes;try{modRes=xml.getResponseHeader("Last-Modified");}catch(e){}if(s.ifModified&&modRes)jQuery.lastModified[s.url]=modRes;if(!jsonp)success();}else +jQuery.handleError(s,xml,status);complete();if(s.async)xml=null;}};if(s.async){var ival=setInterval(onreadystatechange,13);if(s.timeout>0)setTimeout(function(){if(xml){xml.abort();if(!requestDone)onreadystatechange("timeout");}},s.timeout);}try{xml.send(s.data);}catch(e){jQuery.handleError(s,xml,null,e);}if(!s.async)onreadystatechange();return xml;function success(){if(s.success)s.success(data,status);if(s.global)jQuery.event.trigger("ajaxSuccess",[xml,s]);}function complete(){if(s.complete)s.complete(xml,status);if(s.global)jQuery.event.trigger("ajaxComplete",[xml,s]);if(s.global&&!--jQuery.active)jQuery.event.trigger("ajaxStop");}},handleError:function(s,xml,status,e){if(s.error)s.error(xml,status,e);if(s.global)jQuery.event.trigger("ajaxError",[xml,s,e]);},active:0,httpSuccess:function(r){try{return!r.status&&location.protocol=="file:"||(r.status>=200&&r.status<300)||r.status==304||jQuery.browser.safari&&r.status==undefined;}catch(e){}return false;},httpNotModified:function(xml,url){try{var xmlRes=xml.getResponseHeader("Last-Modified");return xml.status==304||xmlRes==jQuery.lastModified[url]||jQuery.browser.safari&&xml.status==undefined;}catch(e){}return false;},httpData:function(r,type){var ct=r.getResponseHeader("content-type");var xml=type=="xml"||!type&&ct&&ct.indexOf("xml")>=0;var data=xml?r.responseXML:r.responseText;if(xml&&data.documentElement.tagName=="parsererror")throw"parsererror";if(type=="script")jQuery.globalEval(data);if(type=="json")data=eval("("+data+")");return data;},param:function(a){var s=[];if(a.constructor==Array||a.jquery)jQuery.each(a,function(){s.push(encodeURIComponent(this.name)+"="+encodeURIComponent(this.value));});else +for(var j in a)if(a[j]&&a[j].constructor==Array)jQuery.each(a[j],function(){s.push(encodeURIComponent(j)+"="+encodeURIComponent(this));});else +s.push(encodeURIComponent(j)+"="+encodeURIComponent(a[j]));return s.join("&").replace(/%20/g,"+");}});jQuery.fn.extend({show:function(speed,callback){return speed?this.animate({height:"show",width:"show",opacity:"show"},speed,callback):this.filter(":hidden").each(function(){this.style.display=this.oldblock?this.oldblock:"";if(jQuery.css(this,"display")=="none")this.style.display="block";}).end();},hide:function(speed,callback){return speed?this.animate({height:"hide",width:"hide",opacity:"hide"},speed,callback):this.filter(":visible").each(function(){this.oldblock=this.oldblock||jQuery.css(this,"display");if(this.oldblock=="none")this.oldblock="block";this.style.display="none";}).end();},_toggle:jQuery.fn.toggle,toggle:function(fn,fn2){return jQuery.isFunction(fn)&&jQuery.isFunction(fn2)?this._toggle(fn,fn2):fn?this.animate({height:"toggle",width:"toggle",opacity:"toggle"},fn,fn2):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();});},slideDown:function(speed,callback){return this.animate({height:"show"},speed,callback);},slideUp:function(speed,callback){return this.animate({height:"hide"},speed,callback);},slideToggle:function(speed,callback){return this.animate({height:"toggle"},speed,callback);},fadeIn:function(speed,callback){return this.animate({opacity:"show"},speed,callback);},fadeOut:function(speed,callback){return this.animate({opacity:"hide"},speed,callback);},fadeTo:function(speed,to,callback){return this.animate({opacity:to},speed,callback);},animate:function(prop,speed,easing,callback){var opt=jQuery.speed(speed,easing,callback);return this[opt.queue===false?"each":"queue"](function(){opt=jQuery.extend({},opt);var hidden=jQuery(this).is(":hidden"),self=this;for(var p in prop){if(prop[p]=="hide"&&hidden||prop[p]=="show"&&!hidden)return jQuery.isFunction(opt.complete)&&opt.complete.apply(this);if(p=="height"||p=="width"){opt.display=jQuery.css(this,"display");opt.overflow=this.style.overflow;}}if(opt.overflow!=null)this.style.overflow="hidden";opt.curAnim=jQuery.extend({},prop);jQuery.each(prop,function(name,val){var e=new jQuery.fx(self,opt,name);if(/toggle|show|hide/.test(val))e[val=="toggle"?hidden?"show":"hide":val](prop);else{var parts=val.toString().match(/^([+-]=)?([\d+-.]+)(.*)$/),start=e.cur(true)||0;if(parts){var end=parseFloat(parts[2]),unit=parts[3]||"px";if(unit!="px"){self.style[name]=(end||1)+unit;start=((end||1)/e.cur(true))*start;self.style[name]=start+unit;}if(parts[1])end=((parts[1]=="-="?-1:1)*end)+start;e.custom(start,end,unit);}else +e.custom(start,val,"");}});return true;});},queue:function(type,fn){if(jQuery.isFunction(type)){fn=type;type="fx";}if(!type||(typeof type=="string"&&!fn))return queue(this[0],type);return this.each(function(){if(fn.constructor==Array)queue(this,type,fn);else{queue(this,type).push(fn);if(queue(this,type).length==1)fn.apply(this);}});},stop:function(){var timers=jQuery.timers;return this.each(function(){for(var i=0;i-10000?r:parseFloat(jQuery.css(this.elem,this.prop))||0;},custom:function(from,to,unit){this.startTime=(new Date()).getTime();this.start=from;this.end=to;this.unit=unit||this.unit||"px";this.now=this.start;this.pos=this.state=0;this.update();var self=this;function t(){return self.step();}t.elem=this.elem;jQuery.timers.push(t);if(jQuery.timers.length==1){var timer=setInterval(function(){var timers=jQuery.timers;for(var i=0;ithis.options.duration+this.startTime){this.now=this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;var done=true;for(var i in this.options.curAnim)if(this.options.curAnim[i]!==true)done=false;if(done){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;this.elem.style.display=this.options.display;if(jQuery.css(this.elem,"display")=="none")this.elem.style.display="block";}if(this.options.hide)this.elem.style.display="none";if(this.options.hide||this.options.show)for(var p in this.options.curAnim)jQuery.attr(this.elem.style,p,this.options.orig[p]);}if(done&&jQuery.isFunction(this.options.complete))this.options.complete.apply(this.elem);return false;}else{var n=t-this.startTime;this.state=n/this.options.duration;this.pos=jQuery.easing[this.options.easing||(jQuery.easing.swing?"swing":"linear")](this.state,n,0,1,this.options.duration);this.now=this.start+((this.end-this.start)*this.pos);this.update();}return true;}};jQuery.fx.step={scrollLeft:function(fx){fx.elem.scrollLeft=fx.now;},scrollTop:function(fx){fx.elem.scrollTop=fx.now;},opacity:function(fx){jQuery.attr(fx.elem.style,"opacity",fx.now);},_default:function(fx){fx.elem.style[fx.prop]=fx.now+fx.unit;}};jQuery.fn.offset=function(){var left=0,top=0,elem=this[0],results;if(elem)with(jQuery.browser){var absolute=jQuery.css(elem,"position")=="absolute",parent=elem.parentNode,offsetParent=elem.offsetParent,doc=elem.ownerDocument,safari2=safari&&parseInt(version)<522;if(elem.getBoundingClientRect){box=elem.getBoundingClientRect();add(box.left+Math.max(doc.documentElement.scrollLeft,doc.body.scrollLeft),box.top+Math.max(doc.documentElement.scrollTop,doc.body.scrollTop));if(msie){var border=jQuery("html").css("borderWidth");border=(border=="medium"||jQuery.boxModel&&parseInt(version)>=7)&&2||border;add(-border,-border);}}else{add(elem.offsetLeft,elem.offsetTop);while(offsetParent){add(offsetParent.offsetLeft,offsetParent.offsetTop);if(mozilla&&/^t[d|h]$/i.test(parent.tagName)||!safari2)border(offsetParent);if(safari2&&!absolute&&jQuery.css(offsetParent,"position")=="absolute")absolute=true;offsetParent=offsetParent.offsetParent;}while(parent.tagName&&!/^body|html$/i.test(parent.tagName)){if(!/^inline|table-row.*$/i.test(jQuery.css(parent,"display")))add(-parent.scrollLeft,-parent.scrollTop);if(mozilla&&jQuery.css(parent,"overflow")!="visible")border(parent);parent=parent.parentNode;}if(safari2&&absolute)add(-doc.body.offsetLeft,-doc.body.offsetTop);}results={top:top,left:left};}return results;function border(elem){add(jQuery.css(elem,"borderLeftWidth"),jQuery.css(elem,"borderTopWidth"));}function add(l,t){left+=parseInt(l)||0;top+=parseInt(t)||0;}};})(); \ No newline at end of file diff --git a/scripts/jquery.lightbox.js b/scripts/jquery.lightbox.js new file mode 100644 index 0000000..f4b5246 --- /dev/null +++ b/scripts/jquery.lightbox.js @@ -0,0 +1,14 @@ +/** + * jQuery lightBox plugin + * This jQuery plugin was inspired and based on Lightbox 2 by Lokesh Dhakar (http://www.huddletogether.com/projects/lightbox2/) + * and adapted to me for use like a plugin from jQuery. + * @name jquery-lightbox-0.4.pack.js + * @author Leandro Vieira Pinho - http://leandrovieira.com + * @version 0.4 + * @date November 17, 2007 + * @category jQuery plugin + * @copyright (c) 2007 Leandro Vieira Pinho (leandrovieira.com) + * @license CC Attribution-No Derivative Works 2.5 Brazil - http://creativecommons.org/licenses/by-nd/2.5/br/deed.en_US + * @example Visit http://leandrovieira.com/projects/jquery/lightbox/ for more informations about this jQuery plugin + */ +eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(6($){$.2L.3f=6(4){4=1W.2F({2x:\'#32\',2e:0.8,1O:\'V/5-3e-T.Z\',2i:\'V/5-1t-2S.Z\',23:\'V/5-1t-2O.Z\',1V:\'V/5-1t-2I.Z\',19:\'V/5-2G.Z\',17:10,1I:2B,2z:\'1f\',2p:\'33\',2m:\'c\',2h:\'p\',2c:\'n\',h:[],9:0},4);f E=C;6 20(){1Z(C,E);D 1g}6 1Z(1a,E){$(\'1R, 1Q, 1N\').k({\'1M\':\'2D\'});1K();4.h.y=0;4.9=0;7(E.y==1){4.h.1F(u 1h(1a.16(\'H\'),1a.16(\'2v\')))}m{36(f i=0;i<1s g="5-d"><1s P="\'+4.1O+\'"><1c g="5-d-F-1p"><1c g="5-d-F-1o"><1s P="\'+4.1V+\'">\');f w=1m();$(\'#r-N\').k({2J:4.2x,2H:4.2e,Q:w[0],I:w[1]}).1S();f L=1l();$(\'#r-5\').k({1P:L[1]+(w[3]/10),1k:L[0]}).B();$(\'#r-N,#r-5\').K(6(){18()});$(\'#5-T-25,#5-1B-1Y\').K(6(){18();D 1g});$(A).2E(6(){f w=1m();$(\'#r-N\').k({Q:w[0],I:w[1]});f L=1l();$(\'#r-5\').k({1P:L[1]+(w[3]/10),1k:L[0]})})}6 J(){$(\'#5-T\').B();$(\'#5-d,#5-j,#5-j-13,#5-j-X,#5-t-d-Y-v,#5-d-F-1o\').1j();f M=u 1f();M.1L=6(){$(\'#5-d\').2C(\'P\',4.h[4.9][0]);1J(M.Q,M.I);M.1L=6(){}};M.P=4.h[4.9][0]};6 1J(1n,1i){f 1H=$(\'#5-t-d-v\').Q();f 1G=$(\'#5-t-d-v\').I();f 1q=(1n+(4.17*2));f 1r=(1i+(4.17*2));f 1E=1H-1q;f 26=1G-1r;$(\'#5-t-d-v\').3d({Q:1q,I:1r},4.1I,6(){2y()});7((1E==0)&&(26==0)){7($.3c.3b){1C(3a)}m{1C(38)}}$(\'#5-j-13,#5-j-X\').k({I:1i+(4.17*2)});$(\'#5-t-d-Y-v\').k({Q:1n})};6 2y(){$(\'#5-T\').1j();$(\'#5-d\').1S(6(){2u();2s()});2r()};6 2u(){$(\'#5-t-d-Y-v\').35(\'34\');$(\'#5-d-F-1p\').1j();7(4.h[4.9][1]){$(\'#5-d-F-1p\').2o(4.h[4.9][1]).B()}7(4.h.y>1){$(\'#5-d-F-1o\').2o(4.2z+\' \'+(4.9+1)+\' \'+4.2p+\' \'+4.h.y).B()}}6 2s(){$(\'#5-j\').B();$(\'#5-j-13,#5-j-X\').k({\'11\':\'1y U(\'+4.19+\') 12-14\'});7(4.9!=0){$(\'#5-j-13\').1d().2l(6(){$(C).k({\'11\':\'U(\'+4.2i+\') 1k 15% 12-14\'})},6(){$(C).k({\'11\':\'1y U(\'+4.19+\') 12-14\'})}).B().2k(\'K\',6(){4.9=4.9-1;J();D 1g})}7(4.9!=(4.h.y-1)){$(\'#5-j-X\').1d().2l(6(){$(C).k({\'11\':\'U(\'+4.23+\') 30 15% 12-14\'})},6(){$(C).k({\'11\':\'1y U(\'+4.19+\') 12-14\'})}).B().2k(\'K\',6(){4.9=4.9+1;J();D 1g})}2j()}6 2j(){$(b).2Z(6(O){2g(O)})}6 1w(){$(b).1d()}6 2g(O){7(O==2f){S=2Y.2d;1u=27}m{S=O.2d;1u=O.2X}W=2W.2U(S).2T();7((W==4.2m)||(W==\'x\')||(S==1u)){18()}7((W==4.2h)||(S==37)){7(4.9!=0){4.9=4.9-1;J();1w()}}7((W==4.2c)||(S==39)){7(4.9!=(4.h.y-1)){4.9=4.9+1;J();1w()}}}6 2r(){7((4.h.y-1)>4.9){2a=u 1f();2a.P=4.h[4.9+1][0]}7(4.9>0){29=u 1f();29.P=4.h[4.9-1][0]}}6 18(){$(\'#r-5\').28();$(\'#r-N\').2R(6(){$(\'#r-N\').28()});$(\'1R, 1Q, 1N\').k({\'1M\':\'2Q\'})}6 1m(){f q,o;7(A.1b&&A.24){q=A.22+A.2P;o=A.1b+A.24}m 7(b.l.21>b.l.2b){q=b.l.2N;o=b.l.21}m{q=b.l.2M;o=b.l.2b}f z,G;7(R.1b){7(b.s.1e){z=b.s.1e}m{z=R.22}G=R.1b}m 7(b.s&&b.s.1v){z=b.s.1e;G=b.s.1v}m 7(b.l){z=b.l.1e;G=b.l.1v}7(o0&&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 +* Jan Dittberner IT-Consulting & -Solutions +* Cottbuser Str. 1, D-01129 Dresden +* All rights reserved. +*/ +var imgprefix = ""; +var imgfull = ""; +var imgthumb = ""; + +function getPathParts(imagesrc) { + var filename = imagesrc.substring(imagesrc.lastIndexOf("/") + 1); + var pathstart =imagesrc.substring(0, imagesrc.lastIndexOf("/") + 1); + if (pathstart.indexOf(imgfull) == + (pathstart.length - imgfull.length)) { + pathstart = pathstart.substring(0, pathstart.length - imgfull.length); + } else if (pathstart.indexOf(imgthumb) == + (pathstart.length - imgthumb.length)) { + pathstart = pathstart.substring(0, pathstart.length - imgthumb.length); + } + var dirname = pathstart.split(imgprefix)[1]; + var basename = dirname + filename + var retval = { + 'filename' : filename, + 'pathstart' : pathstart, + 'dirname' : dirname, + 'basename' : basename + }; + return retval; +} + +function updateContentImage(pathParts) { + var content_main = $("#content_main img").attr("src", + pathParts.pathstart + pathParts.filename); + $("#content_main a").attr("href", pathParts.pathstart + + imgfull + pathParts.filename); + $.getJSON("fetchdescription.php", + {"imagename" : pathParts.basename}, + function(data, textStatus) { + $("#imagedescription").text(data["data"]); + }); +} + +$(document).ready(function() { + $("#arrleft").mouseover(function() { + $("#scrollable").animate({ + left: "0px" + }, 5000); + }).mouseout(function() { + $("#scrollable").stop(); + }); + $("#arrright").mouseover(function() { + offset = parseInt($("#imgscroller").css("width")) - + parseInt($("#scrollable").css("width")); + $("#scrollable").animate({ + left: offset + "px" + }, 18000); + }).mouseout(function() { + $("#scrollable").stop(); + }); + $("#backbtn").click(function() { + var parts = getPathParts($("img#contentimg").attr("src")); + var pred = null; + $("div.thumbnail img").each(function() { + if (pred == null) { + pred = getPathParts(this.src); + } else { + var thumbparts = getPathParts(this.src); + if (thumbparts.basename == parts.basename) { + updateContentImage(pred); + } + pred = thumbparts; + } + }); + }); + $("#fwdbtn").click(function() { + var parts = getPathParts($("img#contentimg").attr("src")); + var pred = null; + $("div.thumbnail img").each(function() { + var thumbparts = getPathParts(this.src); + if (thumbparts.basename == parts.basename) { + pred = thumbparts; + } else if (pred != null) { + updateContentImage(thumbparts); + pred = null; + } + }); + }); + $("div.thumbnail img").mouseover(function() { + updateContentImage(getPathParts(this.src)); + }); + $("a.lightbox").lightBox(); +}); + + + +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 +* Jan Dittberner IT-Consulting & -Solutions +* Cottbuser Str. 1, D-01129 Dresden +* All rights reserved. +*/ +var imgprefix = ""; +var imgfull = ""; +var imgthumb = ""; + +function getPathParts(imagesrc) { + var filename = imagesrc.substring(imagesrc.lastIndexOf("/") + 1); + var pathstart =imagesrc.substring(0, imagesrc.lastIndexOf("/") + 1); + if (pathstart.indexOf(imgfull) == + (pathstart.length - imgfull.length)) { + pathstart = pathstart.substring(0, pathstart.length - imgfull.length); + } else if (pathstart.indexOf(imgthumb) == + (pathstart.length - imgthumb.length)) { + pathstart = pathstart.substring(0, pathstart.length - imgthumb.length); + } + var dirname = pathstart.split(imgprefix)[1]; + var basename = dirname + filename + var retval = { + 'filename' : filename, + 'pathstart' : pathstart, + 'dirname' : dirname, + 'basename' : basename + }; + return retval; +} + +function updateContentImage(pathParts) { + var content_main = $("#content_main img").attr("src", + pathParts.pathstart + pathParts.filename); + $("#content_main a").attr("href", pathParts.pathstart + + imgfull + pathParts.filename); + $.getJSON("fetchdescription.php", + {"imagename" : pathParts.basename}, + function(data, textStatus) { + $("#imagedescription").text(data["data"]); + }); +} + +$(document).ready(function() { + $("#arrleft").mouseover(function() { + $("#scrollable").animate({ + left: "0px" + }, 9000); + }).mouseout(function() { + $("#scrollable").stop(); + }); + $("#arrright").mouseover(function() { + offset = parseInt($("#imgscroller").css("width")) - + parseInt($("#scrollable").css("width")); + $("#scrollable").animate({ + left: offset + "px" + }, 9000); + }).mouseout(function() { + $("#scrollable").stop(); + }); + $("#backbtn").click(function() { + var parts = getPathParts($("img#contentimg").attr("src")); + var pred = null; + $("div.thumbnail img").each(function() { + if (pred == null) { + pred = getPathParts(this.src); + } else { + var thumbparts = getPathParts(this.src); + if (thumbparts.basename == parts.basename) { + updateContentImage(pred); + } + pred = thumbparts; + } + }); + }); + $("#fwdbtn").click(function() { + var parts = getPathParts($("img#contentimg").attr("src")); + var pred = null; + $("div.thumbnail img").each(function() { + var thumbparts = getPathParts(this.src); + if (thumbparts.basename == parts.basename) { + pred = thumbparts; + } else if (pred != null) { + updateContentImage(thumbparts); + pred = null; + } + }); + }); + $("div.thumbnail img").mouseover(function() { + updateContentImage(getPathParts(this.src)); + }); + $("a.lightbox").lightBox(); +}); \ No newline at end of file diff --git a/submenu.php b/submenu.php new file mode 100644 index 0000000..e69de29