Log In
New Account
  
Home My Page Project Cloud Code Snippets Project Openings Jenirok
Summary Tracker SCM Files
authoreshe <jessehakanen@gmail.com>
Sat, 17 Apr 2010 21:12:44 +0000 (22:12 +0100)
committereshe <jessehakanen@gmail.com>
Sat, 17 Apr 2010 21:12:44 +0000 (22:12 +0100)
41 files changed:
src/common/translations/fi_FI.qm
src/common/translations/fi_FI.ts
src/gui/detailwindow.cpp
src/gui/resultwindow.cpp
src/gui/resultwindow.h
www/fancybox/blank.gif [new file with mode: 0644]
www/fancybox/fancy_close.png [new file with mode: 0644]
www/fancybox/fancy_loading.png [new file with mode: 0644]
www/fancybox/fancy_nav_left.png [new file with mode: 0644]
www/fancybox/fancy_nav_right.png [new file with mode: 0644]
www/fancybox/fancy_shadow_e.png [new file with mode: 0644]
www/fancybox/fancy_shadow_n.png [new file with mode: 0644]
www/fancybox/fancy_shadow_ne.png [new file with mode: 0644]
www/fancybox/fancy_shadow_nw.png [new file with mode: 0644]
www/fancybox/fancy_shadow_s.png [new file with mode: 0644]
www/fancybox/fancy_shadow_se.png [new file with mode: 0644]
www/fancybox/fancy_shadow_sw.png [new file with mode: 0644]
www/fancybox/fancy_shadow_w.png [new file with mode: 0644]
www/fancybox/fancy_title_left.png [new file with mode: 0644]
www/fancybox/fancy_title_main.png [new file with mode: 0644]
www/fancybox/fancy_title_over.png [new file with mode: 0644]
www/fancybox/fancy_title_right.png [new file with mode: 0644]
www/fancybox/fancybox-x.png [new file with mode: 0644]
www/fancybox/fancybox-y.png [new file with mode: 0644]
www/fancybox/fancybox.png [new file with mode: 0644]
www/fancybox/jquery.easing-1.3.pack.js [new file with mode: 0644]
www/fancybox/jquery.fancybox-1.3.1.css [new file with mode: 0644]
www/fancybox/jquery.fancybox-1.3.1.js [new file with mode: 0644]
www/fancybox/jquery.fancybox-1.3.1.pack.js [new file with mode: 0644]
www/fancybox/jquery.mousewheel-3.0.2.pack.js [new file with mode: 0644]
www/index.html [new file with mode: 0644]
www/screenshot1.png [new file with mode: 0644]
www/screenshot1_thumb.png [new file with mode: 0644]
www/screenshot2.png [new file with mode: 0644]
www/screenshot2_thumb.png [new file with mode: 0644]
www/screenshot3.png [new file with mode: 0644]
www/screenshot3_thumb.png [new file with mode: 0644]
www/screenshot4.png [new file with mode: 0644]
www/screenshot4_thumb.png [new file with mode: 0644]
www/script.js [new file with mode: 0644]
www/style.css [new file with mode: 0644]

index 0aaa36e..9cb8b20 100644 (file)
Binary files a/src/common/translations/fi_FI.qm and b/src/common/translations/fi_FI.qm differ
index eed27cf..398cb17 100644 (file)
 <context>
     <name>ResultWindow</name>
     <message>
-        <location filename="../../gui/resultwindow.cpp" line="33"/>
+        <location filename="../../gui/resultwindow.cpp" line="34"/>
         <source>Search results</source>
         <translation>Hakutulokset</translation>
     </message>
     <message>
-        <location filename="../../gui/resultwindow.cpp" line="140"/>
+        <location filename="../../gui/resultwindow.cpp" line="150"/>
+        <source>Unknown error</source>
+        <translation>Tuntematon virhe</translation>
+    </message>
+    <message>
+        <location filename="../../gui/resultwindow.cpp" line="153"/>
         <source>Error</source>
         <translation>Virhe</translation>
     </message>
     <message>
-        <location filename="../../gui/resultwindow.cpp" line="145"/>
+        <location filename="../../gui/resultwindow.cpp" line="158"/>
         <source>No results found</source>
         <translation>Ei hakutuloksia</translation>
     </message>
index 1fdbf7e..e916fcb 100644 (file)
  *
  */
 
-#include <QMaemo5ValueButton>
-#include <QMaemo5InformationBox>
-#include <QApplication>
 #include <QtDBus/QDBusConnection>
 #include <QtDBus/QDBusMessage>
 #include <QtGui/QMessageBox>
 #include <QtGui/QLabel>
 #include <QtGui/QClipboard>
+#include <QtGui/QDialogButtonBox>
+#include <QMaemo5ValueButton>
+#include <QMaemo5InformationBox>
+#include <QApplication>
 #include <QDebug>
 #include "detailwindow.h"
 #include "contactmanager.h"
@@ -108,10 +109,18 @@ void DetailWindow::showAddToContactsDialog()
         QHBoxLayout* layout = new QHBoxLayout();
         QLabel* name = new QLabel(tr("Name"));
         QPushButton* button = new QPushButton(tr("Add"));
+
+        QDialogButtonBox* buttons = new QDialogButtonBox;
+        buttons->setCenterButtons(false);
+        buttons->addButton(button, QDialogButtonBox::AcceptRole);
         connect(button, SIGNAL(pressed()), this, SLOT(addToContacts()));
-        layout->addWidget(name);
-        layout->addWidget(addContactInput_);
-        layout->addWidget(button);
+
+        QHBoxLayout* left = new QHBoxLayout();
+        left->addWidget(name);
+        left->addWidget(addContactInput_);
+
+        layout->addLayout(left, Qt::AlignLeft);
+        layout->addWidget(buttons);
         addDialog_->setLayout(layout);
     }
 
index 11e6fc1..7c556c6 100644 (file)
@@ -55,6 +55,7 @@ void ResultWindow::search(SearchDialog::SearchDetails& details)
     if(!eniro_)
     {
         eniro_ = new Eniro(selectedSite, this);
+        eniro_->setTimeout(REQUEST_TIMEOUT);
 
         connect(eniro_, SIGNAL(resultAvailable(Eniro::Result const&,
                                                Eniro::SearchDetails const&)),
@@ -143,7 +144,14 @@ void ResultWindow::requestFinished(QVector <Eniro::Result> const& results,
 
     if(error)
     {
-        QMessageBox::critical(this, tr("Error"), eniro_->errorString());
+        QString errorString = eniro_->errorString();
+
+        if(errorString.isEmpty())
+        {
+            errorString = tr("Unknown error");
+        }
+
+        QMessageBox::critical(this, tr("Error"), errorString);
     }
 
     if(results.size() == 0)
index f9b884f..4b9f521 100644 (file)
@@ -32,6 +32,7 @@ class ResultWindow : public QMainWindow
 
 public:
     ResultWindow(QWidget* parent = 0);
+    static const int REQUEST_TIMEOUT = 20000;
 
 signals:
     void itemSelected(Eniro::Result const& result);
diff --git a/www/fancybox/blank.gif b/www/fancybox/blank.gif
new file mode 100644 (file)
index 0000000..35d42e8
Binary files /dev/null and b/www/fancybox/blank.gif differ
diff --git a/www/fancybox/fancy_close.png b/www/fancybox/fancy_close.png
new file mode 100644 (file)
index 0000000..0703530
Binary files /dev/null and b/www/fancybox/fancy_close.png differ
diff --git a/www/fancybox/fancy_loading.png b/www/fancybox/fancy_loading.png
new file mode 100644 (file)
index 0000000..2503017
Binary files /dev/null and b/www/fancybox/fancy_loading.png differ
diff --git a/www/fancybox/fancy_nav_left.png b/www/fancybox/fancy_nav_left.png
new file mode 100644 (file)
index 0000000..ebaa6a4
Binary files /dev/null and b/www/fancybox/fancy_nav_left.png differ
diff --git a/www/fancybox/fancy_nav_right.png b/www/fancybox/fancy_nav_right.png
new file mode 100644 (file)
index 0000000..873294e
Binary files /dev/null and b/www/fancybox/fancy_nav_right.png differ
diff --git a/www/fancybox/fancy_shadow_e.png b/www/fancybox/fancy_shadow_e.png
new file mode 100644 (file)
index 0000000..2eda089
Binary files /dev/null and b/www/fancybox/fancy_shadow_e.png differ
diff --git a/www/fancybox/fancy_shadow_n.png b/www/fancybox/fancy_shadow_n.png
new file mode 100644 (file)
index 0000000..69aa10e
Binary files /dev/null and b/www/fancybox/fancy_shadow_n.png differ
diff --git a/www/fancybox/fancy_shadow_ne.png b/www/fancybox/fancy_shadow_ne.png
new file mode 100644 (file)
index 0000000..79f6980
Binary files /dev/null and b/www/fancybox/fancy_shadow_ne.png differ
diff --git a/www/fancybox/fancy_shadow_nw.png b/www/fancybox/fancy_shadow_nw.png
new file mode 100644 (file)
index 0000000..7182cd9
Binary files /dev/null and b/www/fancybox/fancy_shadow_nw.png differ
diff --git a/www/fancybox/fancy_shadow_s.png b/www/fancybox/fancy_shadow_s.png
new file mode 100644 (file)
index 0000000..d8858bf
Binary files /dev/null and b/www/fancybox/fancy_shadow_s.png differ
diff --git a/www/fancybox/fancy_shadow_se.png b/www/fancybox/fancy_shadow_se.png
new file mode 100644 (file)
index 0000000..541e3ff
Binary files /dev/null and b/www/fancybox/fancy_shadow_se.png differ
diff --git a/www/fancybox/fancy_shadow_sw.png b/www/fancybox/fancy_shadow_sw.png
new file mode 100644 (file)
index 0000000..b451689
Binary files /dev/null and b/www/fancybox/fancy_shadow_sw.png differ
diff --git a/www/fancybox/fancy_shadow_w.png b/www/fancybox/fancy_shadow_w.png
new file mode 100644 (file)
index 0000000..8a4e4a8
Binary files /dev/null and b/www/fancybox/fancy_shadow_w.png differ
diff --git a/www/fancybox/fancy_title_left.png b/www/fancybox/fancy_title_left.png
new file mode 100644 (file)
index 0000000..6049223
Binary files /dev/null and b/www/fancybox/fancy_title_left.png differ
diff --git a/www/fancybox/fancy_title_main.png b/www/fancybox/fancy_title_main.png
new file mode 100644 (file)
index 0000000..8044271
Binary files /dev/null and b/www/fancybox/fancy_title_main.png differ
diff --git a/www/fancybox/fancy_title_over.png b/www/fancybox/fancy_title_over.png
new file mode 100644 (file)
index 0000000..d9f458f
Binary files /dev/null and b/www/fancybox/fancy_title_over.png differ
diff --git a/www/fancybox/fancy_title_right.png b/www/fancybox/fancy_title_right.png
new file mode 100644 (file)
index 0000000..e36d9db
Binary files /dev/null and b/www/fancybox/fancy_title_right.png differ
diff --git a/www/fancybox/fancybox-x.png b/www/fancybox/fancybox-x.png
new file mode 100644 (file)
index 0000000..c2130f8
Binary files /dev/null and b/www/fancybox/fancybox-x.png differ
diff --git a/www/fancybox/fancybox-y.png b/www/fancybox/fancybox-y.png
new file mode 100644 (file)
index 0000000..7ef399b
Binary files /dev/null and b/www/fancybox/fancybox-y.png differ
diff --git a/www/fancybox/fancybox.png b/www/fancybox/fancybox.png
new file mode 100644 (file)
index 0000000..65e14f6
Binary files /dev/null and b/www/fancybox/fancybox.png differ
diff --git a/www/fancybox/jquery.easing-1.3.pack.js b/www/fancybox/jquery.easing-1.3.pack.js
new file mode 100644 (file)
index 0000000..9028179
--- /dev/null
@@ -0,0 +1,72 @@
+/*
+ * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
+ *
+ * Uses the built in easing capabilities added In jQuery 1.1
+ * to offer multiple easing options
+ *
+ * TERMS OF USE - jQuery Easing
+ * 
+ * Open source under the BSD License. 
+ * 
+ * Copyright © 2008 George McGinley Smith
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, 
+ * are permitted provided that the following conditions are met:
+ * 
+ * Redistributions of source code must retain the above copyright notice, this list of 
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list 
+ * of conditions and the following disclaimer in the documentation and/or other materials 
+ * provided with the distribution.
+ * 
+ * Neither the name of the author nor the names of contributors may be used to endorse 
+ * or promote products derived from this software without specific prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
+ * OF THE POSSIBILITY OF SUCH DAMAGE. 
+ *
+*/
+
+// t: current time, b: begInnIng value, c: change In value, d: duration
+eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?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}('h.i[\'1a\']=h.i[\'z\'];h.O(h.i,{y:\'D\',z:9(x,t,b,c,d){6 h.i[h.i.y](x,t,b,c,d)},17:9(x,t,b,c,d){6 c*(t/=d)*t+b},D:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},X:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},U:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},R:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},N:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},M:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},L:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},K:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},J:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},I:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},G:9(x,t,b,c,d){6-c*8.C(t/d*(8.g/2))+c+b},15:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},12:9(x,t,b,c,d){6-c/2*(8.C(8.g*t/d)-1)+b},Z:9(x,t,b,c,d){6(t==0)?b:c*8.j(2,10*(t/d-1))+b},Y:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.j(2,-10*t/d)+1)+b},W:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.j(2,10*(t-1))+b;6 c/2*(-8.j(2,-10*--t)+2)+b},V:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},S:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},Q:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},P:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},H:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.j(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},T:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.w(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.j(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.j(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},F:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},E:9(x,t,b,c,d,s){e(s==u)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},16:9(x,t,b,c,d,s){e(s==u)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.B))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.B))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.i.v(x,d-t,0,c,d)+b},v:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.14/2.k))*t+.11)+b}m{6 c*(7.q*(t-=(2.18/2.k))*t+.19)+b}},1b:9(x,t,b,c,d){e(t<d/2)6 h.i.A(x,t*2,0,c,d)*.5+b;6 h.i.v(x,t*2-d,0,c,d)*.5+c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|easing|pow|75|70158|else|sin|sqrt||5625|asin|||undefined|easeOutBounce|abs||def|swing|easeInBounce|525|cos|easeOutQuad|easeOutBack|easeInBack|easeInSine|easeOutElastic|easeInOutQuint|easeOutQuint|easeInQuint|easeInOutQuart|easeOutQuart|easeInQuart|extend|easeInElastic|easeInOutCirc|easeInOutCubic|easeOutCirc|easeInOutElastic|easeOutCubic|easeInCirc|easeInOutExpo|easeInCubic|easeOutExpo|easeInExpo||9375|easeInOutSine|easeInOutQuad|25|easeOutSine|easeInOutBack|easeInQuad|625|984375|jswing|easeInOutBounce'.split('|'),0,{}))
+
+/*
+ *
+ * TERMS OF USE - EASING EQUATIONS
+ * 
+ * Open source under the BSD License. 
+ * 
+ * Copyright © 2001 Robert Penner
+ * All rights reserved.
+ * 
+ * Redistribution and use in source and binary forms, with or without modification, 
+ * are permitted provided that the following conditions are met:
+ * 
+ * Redistributions of source code must retain the above copyright notice, this list of 
+ * conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright notice, this list 
+ * of conditions and the following disclaimer in the documentation and/or other materials 
+ * provided with the distribution.
+ * 
+ * Neither the name of the author nor the names of contributors may be used to endorse 
+ * or promote products derived from this software without specific prior written permission.
+ * 
+ * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
+ * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+ * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+ *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
+ * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
+ * OF THE POSSIBILITY OF SUCH DAMAGE. 
+ *
+ */
diff --git a/www/fancybox/jquery.fancybox-1.3.1.css b/www/fancybox/jquery.fancybox-1.3.1.css
new file mode 100644 (file)
index 0000000..28bbb13
--- /dev/null
@@ -0,0 +1,363 @@
+/*\r
+ * FancyBox - jQuery Plugin\r
+ * Simple and fancy lightbox alternative\r
+ *\r
+ * Examples and documentation at: http://fancybox.net\r
+ * \r
+ * Copyright (c) 2008 - 2010 Janis Skarnelis\r
+ *\r
+ * Version: 1.3.1 (05/03/2010)\r
+ * Requires: jQuery v1.3+\r
+ *\r
+ * Dual licensed under the MIT and GPL licenses:\r
+ *   http://www.opensource.org/licenses/mit-license.php\r
+ *   http://www.gnu.org/licenses/gpl.html\r
+ */\r
+\r
+#fancybox-loading {\r
+       position: fixed;\r
+       top: 50%;\r
+       left: 50%;\r
+       height: 40px;\r
+       width: 40px;\r
+       margin-top: -20px;\r
+       margin-left: -20px;\r
+       cursor: pointer;\r
+       overflow: hidden;\r
+       z-index: 1104;\r
+       display: none;\r
+}\r
+\r
+* html #fancybox-loading {     /* IE6 */\r
+       position: absolute;\r
+       margin-top: 0;\r
+}\r
+\r
+#fancybox-loading div {\r
+       position: absolute;\r
+       top: 0;\r
+       left: 0;\r
+       width: 40px;\r
+       height: 480px;\r
+       background-image: url('fancybox.png');\r
+}\r
+\r
+#fancybox-overlay {\r
+       position: fixed;\r
+       top: 0;\r
+       left: 0;\r
+       bottom: 0;\r
+       right: 0;\r
+       background: #000;\r
+       z-index: 1100;\r
+       display: none;\r
+}\r
+\r
+* html #fancybox-overlay {     /* IE6 */\r
+       position: absolute;\r
+       width: 100%;\r
+}\r
+\r
+#fancybox-tmp {\r
+       padding: 0;\r
+       margin: 0;\r
+       border: 0;\r
+       overflow: auto;\r
+       display: none;\r
+}\r
+\r
+#fancybox-wrap {\r
+       position: absolute;\r
+       top: 0;\r
+       left: 0;\r
+       margin: 0;\r
+       padding: 20px;\r
+       z-index: 1101;\r
+       display: none;\r
+}\r
+\r
+#fancybox-outer {\r
+       position: relative;\r
+       width: 100%;\r
+       height: 100%;\r
+       background: #FFF;\r
+}\r
+\r
+#fancybox-inner {\r
+       position: absolute;\r
+       top: 0;\r
+       left: 0;\r
+       width: 1px;\r
+       height: 1px;\r
+       padding: 0;\r
+       margin: 0;\r
+       outline: none;\r
+       overflow: hidden;\r
+}\r
+\r
+#fancybox-hide-sel-frame {\r
+       position: absolute;\r
+       top: 0;\r
+       left: 0;\r
+       width: 100%;\r
+       height: 100%;\r
+       background: transparent;\r
+}\r
+\r
+#fancybox-close {\r
+       position: absolute;\r
+       top: -15px;\r
+       right: -15px;\r
+       width: 30px;\r
+       height: 30px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px 0px;\r
+       cursor: pointer;\r
+       z-index: 1103;\r
+       display: none;\r
+}\r
+\r
+#fancybox_error {\r
+       color: #444;\r
+       font: normal 12px/20px Arial;\r
+       padding: 7px;\r
+       margin: 0;\r
+}\r
+\r
+#fancybox-content {\r
+       height: auto;\r
+       width: auto;\r
+       padding: 0;\r
+       margin: 0;\r
+}\r
+\r
+#fancybox-img {\r
+       width: 100%;\r
+       height: 100%;\r
+       padding: 0;\r
+       margin: 0;\r
+       border: none;\r
+       outline: none;\r
+       line-height: 0;\r
+       vertical-align: top;\r
+       -ms-interpolation-mode: bicubic;\r
+}\r
+\r
+#fancybox-frame {\r
+       position: relative;\r
+       width: 100%;\r
+       height: 100%;\r
+       border: none;\r
+       display: block;\r
+}\r
+\r
+#fancybox-title {\r
+       position: absolute;\r
+       bottom: 0;\r
+       left: 0;\r
+       font-family: Arial;\r
+       font-size: 12px;\r
+       z-index: 1102;\r
+}\r
+\r
+.fancybox-title-inside {\r
+       padding: 10px 0;\r
+       text-align: center;\r
+       color: #333;\r
+}\r
+\r
+.fancybox-title-outside {\r
+       padding-top: 5px;\r
+       color: #FFF;\r
+       text-align: center;\r
+       font-weight: bold;\r
+}\r
+\r
+.fancybox-title-over {\r
+       color: #FFF;\r
+       text-align: left;\r
+}\r
+\r
+#fancybox-title-over {\r
+       padding: 10px;\r
+       background-image: url('fancy_title_over.png');\r
+       display: block;\r
+}\r
+\r
+#fancybox-title-wrap {\r
+       display: inline-block;\r
+}\r
+\r
+#fancybox-title-wrap span {\r
+       height: 32px;\r
+       float: left;\r
+}\r
+\r
+#fancybox-title-left {\r
+       padding-left: 15px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -90px;\r
+       background-repeat: no-repeat;\r
+}\r
+\r
+#fancybox-title-main {\r
+       font-weight: bold;\r
+       line-height: 29px;\r
+       background-image: url('fancybox-x.png');\r
+       background-position: 0px -40px;\r
+       color: #FFF;\r
+}\r
+\r
+#fancybox-title-right {\r
+       padding-left: 15px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -55px -90px;\r
+       background-repeat: no-repeat;\r
+}\r
+\r
+#fancybox-left, #fancybox-right {\r
+       position: absolute;\r
+       bottom: 0px;\r
+       height: 100%;\r
+       width: 35%;\r
+       cursor: pointer;\r
+       outline: none;\r
+       background-image: url('blank.gif');\r
+       z-index: 1102;\r
+       display: none;\r
+}\r
+\r
+#fancybox-left {\r
+       left: 0px;\r
+}\r
+\r
+#fancybox-right {\r
+       right: 0px;\r
+}\r
+\r
+#fancybox-left-ico, #fancybox-right-ico {\r
+       position: absolute;\r
+       top: 50%;\r
+       left: -9999px;\r
+       width: 30px;\r
+       height: 30px;\r
+       margin-top: -15px;\r
+       cursor: pointer;\r
+       z-index: 1102;\r
+       display: block;\r
+}\r
+\r
+#fancybox-left-ico {\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -30px;\r
+}\r
+\r
+#fancybox-right-ico {\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -60px;\r
+}\r
+\r
+#fancybox-left:hover, #fancybox-right:hover {\r
+       visibility: visible;    /* IE6 */\r
+}\r
+\r
+#fancybox-left:hover span {\r
+       left: 20px;\r
+}\r
+\r
+#fancybox-right:hover span {\r
+       left: auto;\r
+       right: 20px;\r
+}\r
+\r
+.fancy-bg {\r
+       position: absolute;\r
+       padding: 0;\r
+       margin: 0;\r
+       border: 0;\r
+       width: 20px;\r
+       height: 20px;\r
+       z-index: 1001;\r
+}\r
+\r
+#fancy-bg-n {\r
+       top: -20px;\r
+       left: 0;\r
+       width: 100%;\r
+       background-image: url('fancybox-x.png');\r
+}\r
+\r
+#fancy-bg-ne {\r
+       top: -20px;\r
+       right: -20px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -162px;\r
+}\r
+\r
+#fancy-bg-e {\r
+       top: 0;\r
+       right: -20px;\r
+       height: 100%;\r
+       background-image: url('fancybox-y.png');\r
+       background-position: -20px 0px;\r
+}\r
+\r
+#fancy-bg-se {\r
+       bottom: -20px;\r
+       right: -20px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -182px; \r
+}\r
+\r
+#fancy-bg-s {\r
+       bottom: -20px;\r
+       left: 0;\r
+       width: 100%;\r
+       background-image: url('fancybox-x.png');\r
+       background-position: 0px -20px;\r
+}\r
+\r
+#fancy-bg-sw {\r
+       bottom: -20px;\r
+       left: -20px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -142px;\r
+}\r
+\r
+#fancy-bg-w {\r
+       top: 0;\r
+       left: -20px;\r
+       height: 100%;\r
+       background-image: url('fancybox-y.png');\r
+}\r
+\r
+#fancy-bg-nw {\r
+       top: -20px;\r
+       left: -20px;\r
+       background-image: url('fancybox.png');\r
+       background-position: -40px -122px;\r
+}\r
+\r
+/* IE */\r
+\r
+#fancybox-loading.fancybox-ie div      { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_loading.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancybox-close           { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_close.png', sizingMethod='scale'); }\r
+\r
+.fancybox-ie #fancybox-title-over      { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_over.png', sizingMethod='scale'); zoom: 1; }\r
+.fancybox-ie #fancybox-title-left      { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_left.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancybox-title-main      { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_main.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancybox-title-right     { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_title_right.png', sizingMethod='scale'); }\r
+\r
+.fancybox-ie #fancybox-left-ico                { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_left.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancybox-right-ico       { background: transparent; filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_nav_right.png', sizingMethod='scale'); }\r
+\r
+.fancybox-ie .fancy-bg { background: transparent !important; }\r
+\r
+.fancybox-ie #fancy-bg-n       { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_n.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-ne      { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_ne.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-e       { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_e.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-se      { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_se.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-s       { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_s.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-sw      { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_sw.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-w       { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_w.png', sizingMethod='scale'); }\r
+.fancybox-ie #fancy-bg-nw      { filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fancybox/fancy_shadow_nw.png', sizingMethod='scale'); }\r
diff --git a/www/fancybox/jquery.fancybox-1.3.1.js b/www/fancybox/jquery.fancybox-1.3.1.js
new file mode 100644 (file)
index 0000000..688f93a
--- /dev/null
@@ -0,0 +1,1077 @@
+/*\r
+ * FancyBox - jQuery Plugin\r
+ * Simple and fancy lightbox alternative\r
+ *\r
+ * Examples and documentation at: http://fancybox.net\r
+ * \r
+ * Copyright (c) 2008 - 2010 Janis Skarnelis\r
+ *\r
+ * Version: 1.3.1 (05/03/2010)\r
+ * Requires: jQuery v1.3+\r
+ *\r
+ * Dual licensed under the MIT and GPL licenses:\r
+ *   http://www.opensource.org/licenses/mit-license.php\r
+ *   http://www.gnu.org/licenses/gpl.html\r
+ */\r
+\r
+(function($) {\r
+\r
+       var tmp, loading, overlay, wrap, outer, inner, close, nav_left, nav_right,\r
+\r
+               selectedIndex = 0, selectedOpts = {}, selectedArray = [], currentIndex = 0, currentOpts = {}, currentArray = [],\r
+\r
+               ajaxLoader = null, imgPreloader = new Image(), imgRegExp = /\.(jpg|gif|png|bmp|jpeg)(.*)?$/i, swfRegExp = /[^\.]\.(swf)\s*$/i,\r
+\r
+               loadingTimer, loadingFrame = 1,\r
+\r
+               start_pos, final_pos, busy = false, shadow = 20, fx = $.extend($('<div/>')[0], { prop: 0 }), titleh = 0, \r
+\r
+               isIE6 = !$.support.opacity && !window.XMLHttpRequest,\r
+\r
+               /*\r
+                * Private methods \r
+                */\r
+\r
+               fancybox_abort = function() {\r
+                       loading.hide();\r
+\r
+                       imgPreloader.onerror = imgPreloader.onload = null;\r
+\r
+                       if (ajaxLoader) {\r
+                               ajaxLoader.abort();\r
+                       }\r
+\r
+                       tmp.empty();\r
+               },\r
+\r
+               fancybox_error = function() {\r
+                       $.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>', {\r
+                               'scrolling'             : 'no',\r
+                               'padding'               : 20,\r
+                               'transitionIn'  : 'none',\r
+                               'transitionOut' : 'none'\r
+                       });\r
+               },\r
+\r
+               fancybox_get_viewport = function() {\r
+                       return [ $(window).width(), $(window).height(), $(document).scrollLeft(), $(document).scrollTop() ];\r
+               },\r
+\r
+               fancybox_get_zoom_to = function () {\r
+                       var view        = fancybox_get_viewport(),\r
+                               to              = {},\r
+\r
+                               margin = currentOpts.margin,\r
+                               resize = currentOpts.autoScale,\r
+\r
+                               horizontal_space        = (shadow + margin) * 2,\r
+                               vertical_space          = (shadow + margin) * 2,\r
+                               double_padding          = (currentOpts.padding * 2),\r
+                               \r
+                               ratio;\r
+\r
+                       if (currentOpts.width.toString().indexOf('%') > -1) {\r
+                               to.width = ((view[0] * parseFloat(currentOpts.width)) / 100) - (shadow * 2) ;\r
+                               resize = false;\r
+\r
+                       } else {\r
+                               to.width = currentOpts.width + double_padding;\r
+                       }\r
+\r
+                       if (currentOpts.height.toString().indexOf('%') > -1) {\r
+                               to.height = ((view[1] * parseFloat(currentOpts.height)) / 100) - (shadow * 2);\r
+                               resize = false;\r
+\r
+                       } else {\r
+                               to.height = currentOpts.height + double_padding;\r
+                       }\r
+\r
+                       if (resize && (to.width > (view[0] - horizontal_space) || to.height > (view[1] - vertical_space))) {\r
+                               if (selectedOpts.type == 'image' || selectedOpts.type == 'swf') {\r
+                                       horizontal_space        += double_padding;\r
+                                       vertical_space          += double_padding;\r
+\r
+                                       ratio = Math.min(Math.min( view[0] - horizontal_space, currentOpts.width) / currentOpts.width, Math.min( view[1] - vertical_space, currentOpts.height) / currentOpts.height);\r
+\r
+                                       to.width        = Math.round(ratio * (to.width  - double_padding)) + double_padding;\r
+                                       to.height       = Math.round(ratio * (to.height - double_padding)) + double_padding;\r
+\r
+                               } else {\r
+                                       to.width        = Math.min(to.width,    (view[0] - horizontal_space));\r
+                                       to.height       = Math.min(to.height,   (view[1] - vertical_space));\r
+                               }\r
+                       }\r
+\r
+                       to.top  = view[3] + ((view[1] - (to.height      + (shadow * 2 ))) * 0.5);\r
+                       to.left = view[2] + ((view[0] - (to.width       + (shadow * 2 ))) * 0.5);\r
+\r
+                       if (currentOpts.autoScale === false) {\r
+                               to.top  = Math.max(view[3] + margin, to.top);\r
+                               to.left = Math.max(view[2] + margin, to.left);\r
+                       }\r
+\r
+                       return to;\r
+               },\r
+\r
+               fancybox_format_title = function(title) {\r
+                       if (title && title.length) {\r
+                               switch (currentOpts.titlePosition) {\r
+                                       case 'inside':\r
+                                               return title;\r
+                                       case 'over':\r
+                                               return '<span id="fancybox-title-over">' + title + '</span>';\r
+                                       default:\r
+                                               return '<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">' + title + '</span><span id="fancybox-title-right"></span></span>';\r
+                               }\r
+                       }\r
+\r
+                       return false;\r
+               },\r
+\r
+               fancybox_process_title = function() {\r
+                       var title       = currentOpts.title,\r
+                               width   = final_pos.width - (currentOpts.padding * 2),\r
+                               titlec  = 'fancybox-title-' + currentOpts.titlePosition;\r
+                               \r
+                       $('#fancybox-title').remove();\r
+\r
+                       titleh = 0;\r
+\r
+                       if (currentOpts.titleShow === false) {\r
+                               return;\r
+                       }\r
+\r
+                       title = $.isFunction(currentOpts.titleFormat) ? currentOpts.titleFormat(title, currentArray, currentIndex, currentOpts) : fancybox_format_title(title);\r
+\r
+                       if (!title || title === '') {\r
+                               return;\r
+                       }\r
+\r
+                       $('<div id="fancybox-title" class="' + titlec + '" />').css({\r
+                               'width'                 : width,\r
+                               'paddingLeft'   : currentOpts.padding,\r
+                               'paddingRight'  : currentOpts.padding\r
+                       }).html(title).appendTo('body');\r
+\r
+                       switch (currentOpts.titlePosition) {\r
+                               case 'inside':\r
+                                       titleh = $("#fancybox-title").outerHeight(true) - currentOpts.padding;\r
+                                       final_pos.height += titleh;\r
+                               break;\r
+\r
+                               case 'over':\r
+                                       $('#fancybox-title').css('bottom', currentOpts.padding);\r
+                               break;\r
+\r
+                               default:\r
+                                       $('#fancybox-title').css('bottom', $("#fancybox-title").outerHeight(true) * -1);\r
+                               break;\r
+                       }\r
+\r
+                       $('#fancybox-title').appendTo( outer ).hide();\r
+               },\r
+\r
+               fancybox_set_navigation = function() {\r
+                       $(document).unbind('keydown.fb').bind('keydown.fb', function(e) {\r
+                               if (e.keyCode == 27 && currentOpts.enableEscapeButton) {\r
+                                       e.preventDefault();\r
+                                       $.fancybox.close();\r
+\r
+                               } else if (e.keyCode == 37) {\r
+                                       e.preventDefault();\r
+                                       $.fancybox.prev();\r
+\r
+                               } else if (e.keyCode == 39) {\r
+                                       e.preventDefault();\r
+                                       $.fancybox.next();\r
+                               }\r
+                       });\r
+\r
+                       if ($.fn.mousewheel) {\r
+                               wrap.unbind('mousewheel.fb');\r
+\r
+                               if (currentArray.length > 1) {\r
+                                       wrap.bind('mousewheel.fb', function(e, delta) {\r
+                                               e.preventDefault();\r
+\r
+                                               if (busy || delta === 0) {\r
+                                                       return;\r
+                                               }\r
+\r
+                                               if (delta > 0) {\r
+                                                       $.fancybox.prev();\r
+                                               } else {\r
+                                                       $.fancybox.next();\r
+                                               }\r
+                                       });\r
+                               }\r
+                       }\r
+\r
+                       if (!currentOpts.showNavArrows) { return; }\r
+\r
+                       if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex !== 0) {\r
+                               nav_left.show();\r
+                       }\r
+\r
+                       if ((currentOpts.cyclic && currentArray.length > 1) || currentIndex != (currentArray.length -1)) {\r
+                               nav_right.show();\r
+                       }\r
+               },\r
+\r
+               fancybox_preload_images = function() {\r
+                       var href, \r
+                               objNext;\r
+                               \r
+                       if ((currentArray.length -1) > currentIndex) {\r
+                               href = currentArray[ currentIndex + 1 ].href;\r
+\r
+                               if (typeof href !== 'undefined' && href.match(imgRegExp)) {\r
+                                       objNext = new Image();\r
+                                       objNext.src = href;\r
+                               }\r
+                       }\r
+\r
+                       if (currentIndex > 0) {\r
+                               href = currentArray[ currentIndex - 1 ].href;\r
+\r
+                               if (typeof href !== 'undefined' && href.match(imgRegExp)) {\r
+                                       objNext = new Image();\r
+                                       objNext.src = href;\r
+                               }\r
+                       }\r
+               },\r
+\r
+               _finish = function () {\r
+                       inner.css('overflow', (currentOpts.scrolling == 'auto' ? (currentOpts.type == 'image' || currentOpts.type == 'iframe' || currentOpts.type == 'swf' ? 'hidden' : 'auto') : (currentOpts.scrolling == 'yes' ? 'auto' : 'visible')));\r
+\r
+                       if (!$.support.opacity) {\r
+                               inner.get(0).style.removeAttribute('filter');\r
+                               wrap.get(0).style.removeAttribute('filter');\r
+                       }\r
+\r
+                       $('#fancybox-title').show();\r
+\r
+                       if (currentOpts.hideOnContentClick)     {\r
+                               inner.one('click', $.fancybox.close);\r
+                       }\r
+                       if (currentOpts.hideOnOverlayClick)     {\r
+                               overlay.one('click', $.fancybox.close);\r
+                       }\r
+\r
+                       if (currentOpts.showCloseButton) {\r
+                               close.show();\r
+                       }\r
+\r
+                       fancybox_set_navigation();\r
+\r
+                       $(window).bind("resize.fb", $.fancybox.center);\r
+\r
+                       if (currentOpts.centerOnScroll) {\r
+                               $(window).bind("scroll.fb", $.fancybox.center);\r
+                       } else {\r
+                               $(window).unbind("scroll.fb");\r
+                       }\r
+\r
+                       if ($.isFunction(currentOpts.onComplete)) {\r
+                               currentOpts.onComplete(currentArray, currentIndex, currentOpts);\r
+                       }\r
+\r
+                       busy = false;\r
+\r
+                       fancybox_preload_images();\r
+               },\r
+\r
+               fancybox_draw = function(pos) {\r
+                       var width       = Math.round(start_pos.width    + (final_pos.width      - start_pos.width)      * pos),\r
+                               height  = Math.round(start_pos.height   + (final_pos.height     - start_pos.height)     * pos),\r
+\r
+                               top             = Math.round(start_pos.top      + (final_pos.top        - start_pos.top)        * pos),\r
+                               left    = Math.round(start_pos.left     + (final_pos.left       - start_pos.left)       * pos);\r
+\r
+                       wrap.css({\r
+                               'width'         : width         + 'px',\r
+                               'height'        : height        + 'px',\r
+                               'top'           : top           + 'px',\r
+                               'left'          : left          + 'px'\r
+                       });\r
+\r
+                       width   = Math.max(width - currentOpts.padding * 2, 0);\r
+                       height  = Math.max(height - (currentOpts.padding * 2 + (titleh * pos)), 0);\r
+\r
+                       inner.css({\r
+                               'width'         : width         + 'px',\r
+                               'height'        : height        + 'px'\r
+                       });\r
+\r
+                       if (typeof final_pos.opacity !== 'undefined') {\r
+                               wrap.css('opacity', (pos < 0.5 ? 0.5 : pos));\r
+                       }\r
+               },\r
+\r
+               fancybox_get_obj_pos = function(obj) {\r
+                       var pos         = obj.offset();\r
+\r
+                       pos.top         += parseFloat( obj.css('paddingTop') )  || 0;\r
+                       pos.left        += parseFloat( obj.css('paddingLeft') ) || 0;\r
+\r
+                       pos.top         += parseFloat( obj.css('border-top-width') )    || 0;\r
+                       pos.left        += parseFloat( obj.css('border-left-width') )   || 0;\r
+\r
+                       pos.width       = obj.width();\r
+                       pos.height      = obj.height();\r
+\r
+                       return pos;\r
+               },\r
+\r
+               fancybox_get_zoom_from = function() {\r
+                       var orig = selectedOpts.orig ? $(selectedOpts.orig) : false,\r
+                               from = {},\r
+                               pos,\r
+                               view;\r
+\r
+                       if (orig && orig.length) {\r
+                               pos = fancybox_get_obj_pos(orig);\r
+\r
+                               from = {\r
+                                       width   : (pos.width    + (currentOpts.padding * 2)),\r
+                                       height  : (pos.height   + (currentOpts.padding * 2)),\r
+                                       top             : (pos.top              - currentOpts.padding - shadow),\r
+                                       left    : (pos.left             - currentOpts.padding - shadow)\r
+                               };\r
+                               \r
+                       } else {\r
+                               view = fancybox_get_viewport();\r
+\r
+                               from = {\r
+                                       width   : 1,\r
+                                       height  : 1,\r
+                                       top             : view[3] + view[1] * 0.5,\r
+                                       left    : view[2] + view[0] * 0.5\r
+                               };\r
+                       }\r
+\r
+                       return from;\r
+               },\r
+\r
+               fancybox_show = function() {\r
+                       loading.hide();\r
+\r
+                       if (wrap.is(":visible") && $.isFunction(currentOpts.onCleanup)) {\r
+                               if (currentOpts.onCleanup(currentArray, currentIndex, currentOpts) === false) {\r
+                                       $.event.trigger('fancybox-cancel');\r
+\r
+                                       busy = false;\r
+                                       return;\r
+                               }\r
+                       }\r
+\r
+                       currentArray    = selectedArray;\r
+                       currentIndex    = selectedIndex;\r
+                       currentOpts             = selectedOpts;\r
+\r
+                       inner.get(0).scrollTop  = 0;\r
+                       inner.get(0).scrollLeft = 0;\r
+\r
+                       if (currentOpts.overlayShow) {\r
+                               if (isIE6) {\r
+                                       $('select:not(#fancybox-tmp select)').filter(function() {\r
+                                               return this.style.visibility !== 'hidden';\r
+                                       }).css({'visibility':'hidden'}).one('fancybox-cleanup', function() {\r
+                                               this.style.visibility = 'inherit';\r
+                                       });\r
+                               }\r
+\r
+                               overlay.css({\r
+                                       'background-color'      : currentOpts.overlayColor,\r
+                                       'opacity'                       : currentOpts.overlayOpacity\r
+                               }).unbind().show();\r
+                       }\r
+\r
+                       final_pos = fancybox_get_zoom_to();\r
+\r
+                       fancybox_process_title();\r
+\r
+                       if (wrap.is(":visible")) {\r
+                               $( close.add( nav_left ).add( nav_right ) ).hide();\r
+\r
+                               var pos = wrap.position(),\r
+                                       equal;\r
+\r
+                               start_pos = {\r
+                                       top             :       pos.top ,\r
+                                       left    :       pos.left,\r
+                                       width   :       wrap.width(),\r
+                                       height  :       wrap.height()\r
+                               };\r
+\r
+                               equal = (start_pos.width == final_pos.width && start_pos.height == final_pos.height);\r
+\r
+                               inner.fadeOut(currentOpts.changeFade, function() {\r
+                                       var finish_resizing = function() {\r
+                                               inner.html( tmp.contents() ).fadeIn(currentOpts.changeFade, _finish);\r
+                                       };\r
+                                       \r
+                                       $.event.trigger('fancybox-change');\r
+\r
+                                       inner.empty().css('overflow', 'hidden');\r
+\r
+                                       if (equal) {\r
+                                               inner.css({\r
+                                                       top                     : currentOpts.padding,\r
+                                                       left            : currentOpts.padding,\r
+                                                       width           : Math.max(final_pos.width      - (currentOpts.padding * 2), 1),\r
+                                                       height          : Math.max(final_pos.height     - (currentOpts.padding * 2) - titleh, 1)\r
+                                               });\r
+                                               \r
+                                               finish_resizing();\r
+\r
+                                       } else {\r
+                                               inner.css({\r
+                                                       top                     : currentOpts.padding,\r
+                                                       left            : currentOpts.padding,\r
+                                                       width           : Math.max(start_pos.width      - (currentOpts.padding * 2), 1),\r
+                                                       height          : Math.max(start_pos.height     - (currentOpts.padding * 2), 1)\r
+                                               });\r
+                                               \r
+                                               fx.prop = 0;\r
+\r
+                                               $(fx).animate({ prop: 1 }, {\r
+                                                        duration       : currentOpts.changeSpeed,\r
+                                                        easing         : currentOpts.easingChange,\r
+                                                        step           : fancybox_draw,\r
+                                                        complete       : finish_resizing\r
+                                               });\r
+                                       }\r
+                               });\r
+\r
+                               return;\r
+                       }\r
+\r
+                       wrap.css('opacity', 1);\r
+\r
+                       if (currentOpts.transitionIn == 'elastic') {\r
+                               start_pos = fancybox_get_zoom_from();\r
+\r
+                               inner.css({\r
+                                               top                     : currentOpts.padding,\r
+                                               left            : currentOpts.padding,\r
+                                               width           : Math.max(start_pos.width      - (currentOpts.padding * 2), 1),\r
+                                               height          : Math.max(start_pos.height     - (currentOpts.padding * 2), 1)\r
+                                       })\r
+                                       .html( tmp.contents() );\r
+\r
+                               wrap.css(start_pos).show();\r
+\r
+                               if (currentOpts.opacity) {\r
+                                       final_pos.opacity = 0;\r
+                               }\r
+\r
+                               fx.prop = 0;\r
+\r
+                               $(fx).animate({ prop: 1 }, {\r
+                                        duration       : currentOpts.speedIn,\r
+                                        easing         : currentOpts.easingIn,\r
+                                        step           : fancybox_draw,\r
+                                        complete       : _finish\r
+                               });\r
+\r
+                       } else {\r
+                               inner.css({\r
+                                               top                     : currentOpts.padding,\r
+                                               left            : currentOpts.padding,\r
+                                               width           : Math.max(final_pos.width      - (currentOpts.padding * 2), 1),\r
+                                               height          : Math.max(final_pos.height     - (currentOpts.padding * 2) - titleh, 1)\r
+                                       })\r
+                                       .html( tmp.contents() );\r
+\r
+                               wrap.css( final_pos ).fadeIn( currentOpts.transitionIn == 'none' ? 0 : currentOpts.speedIn, _finish );\r
+                       }\r
+               },\r
+\r
+               fancybox_process_inline = function() {\r
+                       tmp.width(      selectedOpts.width );\r
+                       tmp.height(     selectedOpts.height );\r
+\r
+                       if (selectedOpts.width  == 'auto') {\r
+                               selectedOpts.width = tmp.width();\r
+                       }\r
+                       if (selectedOpts.height == 'auto') {\r
+                               selectedOpts.height     = tmp.height();\r
+                       }\r
+\r
+                       fancybox_show();\r
+               },\r
+               \r
+               fancybox_process_image = function() {\r
+                       busy = true;\r
+\r
+                       selectedOpts.width      = imgPreloader.width;\r
+                       selectedOpts.height     = imgPreloader.height;\r
+\r
+                       $("<img />").attr({\r
+                               'id'    : 'fancybox-img',\r
+                               'src'   : imgPreloader.src,\r
+                               'alt'   : selectedOpts.title\r
+                       }).appendTo( tmp );\r
+\r
+                       fancybox_show();\r
+               },\r
+\r
+               fancybox_start = function() {\r
+                       fancybox_abort();\r
+\r
+                       var obj = selectedArray[ selectedIndex ],\r
+                               href, \r
+                               type, \r
+                               title,\r
+                               str,\r
+                               emb,\r
+                               selector,\r
+                               data;\r
+\r
+                       selectedOpts = $.extend({}, $.fn.fancybox.defaults, (typeof $(obj).data('fancybox') == 'undefined' ? selectedOpts : $(obj).data('fancybox')));\r
+                       title = obj.title || $(obj).title || selectedOpts.title || '';\r
+                       \r
+                       if (obj.nodeName && !selectedOpts.orig) {\r
+                               selectedOpts.orig = $(obj).children("img:first").length ? $(obj).children("img:first") : $(obj);\r
+                       }\r
+\r
+                       if (title === '' && selectedOpts.orig) {\r
+                               title = selectedOpts.orig.attr('alt');\r
+                       }\r
+\r
+                       if (obj.nodeName && (/^(?:javascript|#)/i).test(obj.href)) {\r
+                               href = selectedOpts.href || null;\r
+                       } else {\r
+                               href = selectedOpts.href || obj.href || null;\r
+                       }\r
+\r
+                       if (selectedOpts.type) {\r
+                               type = selectedOpts.type;\r
+\r
+                               if (!href) {\r
+                                       href = selectedOpts.content;\r
+                               }\r
+                               \r
+                       } else if (selectedOpts.content) {\r
+                               type    = 'html';\r
+\r
+                       } else if (href) {\r
+                               if (href.match(imgRegExp)) {\r
+                                       type = 'image';\r
+\r
+                               } else if (href.match(swfRegExp)) {\r
+                                       type = 'swf';\r
+\r
+                               } else if ($(obj).hasClass("iframe")) {\r
+                                       type = 'iframe';\r
+\r
+                               } else if (href.match(/#/)) {\r
+                                       obj = href.substr(href.indexOf("#"));\r
+\r
+                                       type = $(obj).length > 0 ? 'inline' : 'ajax';\r
+                               } else {\r
+                                       type = 'ajax';\r
+                               }\r
+                       } else {\r
+                               type = 'inline';\r
+                       }\r
+\r
+                       selectedOpts.type       = type;\r
+                       selectedOpts.href       = href;\r
+                       selectedOpts.title      = title;\r
+\r
+                       if (selectedOpts.autoDimensions && selectedOpts.type !== 'iframe' && selectedOpts.type !== 'swf') {\r
+                               selectedOpts.width              = 'auto';\r
+                               selectedOpts.height             = 'auto';\r
+                       }\r
+\r
+                       if (selectedOpts.modal) {\r
+                               selectedOpts.overlayShow                = true;\r
+                               selectedOpts.hideOnOverlayClick = false;\r
+                               selectedOpts.hideOnContentClick = false;\r
+                               selectedOpts.enableEscapeButton = false;\r
+                               selectedOpts.showCloseButton    = false;\r
+                       }\r
+\r
+                       if ($.isFunction(selectedOpts.onStart)) {\r
+                               if (selectedOpts.onStart(selectedArray, selectedIndex, selectedOpts) === false) {\r
+                                       busy = false;\r
+                                       return;\r
+                               }\r
+                       }\r
+\r
+                       tmp.css('padding', (shadow + selectedOpts.padding + selectedOpts.margin));\r
+\r
+                       $('.fancybox-inline-tmp').unbind('fancybox-cancel').bind('fancybox-change', function() {\r
+                               $(this).replaceWith(inner.children());\r
+                       });\r
+\r
+                       switch (type) {\r
+                               case 'html' :\r
+                                       tmp.html( selectedOpts.content );\r
+                                       fancybox_process_inline();\r
+                               break;\r
+\r
+                               case 'inline' :\r
+                                       $('<div class="fancybox-inline-tmp" />').hide().insertBefore( $(obj) ).bind('fancybox-cleanup', function() {\r
+                                               $(this).replaceWith(inner.children());\r
+                                       }).bind('fancybox-cancel', function() {\r
+                                               $(this).replaceWith(tmp.children());\r
+                                       });\r
+\r
+                                       $(obj).appendTo(tmp);\r
+\r
+                                       fancybox_process_inline();\r
+                               break;\r
+\r
+                               case 'image':\r
+                                       busy = false;\r
+\r
+                                       $.fancybox.showActivity();\r
+\r
+                                       imgPreloader = new Image();\r
+\r
+                                       imgPreloader.onerror = function() {\r
+                                               fancybox_error();\r
+                                       };\r
+\r
+                                       imgPreloader.onload = function() {\r
+                                               imgPreloader.onerror = null;\r
+                                               imgPreloader.onload = null;\r
+                                               fancybox_process_image();\r
+                                       };\r
+\r
+                                       imgPreloader.src = href;\r
+               \r
+                               break;\r
+\r
+                               case 'swf':\r
+                                       str = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"><param name="movie" value="' + href + '"></param>';\r
+                                       emb = '';\r
+                                       \r
+                                       $.each(selectedOpts.swf, function(name, val) {\r
+                                               str += '<param name="' + name + '" value="' + val + '"></param>';\r
+                                               emb += ' ' + name + '="' + val + '"';\r
+                                       });\r
+\r
+                                       str += '<embed src="' + href + '" type="application/x-shockwave-flash" width="' + selectedOpts.width + '" height="' + selectedOpts.height + '"' + emb + '></embed></object>';\r
+\r
+                                       tmp.html(str);\r
+\r
+                                       fancybox_process_inline();\r
+                               break;\r
+\r
+                               case 'ajax':\r
+                                       selector        = href.split('#', 2);\r
+                                       data            = selectedOpts.ajax.data || {};\r
+\r
+                                       if (selector.length > 1) {\r
+                                               href = selector[0];\r
+\r
+                                               if (typeof data == "string") {\r
+                                                       data += '&selector=' + selector[1];\r
+                                               } else {\r
+                                                       data.selector = selector[1];\r
+                                               }\r
+                                       }\r
+\r
+                                       busy = false;\r
+                                       $.fancybox.showActivity();\r
+\r
+                                       ajaxLoader = $.ajax($.extend(selectedOpts.ajax, {\r
+                                               url             : href,\r
+                                               data    : data,\r
+                                               error   : fancybox_error,\r
+                                               success : function(data, textStatus, XMLHttpRequest) {\r
+                                                       if (ajaxLoader.status == 200) {\r
+                                                               tmp.html( data );\r
+                                                               fancybox_process_inline();\r
+                                                       }\r
+                                               }\r
+                                       }));\r
+\r
+                               break;\r
+\r
+                               case 'iframe' :\r
+                                       $('<iframe id="fancybox-frame" name="fancybox-frame' + new Date().getTime() + '" frameborder="0" hspace="0" scrolling="' + selectedOpts.scrolling + '" src="' + selectedOpts.href + '"></iframe>').appendTo(tmp);\r
+                                       fancybox_show();\r
+                               break;\r
+                       }\r
+               },\r
+\r
+               fancybox_animate_loading = function() {\r
+                       if (!loading.is(':visible')){\r
+                               clearInterval(loadingTimer);\r
+                               return;\r
+                       }\r
+\r
+                       $('div', loading).css('top', (loadingFrame * -40) + 'px');\r
+\r
+                       loadingFrame = (loadingFrame + 1) % 12;\r
+               },\r
+\r
+               fancybox_init = function() {\r
+                       if ($("#fancybox-wrap").length) {\r
+                               return;\r
+                       }\r
+\r
+                       $('body').append(\r
+                               tmp                     = $('<div id="fancybox-tmp"></div>'),\r
+                               loading         = $('<div id="fancybox-loading"><div></div></div>'),\r
+                               overlay         = $('<div id="fancybox-overlay"></div>'),\r
+                               wrap            = $('<div id="fancybox-wrap"></div>')\r
+                       );\r
+\r
+                       if (!$.support.opacity) {\r
+                               wrap.addClass('fancybox-ie');\r
+                               loading.addClass('fancybox-ie');\r
+                       }\r
+\r
+                       outer = $('<div id="fancybox-outer"></div>')\r
+                               .append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>')\r
+                               .appendTo( wrap );\r
+\r
+                       outer.append(\r
+                               inner           = $('<div id="fancybox-inner"></div>'),\r
+                               close           = $('<a id="fancybox-close"></a>'),\r
+\r
+                               nav_left        = $('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),\r
+                               nav_right       = $('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>')\r
+                       );\r
+\r
+                       close.click($.fancybox.close);\r
+                       loading.click($.fancybox.cancel);\r
+\r
+                       nav_left.click(function(e) {\r
+                               e.preventDefault();\r
+                               $.fancybox.prev();\r
+                       });\r
+\r
+                       nav_right.click(function(e) {\r
+                               e.preventDefault();\r
+                               $.fancybox.next();\r
+                       });\r
+\r
+                       if (isIE6) {\r
+                               overlay.get(0).style.setExpression('height',    "document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");\r
+                               loading.get(0).style.setExpression('top',               "(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");\r
+\r
+                               outer.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>');\r
+                       }\r
+               };\r
+\r
+       /*\r
+        * Public methods \r
+        */\r
+\r
+       $.fn.fancybox = function(options) {\r
+               $(this)\r
+                       .data('fancybox', $.extend({}, options, ($.metadata ? $(this).metadata() : {})))\r
+                       .unbind('click.fb').bind('click.fb', function(e) {\r
+                               e.preventDefault();\r
+\r
+                               if (busy) {\r
+                                       return;\r
+                               }\r
+\r
+                               busy = true;\r
+\r
+                               $(this).blur();\r
+\r
+                               selectedArray   = [];\r
+                               selectedIndex   = 0;\r
+\r
+                               var rel = $(this).attr('rel') || '';\r
+\r
+                               if (!rel || rel == '' || rel === 'nofollow') {\r
+                                       selectedArray.push(this);\r
+\r
+                               } else {\r
+                                       selectedArray   = $("a[rel=" + rel + "], area[rel=" + rel + "]");\r
+                                       selectedIndex   = selectedArray.index( this );\r
+                               }\r
+\r
+                               fancybox_start();\r
+\r
+                               return false;\r
+                       });\r
+\r
+               return this;\r
+       };\r
+\r
+       $.fancybox = function(obj) {\r
+               if (busy) {\r
+                       return;\r
+               }\r
+\r
+               busy = true;\r
+\r
+               var opts = typeof arguments[1] !== 'undefined' ? arguments[1] : {};\r
+\r
+               selectedArray   = [];\r
+               selectedIndex   = opts.index || 0;\r
+\r
+               if ($.isArray(obj)) {\r
+                       for (var i = 0, j = obj.length; i < j; i++) {\r
+                               if (typeof obj[i] == 'object') {\r
+                                       $(obj[i]).data('fancybox', $.extend({}, opts, obj[i]));\r
+                               } else {\r
+                                       obj[i] = $({}).data('fancybox', $.extend({content : obj[i]}, opts));\r
+                               }\r
+                       }\r
+\r
+                       selectedArray = jQuery.merge(selectedArray, obj);\r
+\r
+               } else {\r
+                       if (typeof obj == 'object') {\r
+                               $(obj).data('fancybox', $.extend({}, opts, obj));\r
+                       } else {\r
+                               obj = $({}).data('fancybox', $.extend({content : obj}, opts));\r
+                       }\r
+\r
+                       selectedArray.push(obj);\r
+               }\r
+\r
+               if (selectedIndex > selectedArray.length || selectedIndex < 0) {\r
+                       selectedIndex = 0;\r
+               }\r
+\r
+               fancybox_start();\r
+       };\r
+\r
+       $.fancybox.showActivity = function() {\r
+               clearInterval(loadingTimer);\r
+\r
+               loading.show();\r
+               loadingTimer = setInterval(fancybox_animate_loading, 66);\r
+       };\r
+\r
+       $.fancybox.hideActivity = function() {\r
+               loading.hide();\r
+       };\r
+\r
+       $.fancybox.next = function() {\r
+               return $.fancybox.pos( currentIndex + 1);\r
+       };\r
+       \r
+       $.fancybox.prev = function() {\r
+               return $.fancybox.pos( currentIndex - 1);\r
+       };\r
+\r
+       $.fancybox.pos = function(pos) {\r
+               if (busy) {\r
+                       return;\r
+               }\r
+\r
+               pos = parseInt(pos, 10);\r
+\r
+               if (pos > -1 && currentArray.length > pos) {\r
+                       selectedIndex = pos;\r
+                       fancybox_start();\r
+               }\r
+\r
+               if (currentOpts.cyclic && currentArray.length > 1 && pos < 0) {\r
+                       selectedIndex = currentArray.length - 1;\r
+                       fancybox_start();\r
+               }\r
+\r
+               if (currentOpts.cyclic && currentArray.length > 1 && pos >= currentArray.length) {\r
+                       selectedIndex = 0;\r
+                       fancybox_start();\r
+               }\r
+\r
+               return;\r
+       };\r
+\r
+       $.fancybox.cancel = function() {\r
+               if (busy) {\r
+                       return;\r
+               }\r
+\r
+               busy = true;\r
+\r
+               $.event.trigger('fancybox-cancel');\r
+\r
+               fancybox_abort();\r
+\r
+               if (selectedOpts && $.isFunction(selectedOpts.onCancel)) {\r
+                       selectedOpts.onCancel(selectedArray, selectedIndex, selectedOpts);\r
+               }\r
+\r
+               busy = false;\r
+       };\r
+\r
+       // Note: within an iframe use - parent.$.fancybox.close();\r
+       $.fancybox.close = function() {\r
+               if (busy || wrap.is(':hidden')) {\r
+                       return;\r
+               }\r
+\r
+               busy = true;\r
+\r
+               if (currentOpts && $.isFunction(currentOpts.onCleanup)) {\r
+                       if (currentOpts.onCleanup(currentArray, currentIndex, currentOpts) === false) {\r
+                               busy = false;\r
+                               return;\r
+                       }\r
+               }\r
+\r
+               fancybox_abort();\r
+\r
+               $(close.add( nav_left ).add( nav_right )).hide();\r
+\r
+               $('#fancybox-title').remove();\r
+\r
+               wrap.add(inner).add(overlay).unbind();\r
+\r
+               $(window).unbind("resize.fb scroll.fb");\r
+               $(document).unbind('keydown.fb');\r
+\r
+               function _cleanup() {\r
+                       overlay.fadeOut('fast');\r
+\r
+                       wrap.hide();\r
+\r
+                       $.event.trigger('fancybox-cleanup');\r
+\r
+                       inner.empty();\r
+\r
+                       if ($.isFunction(currentOpts.onClosed)) {\r
+                               currentOpts.onClosed(currentArray, currentIndex, currentOpts);\r
+                       }\r
+\r
+                       currentArray    = selectedOpts  = [];\r
+                       currentIndex    = selectedIndex = 0;\r
+                       currentOpts             = selectedOpts  = {};\r
+\r
+                       busy = false;\r
+               }\r
+\r
+               inner.css('overflow', 'hidden');\r
+\r
+               if (currentOpts.transitionOut == 'elastic') {\r
+                       start_pos = fancybox_get_zoom_from();\r
+\r
+                       var pos = wrap.position();\r
+\r
+                       final_pos = {\r
+                               top             :       pos.top ,\r
+                               left    :       pos.left,\r
+                               width   :       wrap.width(),\r
+                               height  :       wrap.height()\r
+                       };\r
+\r
+                       if (currentOpts.opacity) {\r
+                               final_pos.opacity = 1;\r
+                       }\r
+\r
+                       fx.prop = 1;\r
+\r
+                       $(fx).animate({ prop: 0 }, {\r
+                                duration       : currentOpts.speedOut,\r
+                                easing         : currentOpts.easingOut,\r
+                                step           : fancybox_draw,\r
+                                complete       : _cleanup\r
+                       });\r
+\r
+               } else {\r
+                       wrap.fadeOut( currentOpts.transitionOut == 'none' ? 0 : currentOpts.speedOut, _cleanup);\r
+               }\r
+       };\r
+\r
+       $.fancybox.resize = function() {\r
+               var c, h;\r
+               \r
+               if (busy || wrap.is(':hidden')) {\r
+                       return;\r
+               }\r
+\r
+               busy = true;\r
+\r
+               c = inner.wrapInner("<div style='overflow:auto'></div>").children();\r
+               h = c.height();\r
+\r
+               wrap.css({height:       h + (currentOpts.padding * 2) + titleh});\r
+               inner.css({height:      h});\r
+\r
+               c.replaceWith(c.children());\r
+\r
+               $.fancybox.center();\r
+       };\r
+\r
+       $.fancybox.center = function() {\r
+               busy = true;\r
+\r
+               var view        = fancybox_get_viewport(),\r
+                       margin  = currentOpts.margin,\r
+                       to              = {};\r
+\r
+               to.top  = view[3] + ((view[1] - ((wrap.height() - titleh) + (shadow * 2 ))) * 0.5);\r
+               to.left = view[2] + ((view[0] - (wrap.width() + (shadow * 2 ))) * 0.5);\r
+\r
+               to.top  = Math.max(view[3] + margin, to.top);\r
+               to.left = Math.max(view[2] + margin, to.left);\r
+\r
+               wrap.css(to);\r
+\r
+               busy = false;\r
+       };\r
+\r
+       $.fn.fancybox.defaults = {\r
+               padding                         :       10,\r
+               margin                          :       20,\r
+               opacity                         :       false,\r
+               modal                           :       false,\r
+               cyclic                          :       false,\r
+               scrolling                       :       'auto', // 'auto', 'yes' or 'no'\r
+\r
+               width                           :       560,\r
+               height                          :       340,\r
+\r
+               autoScale                       :       true,\r
+               autoDimensions          :       true,\r
+               centerOnScroll          :       false,\r
+\r
+               ajax                            :       {},\r
+               swf                                     :       { wmode: 'transparent' },\r
+\r
+               hideOnOverlayClick      :       true,\r
+               hideOnContentClick      :       false,\r
+\r
+               overlayShow                     :       true,\r
+               overlayOpacity          :       0.3,\r
+               overlayColor            :       '#666',\r
+\r
+               titleShow                       :       true,\r
+               titlePosition           :       'outside',      // 'outside', 'inside' or 'over'\r
+               titleFormat                     :       null,\r
+\r
+               transitionIn            :       'fade', // 'elastic', 'fade' or 'none'\r
+               transitionOut           :       'fade', // 'elastic', 'fade' or 'none'\r
+\r
+               speedIn                         :       300,\r
+               speedOut                        :       300,\r
+\r
+               changeSpeed                     :       300,\r
+               changeFade                      :       'fast',\r
+\r
+               easingIn                        :       'swing',\r
+               easingOut                       :       'swing',\r
+\r
+               showCloseButton         :       true,\r
+               showNavArrows           :       true,\r
+               enableEscapeButton      :       true,\r
+\r
+               onStart                         :       null,\r
+               onCancel                        :       null,\r
+               onComplete                      :       null,\r
+               onCleanup                       :       null,\r
+               onClosed                        :       null\r
+       };\r
+\r
+       $(document).ready(function() {\r
+               fancybox_init();\r
+       });\r
+\r
+})(jQuery);
\ No newline at end of file
diff --git a/www/fancybox/jquery.fancybox-1.3.1.pack.js b/www/fancybox/jquery.fancybox-1.3.1.pack.js
new file mode 100644 (file)
index 0000000..8421d53
--- /dev/null
@@ -0,0 +1,44 @@
+/*
+ * FancyBox - jQuery Plugin
+ * Simple and fancy lightbox alternative
+ *
+ * Examples and documentation at: http://fancybox.net
+ * 
+ * Copyright (c) 2008 - 2010 Janis Skarnelis
+ *
+ * Version: 1.3.1 (05/03/2010)
+ * Requires: jQuery v1.3+
+ *
+ * Dual licensed under the MIT and GPL licenses:
+ *   http://www.opensource.org/licenses/mit-license.php
+ *   http://www.gnu.org/licenses/gpl.html
+ */
+
+(function(b){var m,u,x,g,D,i,z,A,B,p=0,e={},q=[],n=0,c={},j=[],E=null,s=new Image,G=/\.(jpg|gif|png|bmp|jpeg)(.*)?$/i,S=/[^\.]\.(swf)\s*$/i,H,I=1,k,l,h=false,y=b.extend(b("<div/>")[0],{prop:0}),v=0,O=!b.support.opacity&&!window.XMLHttpRequest,J=function(){u.hide();s.onerror=s.onload=null;E&&E.abort();m.empty()},P=function(){b.fancybox('<p id="fancybox_error">The requested content cannot be loaded.<br />Please try again later.</p>',{scrolling:"no",padding:20,transitionIn:"none",transitionOut:"none"})},
+K=function(){return[b(window).width(),b(window).height(),b(document).scrollLeft(),b(document).scrollTop()]},T=function(){var a=K(),d={},f=c.margin,o=c.autoScale,t=(20+f)*2,w=(20+f)*2,r=c.padding*2;if(c.width.toString().indexOf("%")>-1){d.width=a[0]*parseFloat(c.width)/100-40;o=false}else d.width=c.width+r;if(c.height.toString().indexOf("%")>-1){d.height=a[1]*parseFloat(c.height)/100-40;o=false}else d.height=c.height+r;if(o&&(d.width>a[0]-t||d.height>a[1]-w))if(e.type=="image"||e.type=="swf"){t+=r;
+w+=r;o=Math.min(Math.min(a[0]-t,c.width)/c.width,Math.min(a[1]-w,c.height)/c.height);d.width=Math.round(o*(d.width-r))+r;d.height=Math.round(o*(d.height-r))+r}else{d.width=Math.min(d.width,a[0]-t);d.height=Math.min(d.height,a[1]-w)}d.top=a[3]+(a[1]-(d.height+40))*0.5;d.left=a[2]+(a[0]-(d.width+40))*0.5;if(c.autoScale===false){d.top=Math.max(a[3]+f,d.top);d.left=Math.max(a[2]+f,d.left)}return d},U=function(a){if(a&&a.length)switch(c.titlePosition){case "inside":return a;case "over":return'<span id="fancybox-title-over">'+
+a+"</span>";default:return'<span id="fancybox-title-wrap"><span id="fancybox-title-left"></span><span id="fancybox-title-main">'+a+'</span><span id="fancybox-title-right"></span></span>'}return false},V=function(){var a=c.title,d=l.width-c.padding*2,f="fancybox-title-"+c.titlePosition;b("#fancybox-title").remove();v=0;if(c.titleShow!==false){a=b.isFunction(c.titleFormat)?c.titleFormat(a,j,n,c):U(a);if(!(!a||a==="")){b('<div id="fancybox-title" class="'+f+'" />').css({width:d,paddingLeft:c.padding,
+paddingRight:c.padding}).html(a).appendTo("body");switch(c.titlePosition){case "inside":v=b("#fancybox-title").outerHeight(true)-c.padding;l.height+=v;break;case "over":b("#fancybox-title").css("bottom",c.padding);break;default:b("#fancybox-title").css("bottom",b("#fancybox-title").outerHeight(true)*-1);break}b("#fancybox-title").appendTo(D).hide()}}},W=function(){b(document).unbind("keydown.fb").bind("keydown.fb",function(a){if(a.keyCode==27&&c.enableEscapeButton){a.preventDefault();b.fancybox.close()}else if(a.keyCode==
+37){a.preventDefault();b.fancybox.prev()}else if(a.keyCode==39){a.preventDefault();b.fancybox.next()}});if(b.fn.mousewheel){g.unbind("mousewheel.fb");j.length>1&&g.bind("mousewheel.fb",function(a,d){a.preventDefault();h||d===0||(d>0?b.fancybox.prev():b.fancybox.next())})}if(c.showNavArrows){if(c.cyclic&&j.length>1||n!==0)A.show();if(c.cyclic&&j.length>1||n!=j.length-1)B.show()}},X=function(){var a,d;if(j.length-1>n){a=j[n+1].href;if(typeof a!=="undefined"&&a.match(G)){d=new Image;d.src=a}}if(n>0){a=
+j[n-1].href;if(typeof a!=="undefined"&&a.match(G)){d=new Image;d.src=a}}},L=function(){i.css("overflow",c.scrolling=="auto"?c.type=="image"||c.type=="iframe"||c.type=="swf"?"hidden":"auto":c.scrolling=="yes"?"auto":"visible");if(!b.support.opacity){i.get(0).style.removeAttribute("filter");g.get(0).style.removeAttribute("filter")}b("#fancybox-title").show();c.hideOnContentClick&&i.one("click",b.fancybox.close);c.hideOnOverlayClick&&x.one("click",b.fancybox.close);c.showCloseButton&&z.show();W();b(window).bind("resize.fb",
+b.fancybox.center);c.centerOnScroll?b(window).bind("scroll.fb",b.fancybox.center):b(window).unbind("scroll.fb");b.isFunction(c.onComplete)&&c.onComplete(j,n,c);h=false;X()},M=function(a){var d=Math.round(k.width+(l.width-k.width)*a),f=Math.round(k.height+(l.height-k.height)*a),o=Math.round(k.top+(l.top-k.top)*a),t=Math.round(k.left+(l.left-k.left)*a);g.css({width:d+"px",height:f+"px",top:o+"px",left:t+"px"});d=Math.max(d-c.padding*2,0);f=Math.max(f-(c.padding*2+v*a),0);i.css({width:d+"px",height:f+
+"px"});if(typeof l.opacity!=="undefined")g.css("opacity",a<0.5?0.5:a)},Y=function(a){var d=a.offset();d.top+=parseFloat(a.css("paddingTop"))||0;d.left+=parseFloat(a.css("paddingLeft"))||0;d.top+=parseFloat(a.css("border-top-width"))||0;d.left+=parseFloat(a.css("border-left-width"))||0;d.width=a.width();d.height=a.height();return d},Q=function(){var a=e.orig?b(e.orig):false,d={};if(a&&a.length){a=Y(a);d={width:a.width+c.padding*2,height:a.height+c.padding*2,top:a.top-c.padding-20,left:a.left-c.padding-
+20}}else{a=K();d={width:1,height:1,top:a[3]+a[1]*0.5,left:a[2]+a[0]*0.5}}return d},N=function(){u.hide();if(g.is(":visible")&&b.isFunction(c.onCleanup))if(c.onCleanup(j,n,c)===false){b.event.trigger("fancybox-cancel");h=false;return}j=q;n=p;c=e;i.get(0).scrollTop=0;i.get(0).scrollLeft=0;if(c.overlayShow){O&&b("select:not(#fancybox-tmp select)").filter(function(){return this.style.visibility!=="hidden"}).css({visibility:"hidden"}).one("fancybox-cleanup",function(){this.style.visibility="inherit"});
+x.css({"background-color":c.overlayColor,opacity:c.overlayOpacity}).unbind().show()}l=T();V();if(g.is(":visible")){b(z.add(A).add(B)).hide();var a=g.position(),d;k={top:a.top,left:a.left,width:g.width(),height:g.height()};d=k.width==l.width&&k.height==l.height;i.fadeOut(c.changeFade,function(){var f=function(){i.html(m.contents()).fadeIn(c.changeFade,L)};b.event.trigger("fancybox-change");i.empty().css("overflow","hidden");if(d){i.css({top:c.padding,left:c.padding,width:Math.max(l.width-c.padding*
+2,1),height:Math.max(l.height-c.padding*2-v,1)});f()}else{i.css({top:c.padding,left:c.padding,width:Math.max(k.width-c.padding*2,1),height:Math.max(k.height-c.padding*2,1)});y.prop=0;b(y).animate({prop:1},{duration:c.changeSpeed,easing:c.easingChange,step:M,complete:f})}})}else{g.css("opacity",1);if(c.transitionIn=="elastic"){k=Q();i.css({top:c.padding,left:c.padding,width:Math.max(k.width-c.padding*2,1),height:Math.max(k.height-c.padding*2,1)}).html(m.contents());g.css(k).show();if(c.opacity)l.opacity=
+0;y.prop=0;b(y).animate({prop:1},{duration:c.speedIn,easing:c.easingIn,step:M,complete:L})}else{i.css({top:c.padding,left:c.padding,width:Math.max(l.width-c.padding*2,1),height:Math.max(l.height-c.padding*2-v,1)}).html(m.contents());g.css(l).fadeIn(c.transitionIn=="none"?0:c.speedIn,L)}}},F=function(){m.width(e.width);m.height(e.height);if(e.width=="auto")e.width=m.width();if(e.height=="auto")e.height=m.height();N()},Z=function(){h=true;e.width=s.width;e.height=s.height;b("<img />").attr({id:"fancybox-img",
+src:s.src,alt:e.title}).appendTo(m);N()},C=function(){J();var a=q[p],d,f,o,t,w;e=b.extend({},b.fn.fancybox.defaults,typeof b(a).data("fancybox")=="undefined"?e:b(a).data("fancybox"));o=a.title||b(a).title||e.title||"";if(a.nodeName&&!e.orig)e.orig=b(a).children("img:first").length?b(a).children("img:first"):b(a);if(o===""&&e.orig)o=e.orig.attr("alt");d=a.nodeName&&/^(?:javascript|#)/i.test(a.href)?e.href||null:e.href||a.href||null;if(e.type){f=e.type;if(!d)d=e.content}else if(e.content)f="html";else if(d)if(d.match(G))f=
+"image";else if(d.match(S))f="swf";else if(b(a).hasClass("iframe"))f="iframe";else if(d.match(/#/)){a=d.substr(d.indexOf("#"));f=b(a).length>0?"inline":"ajax"}else f="ajax";else f="inline";e.type=f;e.href=d;e.title=o;if(e.autoDimensions&&e.type!=="iframe"&&e.type!=="swf"){e.width="auto";e.height="auto"}if(e.modal){e.overlayShow=true;e.hideOnOverlayClick=false;e.hideOnContentClick=false;e.enableEscapeButton=false;e.showCloseButton=false}if(b.isFunction(e.onStart))if(e.onStart(q,p,e)===false){h=false;
+return}m.css("padding",20+e.padding+e.margin);b(".fancybox-inline-tmp").unbind("fancybox-cancel").bind("fancybox-change",function(){b(this).replaceWith(i.children())});switch(f){case "html":m.html(e.content);F();break;case "inline":b('<div class="fancybox-inline-tmp" />').hide().insertBefore(b(a)).bind("fancybox-cleanup",function(){b(this).replaceWith(i.children())}).bind("fancybox-cancel",function(){b(this).replaceWith(m.children())});b(a).appendTo(m);F();break;case "image":h=false;b.fancybox.showActivity();
+s=new Image;s.onerror=function(){P()};s.onload=function(){s.onerror=null;s.onload=null;Z()};s.src=d;break;case "swf":t='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+e.width+'" height="'+e.height+'"><param name="movie" value="'+d+'"></param>';w="";b.each(e.swf,function(r,R){t+='<param name="'+r+'" value="'+R+'"></param>';w+=" "+r+'="'+R+'"'});t+='<embed src="'+d+'" type="application/x-shockwave-flash" width="'+e.width+'" height="'+e.height+'"'+w+"></embed></object>";m.html(t);
+F();break;case "ajax":a=d.split("#",2);f=e.ajax.data||{};if(a.length>1){d=a[0];if(typeof f=="string")f+="&selector="+a[1];else f.selector=a[1]}h=false;b.fancybox.showActivity();E=b.ajax(b.extend(e.ajax,{url:d,data:f,error:P,success:function(r){if(E.status==200){m.html(r);F()}}}));break;case "iframe":b('<iframe id="fancybox-frame" name="fancybox-frame'+(new Date).getTime()+'" frameborder="0" hspace="0" scrolling="'+e.scrolling+'" src="'+e.href+'"></iframe>').appendTo(m);N();break}},$=function(){if(u.is(":visible")){b("div",
+u).css("top",I*-40+"px");I=(I+1)%12}else clearInterval(H)},aa=function(){if(!b("#fancybox-wrap").length){b("body").append(m=b('<div id="fancybox-tmp"></div>'),u=b('<div id="fancybox-loading"><div></div></div>'),x=b('<div id="fancybox-overlay"></div>'),g=b('<div id="fancybox-wrap"></div>'));if(!b.support.opacity){g.addClass("fancybox-ie");u.addClass("fancybox-ie")}D=b('<div id="fancybox-outer"></div>').append('<div class="fancy-bg" id="fancy-bg-n"></div><div class="fancy-bg" id="fancy-bg-ne"></div><div class="fancy-bg" id="fancy-bg-e"></div><div class="fancy-bg" id="fancy-bg-se"></div><div class="fancy-bg" id="fancy-bg-s"></div><div class="fancy-bg" id="fancy-bg-sw"></div><div class="fancy-bg" id="fancy-bg-w"></div><div class="fancy-bg" id="fancy-bg-nw"></div>').appendTo(g);
+D.append(i=b('<div id="fancybox-inner"></div>'),z=b('<a id="fancybox-close"></a>'),A=b('<a href="javascript:;" id="fancybox-left"><span class="fancy-ico" id="fancybox-left-ico"></span></a>'),B=b('<a href="javascript:;" id="fancybox-right"><span class="fancy-ico" id="fancybox-right-ico"></span></a>'));z.click(b.fancybox.close);u.click(b.fancybox.cancel);A.click(function(a){a.preventDefault();b.fancybox.prev()});B.click(function(a){a.preventDefault();b.fancybox.next()});if(O){x.get(0).style.setExpression("height",
+"document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'");u.get(0).style.setExpression("top","(-20 + (document.documentElement.clientHeight ? document.documentElement.clientHeight/2 : document.body.clientHeight/2 ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop )) + 'px'");D.prepend('<iframe id="fancybox-hide-sel-frame" src="javascript:\'\';" scrolling="no" frameborder="0" ></iframe>')}}};
+b.fn.fancybox=function(a){b(this).data("fancybox",b.extend({},a,b.metadata?b(this).metadata():{})).unbind("click.fb").bind("click.fb",function(d){d.preventDefault();if(!h){h=true;b(this).blur();q=[];p=0;d=b(this).attr("rel")||"";if(!d||d==""||d==="nofollow")q.push(this);else{q=b("a[rel="+d+"], area[rel="+d+"]");p=q.index(this)}C();return false}});return this};b.fancybox=function(a,d){if(!h){h=true;d=typeof d!=="undefined"?d:{};q=[];p=d.index||0;if(b.isArray(a)){for(var f=0,o=a.length;f<o;f++)if(typeof a[f]==
+"object")b(a[f]).data("fancybox",b.extend({},d,a[f]));else a[f]=b({}).data("fancybox",b.extend({content:a[f]},d));q=jQuery.merge(q,a)}else{if(typeof a=="object")b(a).data("fancybox",b.extend({},d,a));else a=b({}).data("fancybox",b.extend({content:a},d));q.push(a)}if(p>q.length||p<0)p=0;C()}};b.fancybox.showActivity=function(){clearInterval(H);u.show();H=setInterval($,66)};b.fancybox.hideActivity=function(){u.hide()};b.fancybox.next=function(){return b.fancybox.pos(n+1)};b.fancybox.prev=function(){return b.fancybox.pos(n-
+1)};b.fancybox.pos=function(a){if(!h){a=parseInt(a,10);if(a>-1&&j.length>a){p=a;C()}if(c.cyclic&&j.length>1&&a<0){p=j.length-1;C()}if(c.cyclic&&j.length>1&&a>=j.length){p=0;C()}}};b.fancybox.cancel=function(){if(!h){h=true;b.event.trigger("fancybox-cancel");J();e&&b.isFunction(e.onCancel)&&e.onCancel(q,p,e);h=false}};b.fancybox.close=function(){function a(){x.fadeOut("fast");g.hide();b.event.trigger("fancybox-cleanup");i.empty();b.isFunction(c.onClosed)&&c.onClosed(j,n,c);j=e=[];n=p=0;c=e={};h=false}
+if(!(h||g.is(":hidden"))){h=true;if(c&&b.isFunction(c.onCleanup))if(c.onCleanup(j,n,c)===false){h=false;return}J();b(z.add(A).add(B)).hide();b("#fancybox-title").remove();g.add(i).add(x).unbind();b(window).unbind("resize.fb scroll.fb");b(document).unbind("keydown.fb");i.css("overflow","hidden");if(c.transitionOut=="elastic"){k=Q();var d=g.position();l={top:d.top,left:d.left,width:g.width(),height:g.height()};if(c.opacity)l.opacity=1;y.prop=1;b(y).animate({prop:0},{duration:c.speedOut,easing:c.easingOut,
+step:M,complete:a})}else g.fadeOut(c.transitionOut=="none"?0:c.speedOut,a)}};b.fancybox.resize=function(){var a,d;if(!(h||g.is(":hidden"))){h=true;a=i.wrapInner("<div style='overflow:auto'></div>").children();d=a.height();g.css({height:d+c.padding*2+v});i.css({height:d});a.replaceWith(a.children());b.fancybox.center()}};b.fancybox.center=function(){h=true;var a=K(),d=c.margin,f={};f.top=a[3]+(a[1]-(g.height()-v+40))*0.5;f.left=a[2]+(a[0]-(g.width()+40))*0.5;f.top=Math.max(a[3]+d,f.top);f.left=Math.max(a[2]+
+d,f.left);g.css(f);h=false};b.fn.fancybox.defaults={padding:10,margin:20,opacity:false,modal:false,cyclic:false,scrolling:"auto",width:560,height:340,autoScale:true,autoDimensions:true,centerOnScroll:false,ajax:{},swf:{wmode:"transparent"},hideOnOverlayClick:true,hideOnContentClick:false,overlayShow:true,overlayOpacity:0.3,overlayColor:"#666",titleShow:true,titlePosition:"outside",titleFormat:null,transitionIn:"fade",transitionOut:"fade",speedIn:300,speedOut:300,changeSpeed:300,changeFade:"fast",
+easingIn:"swing",easingOut:"swing",showCloseButton:true,showNavArrows:true,enableEscapeButton:true,onStart:null,onCancel:null,onComplete:null,onCleanup:null,onClosed:null};b(document).ready(function(){aa()})})(jQuery);
\ No newline at end of file
diff --git a/www/fancybox/jquery.mousewheel-3.0.2.pack.js b/www/fancybox/jquery.mousewheel-3.0.2.pack.js
new file mode 100644 (file)
index 0000000..b950db1
--- /dev/null
@@ -0,0 +1,13 @@
+/*! Copyright (c) 2009 Brandon Aaron (http://brandonaaron.net)
+ * Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
+ * and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
+ * Thanks to: http://adomas.org/javascript-mouse-wheel/ for some pointers.
+ * Thanks to: Mathias Bank(http://www.mathias-bank.de) for a scope bug fix.
+ *
+ * Version: 3.0.2
+ * 
+ * Requires: 1.2.2+
+ */
+
+(function(b){function d(a){var f=[].slice.call(arguments,1),e=0;a=b.event.fix(a||window.event);a.type="mousewheel";if(a.wheelDelta)e=a.wheelDelta/120;if(a.detail)e=-a.detail/3;f.unshift(a,e);return b.event.handle.apply(this,f)}var c=["DOMMouseScroll","mousewheel"];b.event.special.mousewheel={setup:function(){if(this.addEventListener)for(var a=c.length;a;)this.addEventListener(c[--a],d,false);else this.onmousewheel=d},teardown:function(){if(this.removeEventListener)for(var a=c.length;a;)this.removeEventListener(c[--a],
+d,false);else this.onmousewheel=null}};b.fn.extend({mousewheel:function(a){return a?this.bind("mousewheel",a):this.trigger("mousewheel")},unmousewheel:function(a){return this.unbind("mousewheel",a)}})})(jQuery);
\ No newline at end of file
diff --git a/www/index.html b/www/index.html
new file mode 100644 (file)
index 0000000..7ce620c
--- /dev/null
@@ -0,0 +1,68 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
+\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">\r
+\r
+<head>\r
+\r
+<title>Jenirok</title>\r
+\r
+<meta http-equiv="content-type" content="text/html; charset=utf-8" />\r
+<script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"></script>\r
+<script type="text/javascript" src="fancybox/jquery.mousewheel-3.0.2.pack.js"></script>\r
+<script type="text/javascript" src="fancybox/jquery.fancybox-1.3.1.js"></script>\r
+<script type="text/javascript" src="script.js"></script>\r
+<link rel="stylesheet" type="text/css" href="fancybox/jquery.fancybox-1.3.1.css" media="all" />\r
+<link rel="stylesheet" type="text/css" href="style.css" media="all" />\r
+\r
+</head>\r
+       \r
+<body>\r
+\r
+<h1>Jenirok</h1>\r
+\r
+<ul>\r
+       <li><a href="#license">License</a></li>\r
+       <li><a href="#screenshots">Screenshots</a></li>\r
+       <li><a href="#download">Download</a></li>\r
+       <li><a href="https://garage.maemo.org/projects/jenirok/">Project page</a></li>\r
+</ul>\r
+\r
+<p>Jenirok is an open source Maemo 5 application that shows unknown callers' details automatically on screen. Caller details are fetched using <a href="http://henkilot.eniro.fi/">Eniro person search</a> which means that Jenirok is mainly usable for Finnish, Swedish and Danish users. Currently Jenirok is available in English and Finnish, but I'm looking for Swedish and Danish translators. <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#106;&#101;&#115;&#115;&#101;&#104;&#97;&#107;&#97;&#110;&#101;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">Contact me</a> if you are interested.</a></p>\r
+\r
+<p>Jenirok consists of a background daemon which listens to incoming calls and a gui application which can be used for manual searching and configuring the daemon. Eniro account is needed for manual search. Searches are automatically cached so network is used as little as possible. Searching is only done when the caller's number is not found from the address book.</p>\r
+\r
+<p>For bug reports and feature requests you can use the <a href="https://garage.maemo.org/tracker/?group_id=1530">tracker page</a> found in garage.</p>\r
+\r
+<h2 id="license">License</h2>\r
+<p>Jenirok is licensed under the terms of the <a href="http://www.gnu.org/licenses/gpl.txt">GNU General Public License</a>.</p>\r
+\r
+<h2 id="screenshots">Screenshots</h2>\r
+\r
+<p>\r
+<a href="screenshot1.png" class="thumb"><img src="screenshot1_thumb.png" alt="Main window" /></a>\r
+<a href="screenshot3.png" class="thumb"><img src="screenshot3_thumb.png" alt="Search dialog" /></a>\r
+<a href="screenshot2.png" class="thumb"><img src="screenshot2_thumb.png" alt="Details window" /></a>\r
+<a href="screenshot4.png" class="thumb"><img src="screenshot4_thumb.png" alt="Settings dialog" /></a>\r
+</p>\r
+\r
+<h2 id="download">Download</h2>\r
+\r
+<p>Jenirok is compiled with PR 1.2 SDK and Qt 4.6.2 which is not completely compatible with PR 1.1, so there is no deb package available yet. Package will be available on <a href="https://garage.maemo.org/projects/jenirok/">project page</a> and extras-devel as soon as PR 1.2 becomes available to end users.</p>\r
+\r
+<p>Meanwhile the source code can be obtained from <a href="https://garage.maemo.org/plugins/ggit/browse.php/?p=jenirok;a=tree">git repository</a>: <pre>git clone https://vcs.maemo.org/jenirok</pre></p>\r
+\r
+<p>Compilation on scratchbox is pretty straightforward when you have the required dependencies:\r
+<pre>fakeroot apt-get install libqt4-dev libebook-dev</pre>\r
+<p>And the compilation:\r
+<pre>make\r
+fakeroot make install</pre></p>\r
+\r
+<hr/>\r
+\r
+<p>Copyright (C) 2010 <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;&#106;&#101;&#115;&#115;&#101;&#104;&#97;&#107;&#97;&#110;&#101;&#110;&#64;&#103;&#109;&#97;&#105;&#108;&#46;&#99;&#111;&#109;">Jesse Hakanen</a></p>\r
+\r
+<p><a href="https://garage.maemo.org/projects/jenirok/">Jenirok project page on garage</a></p>\r
+\r
+</body>\r
+       \r
+</html>
\ No newline at end of file
diff --git a/www/screenshot1.png b/www/screenshot1.png
new file mode 100644 (file)
index 0000000..e9b7b0b
Binary files /dev/null and b/www/screenshot1.png differ
diff --git a/www/screenshot1_thumb.png b/www/screenshot1_thumb.png
new file mode 100644 (file)
index 0000000..90daf82
Binary files /dev/null and b/www/screenshot1_thumb.png differ
diff --git a/www/screenshot2.png b/www/screenshot2.png
new file mode 100644 (file)
index 0000000..eef5273
Binary files /dev/null and b/www/screenshot2.png differ
diff --git a/www/screenshot2_thumb.png b/www/screenshot2_thumb.png
new file mode 100644 (file)
index 0000000..c5c4876
Binary files /dev/null and b/www/screenshot2_thumb.png differ
diff --git a/www/screenshot3.png b/www/screenshot3.png
new file mode 100644 (file)
index 0000000..db07cae
Binary files /dev/null and b/www/screenshot3.png differ
diff --git a/www/screenshot3_thumb.png b/www/screenshot3_thumb.png
new file mode 100644 (file)
index 0000000..c32a902
Binary files /dev/null and b/www/screenshot3_thumb.png differ
diff --git a/www/screenshot4.png b/www/screenshot4.png
new file mode 100644 (file)
index 0000000..6c0f7e0
Binary files /dev/null and b/www/screenshot4.png differ
diff --git a/www/screenshot4_thumb.png b/www/screenshot4_thumb.png
new file mode 100644 (file)
index 0000000..2f618d0
Binary files /dev/null and b/www/screenshot4_thumb.png differ
diff --git a/www/script.js b/www/script.js
new file mode 100644 (file)
index 0000000..9be6ec2
--- /dev/null
@@ -0,0 +1,8 @@
+window.onload = function()\r
+{\r
+       $("a.thumb").fancybox({\r
+               'titlePosition': 'inside',\r
+               'transitionIn': 'none',\r
+               'transitionOut': 'none'\r
+       });\r
+}
\ No newline at end of file
diff --git a/www/style.css b/www/style.css
new file mode 100644 (file)
index 0000000..04838a3
--- /dev/null
@@ -0,0 +1,24 @@
+body {\r
+       font-family: Arial, Helvetica, Verdana, sans-serif;\r
+       padding: 0 0.6em;\r
+}\r
+ul {\r
+       margin-bottom: 1.5em;\r
+}\r
+h1, h2 {\r
+       color: #2e75b8;\r
+}\r
+\r
+a:hover {\r
+       color: #319bff;\r
+}\r
+hr {\r
+       background-color: #8296a9;\r
+       color: #8296a9;\r
+       height: 1px;\r
+       border: 0;\r
+}\r
+img {\r
+       border: none;\r
+       margin: 4px 4px 4px 0;\r
+}
\ No newline at end of file

Terms of Use    Privacy Policy    Contribution Guidelines    Feedback

Powered By GForge Collaborative Development Environment