Bugzilla – Attachment 5237 Details for
Bug 5806
Search results display items for all locations when the SearchMyLibrary first system pref is activated
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch File for this Bug
0001-Bug-5086-Pre-Relaease.patch (text/plain), 244.87 KB, created by
Peter Lorimer
on 2011-08-31 10:10:39 UTC
(
hide
)
Description:
Patch File for this Bug
Filename:
MIME Type:
Creator:
Peter Lorimer
Created:
2011-08-31 10:10:39 UTC
Size:
244.87 KB
patch
obsolete
>From 2f1565f933ef6633c7a8c69a341fa94500f8b9a8 Mon Sep 17 00:00:00 2001 >From: Peter Lorimer <peter@oslo.ie> >Date: Mon, 29 Aug 2011 16:25:43 +0100 >Subject: [PATCH] Bug# 5086 Pre - Relaease >Content-Type: text/plain; charset="utf-8" > >--- > C4/Biblio.pm | 9 +- > C4/Branch.pm | 30 + > C4/Members.pm | 3 +- > C4/Search.pm | 70 +++- > admin/authorised_values.pl | 16 +- > admin/branches.pl | 14 +- > admin/categorie.pl | 14 +- > admin/itemtypes.pl | 22 +- > catalogue/detail.pl | 29 +- > cataloguing/additem.pl | 35 ++- > circ/overdue.pl | 9 + > index.htm | 131 +++++ > .../prog/en/modules/admin/preferences/admin.pref | 11 + > .../prog/en/modules/catalogue/results.tt | 14 +- > koha-tmpl/opac-tmpl/prog/en/css/style.css | 449 ++++++++++++++++ > koha-tmpl/opac-tmpl/prog/en/js/addon.js | 563 ++++++++++++++++++++ > koha-tmpl/opac-tmpl/prog/en/js/custom.js | 58 ++ > koha-tmpl/opac-tmpl/prog/en/modules/mainindex.tt | 183 +++++++ > koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt | 3 + > mainpage.pl | 6 + > members/member.pl | 19 +- > members/memberentry.pl | 24 +- > members/moremember.pl | 2 +- > misc/cronjobs/crontab.example | 2 +- > misc/cronjobs/statstank.pl | 121 +++++ > opac/mainindex.pl | 23 + > opac/opac-main.pl | 35 ++- > opac/opac-search.pl | 19 + > opac/opac-user.pl | 14 + > statstank.pl | 122 +++++ > 30 files changed, 2018 insertions(+), 32 deletions(-) > create mode 100755 index.htm > create mode 100644 koha-tmpl/opac-tmpl/prog/en/css/style.css > create mode 100644 koha-tmpl/opac-tmpl/prog/en/js/addon.js > create mode 100644 koha-tmpl/opac-tmpl/prog/en/js/custom.js > create mode 100644 koha-tmpl/opac-tmpl/prog/en/modules/mainindex.tt > create mode 100755 misc/cronjobs/statstank.pl > create mode 100755 opac/mainindex.pl > create mode 100755 statstank.pl > >diff --git a/C4/Biblio.pm b/C4/Biblio.pm >index 96baaef..cdc629c 100644 >--- a/C4/Biblio.pm >+++ b/C4/Biblio.pm >@@ -361,11 +361,13 @@ sub _strip_item_fields { > # delete any item fields from incoming record to avoid > # duplication or incorrect data - use AddItem() or ModItem() > # to change items >+if (defined $record) >+{ > foreach my $field ( $record->field($itemtag) ) { > $record->delete_field($field); > } > } >- >+} > =head2 ModBiblioframework > > ModBiblioframework($biblionumber,$frameworkcode); >@@ -2730,7 +2732,10 @@ sub EmbedItemsInMarcBiblio { > my $item_marc = C4::Items::GetMarcItem($biblionumber, $itemnumber); > push @item_fields, $item_marc->field($itemtag); > } >- $marc->insert_fields_ordered(@item_fields); >+ if (defined $marc) >+ { >+ $marc->insert_fields_ordered(@item_fields); >+ } > } > > =head1 INTERNAL FUNCTIONS >diff --git a/C4/Branch.pm b/C4/Branch.pm >index abcdbd6..b0f575c 100644 >--- a/C4/Branch.pm >+++ b/C4/Branch.pm >@@ -101,6 +101,21 @@ Create a branch selector with the following code. > > =cut > >+sub scooterGetCatValues >+{ >+ my $branchcode = @_; >+ my $dbh = C4::Context->dbh(); >+ my $query = "SELECT categorycode, description FROM categories WHERE categorycode like '" . C4::Branch::mybranch() . ".%'"; >+ my $sth = my $sth=$dbh->prepare( $query); >+ $sth->execute; >+ my $branchcats = $sth->fetchall_arrayref({}); >+ $sth->finish(); >+ >+ return( $branchcats, $sth->rows ); >+ >+ >+} >+ > sub GetBranches { > my ($onlymine)=@_; > # returns a reference to a hash of references to ALL branches... >@@ -141,6 +156,21 @@ sub GetBranches { > return ( \%branches ); > } > >+ >+sub homeBranchFromItem >+{ >+my $item = $_[0]; >+ >+my $dbh = C4::Context::dbh(); >+my $sql = "SELECT homebranch FROM items WHERE itemnumber = ?"; >+my $sth = $dbh->prepare($sql); >+$sth->execute($item); >+my @row = $sth->fetchrow_array(); >+ >+return $row[0]; >+} >+ >+ > sub onlymine { > return > C4::Context->preference('IndependantBranches') && >diff --git a/C4/Members.pm b/C4/Members.pm >index dcc168b..49d2366 100644 >--- a/C4/Members.pm >+++ b/C4/Members.pm >@@ -1423,9 +1423,10 @@ to category descriptions. > > #' > sub GetborCatFromCatType { >- my ( $category_type, $action ) = @_; >+ my ( $category_type, $action,$categorycode ) = @_; > # FIXME - This API seems both limited and dangerous. > my $dbh = C4::Context->dbh; >+ > my $request = qq| SELECT categorycode,description > FROM categories > $action >diff --git a/C4/Search.pm b/C4/Search.pm >index c3cff65..568d0df 100644 >--- a/C4/Search.pm >+++ b/C4/Search.pm >@@ -33,6 +33,7 @@ use C4::Debug; > use C4::Items; > use YAML; > use URI::Escape; >+use POSIX; > > use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $DEBUG); > >@@ -1423,7 +1424,15 @@ sub searchResults { > #find branchname > #get branch information..... > my %branches; >- my $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches"); # FIXME : use C4::Branch::GetBranches >+ my $bsth; >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches WHERE branchcode = '". C4::Branch::mybranch() ."' "); # FIXME : use C4::Branch::GetBranches >+ } >+ else >+ { >+ $bsth =$dbh->prepare("SELECT branchcode,branchname FROM branches "); >+ } > $bsth->execute(); > while ( my $bdata = $bsth->fetchrow_hashref ) { > $branches{ $bdata->{'branchcode'} } = $bdata->{'branchname'}; >@@ -2599,9 +2608,20 @@ $template->param ( MYLOOP => C4::Search::z3950_search_args($searchscalar) ) > > =cut > >+ >+ >+ > sub z3950_search_args { > my $bibrec = shift; >- $bibrec = { title => $bibrec } if !ref $bibrec; >+ >+ >+ if (validate_isbn($bibrec) == 1) >+ { >+ $bibrec = { isbn => $bibrec } if !ref $bibrec; >+} >+else { >+ $bibrec = { title => $bibrec } if !ref $bibrec; >+} > my $array = []; > for my $field (qw/ lccn isbn issn title author dewey subject /) > { >@@ -2641,6 +2661,52 @@ OR adds a new authority record > =cut > > >+=head >+BOOL validate_isbn($isbn_number) >+ >+This function validates an isbn number by: >+ >+1. Checking it is 10 or 13 characters long >+2. If it is 10 characters long, checks the lasd character is an 'X' and all other characters are digits >+3. If it is 13 characters long, checks it begins with '97' and all other characters are digits >+ >+=cut >+sub validate_isbn { >+ my $isbn = shift; >+ >+ # Handle ISBNs with spaces or hyphens in them >+ $isbn =~ s/\s+//g; >+ $isbn =~ s/\-//g; >+ >+ # Is it the correct length ? >+ if (length($isbn) != 10 && length($isbn) != 13) >+ { return 0; } >+ else { >+ >+ # Is the last char 'x' for ISBN10 ? >+ my @chars = split('', $isbn); >+ if (length($isbn) == 10 && uc($chars[9]) eq 'X') >+ { >+ # Are all but the last characters digits ? >+ if (isdigit(substr($isbn,0,length($isbn)-1)) ) >+ { return 1;} >+ } >+ >+ # Is it 13 chars long and begin with '97' ? >+ if ( ($chars[0] eq '9' && $chars[1] eq '7') && length($isbn) == 13) >+ { >+ # is it made up of digits? >+ if (isdigit($isbn)) >+ { return 1;} >+ >+ >+ } >+ >+ } >+ # If this function has not yet successfully returned the return failure >+ return 0; >+} >+ > sub BiblioAddAuthorities{ > my ( $record, $frameworkcode ) = @_; > my $dbh=C4::Context->dbh; >diff --git a/admin/authorised_values.pl b/admin/authorised_values.pl >index c26f3a9..c7c7387 100755 >--- a/admin/authorised_values.pl >+++ b/admin/authorised_values.pl >@@ -191,6 +191,7 @@ exit 0; > sub default_form { > # build categories list > my $sth = $dbh->prepare("select distinct category from authorised_values"); >+ my $ownbranch = C4::Branch->mybranch(); > $sth->execute; > my @category_list; > my %categories; # a hash, to check that some hardcoded categories exist. >@@ -219,6 +220,9 @@ sub default_form { > my $count = scalar(@$results); > my @loop_data = (); > # builds value list >+ >+ >+ > for (my $i=0; $i < $count; $i++){ > my %row_data; # get a fresh hash for the row data > $row_data{category} = $results->[$i]{'category'}; >@@ -228,8 +232,18 @@ sub default_form { > $row_data{imageurl} = getitemtypeimagelocation( 'intranet', $results->[$i]{'imageurl'} ); > $row_data{edit} = "$script_name?op=add_form&id=".$results->[$i]{'id'}."&offset=$offset"; > $row_data{delete} = "$script_name?op=delete_confirm&searchfield=$searchfield&id=".$results->[$i]{'id'}."&offset=$offset"; >- push(@loop_data, \%row_data); >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ if (substr($row_data{authorised_value},0,4) eq $ownbranch . '.') >+ { >+ push(@loop_data, \%row_data); >+ } >+ } >+ else { >+ push(@loop_data, \%row_data); >+ } > } >+ > > $template->param( loop => \@loop_data, > tab_list => $tab_list, >diff --git a/admin/branches.pl b/admin/branches.pl >index d6388f5..ed8c1fd 100755 >--- a/admin/branches.pl >+++ b/admin/branches.pl >@@ -308,6 +308,7 @@ sub branchinfotable { > > my ($branchcode,$innertemplate) = @_; > my $branchinfo = $branchcode ? GetBranchInfo($branchcode) : GetBranchInfo(); >+ my $ownbranch = C4::Branch->mybranch(); > my @loop_data = (); > foreach my $branch (@$branchinfo) { > # >@@ -367,7 +368,18 @@ sub branchinfotable { > $row{'branch_code'} = $branch->{'branchcode'}; > $row{'value'} = $branch->{'branchcode'}; > >- push @loop_data, \%row; >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ if ($branch->{'branchcode'} eq $ownbranch) >+ { >+ push @loop_data, \%row; >+ } >+ } >+ else >+ { >+ push @loop_data, \%row; >+ } >+ > } > my @branchcategories = (); > for my $ctype ( GetCategoryTypes() ) { >diff --git a/admin/categorie.pl b/admin/categorie.pl >index 576d7ca..2178f90 100755 >--- a/admin/categorie.pl >+++ b/admin/categorie.pl >@@ -67,7 +67,6 @@ my $searchfield=$input->param('description'); > my $script_name="/cgi-bin/koha/admin/categorie.pl"; > my $categorycode=$input->param('categorycode'); > my $op = $input->param('op'); >- > my ($template, $loggedinuser, $cookie) > = get_template_and_user({template_name => "admin/categorie.tmpl", > query => $input, >@@ -194,6 +193,8 @@ if ($op eq 'add_form') { > } else { # DEFAULT > $template->param(else => 1); > my @loop; >+ my $ownbranch = C4::Branch->mybranch(); >+ > my ($count,$results)=StringSearch($searchfield,'web'); > for (my $i=0; $i < $count; $i++){ > my %row = ( >@@ -214,7 +215,16 @@ if ($op eq 'add_form') { > my $brief_prefs = _get_brief_messaging_prefs($results->[$i]{'categorycode'}); > $row{messaging_prefs} = $brief_prefs if @$brief_prefs; > } >- push @loop, \%row; >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ if (substr($row{'categorycode'},0,4) eq $ownbranch . '.') >+ { >+ push @loop, \%row; >+ } >+ } >+ else { push @loop, \%row; } >+ > } > $template->param(loop => \@loop); > # check that I (institution) and C (child) exists. otherwise => warning to the user >diff --git a/admin/itemtypes.pl b/admin/itemtypes.pl >index 3219da3..cd8df81 100755 >--- a/admin/itemtypes.pl >+++ b/admin/itemtypes.pl >@@ -55,12 +55,28 @@ use C4::Output; > sub StringSearch { > my ( $searchstring, $type ) = @_; > my $dbh = C4::Context->dbh; >+ my $ownbranch = C4::Branch->mybranch(); > $searchstring =~ s/\'/\\\'/g; > my @data = split( ' ', $searchstring ); >- my $sth = $dbh->prepare( >- "SELECT * FROM itemtypes WHERE (description LIKE ?) ORDER BY itemtype" >+ my $sth; >+ >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ $sth = $dbh->prepare( >+ "SELECT * FROM itemtypes WHERE (itemtype LIKE ?) ORDER BY itemtype" > ); >- $sth->execute("$data[0]%"); >+ >+ $sth->execute("$ownbranch%"); >+ } >+ else { >+ $sth = $dbh->prepare( >+ "SELECT * FROM itemtypes WHERE (description LIKE ?) ORDER BY itemtype" >+ ); >+ >+ $sth->execute("$data[0]%"); >+ >+ } > return $sth->fetchall_arrayref({}); # return ref-to-array of ref-to-hashes > # like [ fetchrow_hashref(), fetchrow_hashref() ... ] > } >diff --git a/catalogue/detail.pl b/catalogue/detail.pl >index 8738737..1b1612a 100755 >--- a/catalogue/detail.pl >+++ b/catalogue/detail.pl >@@ -37,9 +37,10 @@ use C4::External::Amazon; > use C4::Search; # enabled_staff_search_views > use C4::VirtualShelves; > use C4::XSLT; >- >+use Data::Dumper::Simple; > # use Smart::Comments; > >+ > my $query = CGI->new(); > my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > { >@@ -158,9 +159,11 @@ my (@itemloop, %itemfields); > my $norequests = 1; > my $authvalcode_items_itemlost = GetAuthValCode('items.itemlost',$fw); > my $authvalcode_items_damaged = GetAuthValCode('items.damaged', $fw); >+my $ownbranch = C4::Branch->mybranch(); >+ > foreach my $item (@items) { > >- $item->{homebranch} = GetBranchName($item->{homebranch}); >+ $item->{homebranch} = GetBranchName($item->{branchcode}); > > # can place holds defaults to yes > $norequests = 0 unless ( ( $item->{'notforloan'} > 0 ) || ( $item->{'itemnotforloan'} > 0 ) ); >@@ -223,7 +226,16 @@ foreach my $item (@items) { > $item->{waitingdate} = format_date($wait_hashref->{waitingdate}); > } > >- push @itemloop, $item; >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ if ($item->{holdingbranch} eq C4::Branch->mybranch()) >+ { >+ push @itemloop, $item; >+ } >+ } >+else { push @itemloop, $item; >+} > } > > $template->param( norequests => $norequests ); >@@ -281,6 +293,9 @@ foreach ( keys %{$dat} ) { > # does not work: my %views_enabled = map { $_ => 1 } $template->query(loop => 'EnableViews'); > # method query not found?!?! > >+ >+ >+ > $template->param( > itemloop => \@itemloop, > biblionumber => $biblionumber, >@@ -288,8 +303,12 @@ $template->param( > subscriptions => \@subs, > subscriptionsnumber => $subscriptionsnumber, > subscriptiontitle => $dat->{title}, >+ > ); >- >+ >+ >+ >+ > # $debug and $template->param(debug_display => 1); > > # Lists >@@ -353,3 +372,5 @@ if (C4::Context->preference('OPACBaseURL')){ > } > > output_html_with_http_headers $query, $cookie, $template->output; >+ >+ >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 275e236..d41b4ea 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -34,8 +34,12 @@ use C4::Dates; > use List::MoreUtils qw/any/; > > use MARC::File::XML; >+<<<<<<< HEAD > use URI::Escape; > >+======= >+use Data::Dumper::Simple; >+>>>>>>> Bug 5806: Consortium filter - added Branch filtering on intranet so that once a librarian chooses a branch, details of any other branch will be hidden until another branch is selected. This is a system pref called searchMyLibraryOnly that can be toggled on or off > my $dbh = C4::Context->dbh; > > sub find_value { >@@ -563,14 +567,29 @@ my ($holdingbrtagf,$holdingbrtagsubf) = &GetMarcFromKohaField("items.holdingbran > # First, the existing items for display > my @item_value_loop; > my @header_value_loop; >+my $itemloc; >+my $ownbranch = C4::Branch->mybranch(); > for my $row ( @big_array ) { > my %row_data; >- my @item_fields = map +{ field => $_ || '' }, @$row{ sort keys(%witness) }; >+ my @item_fields = map +{ field => $_ || '' }, @$row{ sort keys(%witness) }; > $row_data{item_value} = [ @item_fields ]; > $row_data{itemnumber} = $row->{itemnumber}; >+ $itemloc = GetItem( $itemnumber ); >+ $row_data{location} = $itemloc->{location}; > #reporting this_row values > $row_data{'nomod'} = $row->{'nomod'}; >- push(@item_value_loop,\%row_data); >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ $itemloc = C4::Branch::homeBranchFromItem($row_data{itemnumber}); >+ >+ >+ if ($itemloc eq $ownbranch) >+ { >+ push(@item_value_loop,\%row_data); >+ } >+ } >+ else { push(@item_value_loop,\%row_data); } > } > foreach my $subfield_code (sort keys(%witness)) { > my %header_value; >@@ -588,11 +607,21 @@ my $onlymine = C4::Context->preference('IndependantBranches') && > C4::Context->userenv && > C4::Context->userenv->{flags}!=1 && > C4::Context->userenv->{branch}; >+<<<<<<< HEAD > my $branch = C4::Context->userenv->{branch}; > if ($frameworkcode eq 'FA'){ > $branch = $input->param('branch'); > } > my $branches = GetBranchesLoop($branch,$onlymine); # build once ahead of time, instead of multiple times later. >+======= >+ >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ $onlymine = 1; >+ } >+my $branches = GetBranchesLoop(C4::Context->userenv->{branch},$onlymine); # build once ahead of time, instead of multiple times later. >+>>>>>>> Bug 5806: Consortium filter - added Branch filtering on intranet so that once a librarian chooses a branch, details of any other branch will be hidden until another branch is selected. This is a system pref called searchMyLibraryOnly that can be toggled on or off > > # We generate form, from actuel record > @fields = (); >@@ -664,3 +693,5 @@ foreach my $error (@errors) { > $template->param($error => 1); > } > output_html_with_http_headers $input, $cookie, $template->output; >+ >+#print Dumper(@loop_data); >diff --git a/circ/overdue.pl b/circ/overdue.pl >index 18851a6..6e6aa4f 100755 >--- a/circ/overdue.pl >+++ b/circ/overdue.pl >@@ -262,6 +262,12 @@ if ($noreport) { > LEFT JOIN biblio ON (biblio.biblionumber=items.biblionumber ) > WHERE 1=1 "; # placeholder, since it is possible that none of the additional > # conditions will be selected by user >+ >+ if (C4::Context->preference("searchMyLibraryOnly")) >+ { >+ $strsth.=" AND issues.branchcode = '" . C4::Branch->mybranch() . "' "; >+ } >+ > $strsth.=" AND date_due < '" . $todaysdate . "' " unless ($showall); > $strsth.=" AND (borrowers.firstname like '".$bornamefilter."%' or borrowers.surname like '".$bornamefilter."%' or borrowers.cardnumber like '".$bornamefilter."%')" if($bornamefilter) ; > $strsth.=" AND borrowers.categorycode = '" . $borcatfilter . "' " if $borcatfilter; >@@ -301,6 +307,7 @@ if ($noreport) { > push @patron_attr_value_loop, { value => join(', ', sort { lc $a cmp lc $b } @displayvalues) }; > } > >+ > push @overduedata, { > duedate => format_date($data->{date_due}), > borrowernumber => $data->{borrowernumber}, >@@ -404,3 +411,5 @@ sub build_csv { > > return join("\n", @lines) . "\n"; > } >+ >+ >diff --git a/index.htm b/index.htm >new file mode 100755 >index 0000000..30a4b1e >--- /dev/null >+++ b/index.htm >@@ -0,0 +1,131 @@ >+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >+ >+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> >+ <head> >+ <title>Scooter Online Library System</title> >+ >+ <meta name="MSSmartTagsPreventParsing" content="true" /> >+ <link id="theme" rel="stylesheet" type="text/css" href="style.css" title="theme" /> >+<script type="text/javascript" language="javascript" src="js/addon.js"></script> >+<script type="text/javascript" language="javascript" src="js/custom.js"></script> >+ </head> >+ <body bgcolor="#E0E0E"> >+ <!-- top wrapper --> >+ >+ <div id="topSlideshowWrapper"> >+ <div id="sliderContainer"> >+ <!-- YOUR SLIDESHOW IMAGES HERE (recommended size 920x300) --> >+ <div id="slider1"> >+ <ul id="slider1Content"> >+ <li class="slider1Image"> >+ <a href="http://www.oslo.ie" title="Koha Customisation" target="_blank" shape="rect"> >+ <img height=150 src="http://lh3.ggpht.com/_d6vKxl1jKWk/TB3zMhUnzMI/AAAAAAABdS4/nemUV17L-Hs/modern-living-room3.jpg" /> >+ <span class="bottom" style="display: inline;"> >+ <strong><marquee BEHAVIOR=SLIDE scrollamount=20>Scooter - The ILS System for Schools</marquee></strong> >+ <br clear="none" /> Welcome to the Scooter College and School Library System<br/>Please log in or choose a library below. >+ </span> >+ </a> >+ </li> >+ <li class="slider1Image"> >+ <a href="http://www.oslo.ie" title="Koha Customisation" target="_blank" shape="rect"> >+ <img height=150 src="http://lh3.ggpht.com/_d6vKxl1jKWk/TB3zMnU7nHI/AAAAAAABdS0/myp5MJEdwpg/modern-living-room2.jpg" /> >+ <span class="bottom" style="display: inline;"> >+ <strong><marquee BEHAVIOR=SLIDE scrollamount=20>Scooter - The ILS System for Schools</marquee></strong> >+ <br clear="none" /> Welcome to the Scooter College and School Library System<br/>Please log in or choose a library below. >+ </span> >+ </a> >+ </li> >+ <li class="slider1Image"> >+ <a href="http://www.oslo.ie" title="Koha Customisation" target="_blank" shape="rect"> >+ <img height=150 src="http://lh4.ggpht.com/_d6vKxl1jKWk/TB3zMTbFkvI/AAAAAAABdSw/gGYdOwDX2SQ/modern-living-room1.jpg" /> >+ <span class="bottom" style="display: inline;"> >+ <strong><marquee BEHAVIOR=SLIDE scrollamount=20>Scooter - The ILS System for Schools</marquee></strong> >+ <br clear="none" /> Welcome to the Scooter College and School Library System<br/>Please log in or choose a library below. >+ </span> >+ </a> >+ </li> >+ <li class="slider1Image" style="clear:both"></li> >+ </ul> >+ <div id="sliderLeftMask"></div> >+ <div id="sliderRightMask"></div> >+ </div> >+ </div> >+ </div> >+ </div> >+ <!-- end top wrapper --> >+ <div id="wrapper"> >+ <div id="container"> >+ <!-- content --> >+ <div id="content"> >+ <div style="margin-top:20px;"> >+ <div id="main"> >+ <h1>Welcome to Scooter</h1> >+ <p> >+ <p><!--<img SRC="http://www.gonzaga.ie/images/stories/simpleslideshow/jackfitzpatrick.jpg">--> </p> >+ <h2>Please choose a library Below</h2> >+ <p> >+ <p><FORM METHOD="POST" ACTION="http://scooterdev.local/cgi-bin/koha/opac-main.pl"><SELECT NAME = "library"> >+ <option value="AVO">Avondale Community College</option> >+ <option value="GON">Gonzaga College S.J.</option> >+ <option value="SPG">Saint Paul's School, Greenhills</option> >+ </p> >+ <input type="submit" name="submit" value="Choose"> >+ </form> >+ </p> >+ </div> >+ <div id="sidebar" style='float:right'> >+ <div class="bloc rounded" style="margin-top:20px;"> >+ <h3>Scooter Library system</h3> >+ <p> >+ </p> >+ <br/><br/> >+ Please choose your library or log in below<br/> >+ <form name=login method=post>Username: <input name=user><br>Password: <input type=password><br> >+ <input type=submit name = login value = 'LogIn'></form> >+ </div> >+ <div class="bloc rounded" style="margin-top:20px;"> >+ <h3>Latest news</h3> >+ <p><b>Koha 3.4 Released<br> >+<em>by Chris Cormack</em></b><br/> >+<br/> >+Kia ora tatou >+<br/><br/> >+"<i><quote>The Koha development team is happy to announce the release of Koha 3.4.0.</quote></i>" >+<br/> >+Koha 3.4.0 is a major feature release that contains major changes to underlying architecture (adoption of Template::Toolkit for templating) and performance enhancements (removal of item data from biblio records). >+<br/> >+These changes, in addition to the inclusion of many new features, mean a lot of new strings for translators to translate. >+<br/> >+For these reasons we recommend that people who are already running Koha inproduction delay their upgrade until 3.4.1, due May 22, to give the translators time to finish, and for the removing of item data to be streamlined. If you do wish to upgrade please make sure you read the UPGRADE section of the INSTALL document. >+<br/> >+The development team would like to thank all the people who have made this release possible. Please take time to read the release notes. >+ >+</div> >+ <div class="clear"></div> >+ </div> >+ <!-- end content --> >+ <div class="clear" style="height:40px"></div> >+ </div> >+ <!-- end container --> >+ </div> >+ <div id="bottomWrapper"> >+ <div id="footer"> >+ >+ >+ >+ <a href="#" shape="rect">Who are we</a> >+ | >+ <a href="#" shape="rect">What we do</a> >+ | >+ <a href="#" shape="rect">Contact</a> >+ | >+ <a href="#" shape="rect">Partners</a> >+ | >+ <a href="#" shape="rect">Links</a> >+ >+ >+ >+ >+ </div> >+ </body> >+</html> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >index f026c7e..dea5eb2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref >@@ -95,3 +95,14 @@ Administration: > - > - The CAS Authentication Server can be found at > - pref: casServerUrl >+ >+ Search My Library Only: >+ - >+ - pref: searchMyLibraryOnly >+ default: 1 >+ choices: >+ yes: Use >+ no: "Don't use" >+ - Filter Data based on Library. >+ >+ >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >index e1f84b8..d9d4d96 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt >@@ -429,7 +429,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () { > <input type="checkbox" class="selection" id="bib[% SEARCH_RESULT.biblionumber %]" name="biblionumber" value="[% SEARCH_RESULT.biblionumber %]" style="display:none" /> > </td> > <td> >- <p>[% SEARCH_RESULT.result_number %]. >+ <p><!--[% SEARCH_RESULT.result_number %]--> > [% biblionumber = SEARCH_RESULT.biblionumber %] > > [% INCLUDE 'biblio-default-view.inc' %] >@@ -505,20 +505,22 @@ YAHOO.util.Event.onContentReady("searchheader", function () { > > [% IF ( SEARCH_RESULT.availablecount ) %] > [% SEARCH_RESULT.availablecount %] available: >- <ul> >+ <!-- <ul> > [% FOREACH available_items_loo IN SEARCH_RESULT.available_items_loop %] > > [% IF ( noItemTypeImages ) %]<li>[% ELSE %][% IF ( item_level_itypes ) %][% IF ( available_items_loo.imageurl ) %]<li style="list-style: none; list-style-type: none;"><img src="[% available_items_loo.imageurl %]" title="[% available_items_loo.description %]" alt="[% available_items_loo.description %]" />[% ELSE %]<li>[% END %][% ELSE %]<li>[% END %][% END %] >- [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %] >+ [% IF ( available_items_loo.branchname ) %][% available_items_loo.branchname %][% END %] > [% IF ( available_items_loo.location ) %][% available_items_loo.location %][% END %] > [% IF ( available_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=[% available_items_loo.itemcallnumber |url %]">[% available_items_loo.itemcallnumber %]</a>][% END %] > ([% available_items_loo.count %])</li> >- [% END %]</ul> >+ >+ >+ [% END %]</ul> --> > [% END %] > > [% IF ( SEARCH_RESULT.onloancount ) %] > <span class="status">[% SEARCH_RESULT.onloancount %] on loan:</span> >- <ul> >+ <!-- <ul> > [% FOREACH onloan_items_loo IN SEARCH_RESULT.onloan_items_loop %] > [% IF ( noItemTypeImages ) %]<li>[% ELSE %][% IF ( item_level_itypes ) %] > [% IF ( onloan_items_loo.imageurl ) %] >@@ -530,7 +532,7 @@ YAHOO.util.Event.onContentReady("searchheader", function () { > [% IF ( onloan_items_loo.location ) %][% onloan_items_loo.location %][% END %] > [% IF ( onloan_items_loo.itemcallnumber ) %][<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=[% onloan_items_loo.itemcallnumber |url %]">[% onloan_items_loo.itemcallnumber %]</a>][% END %] > ([% onloan_items_loo.count %][% IF ( onloan_items_loo.longoverdue ) %], [% onloan_items_loo.longoverdue %] long overdue[% END %]) date due: [% onloan_items_loo.due_date %]</li> >- [% END %]</ul> >+ [% END %]</ul> --> > [% END %] > > [% IF ( SEARCH_RESULT.othercount ) %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/css/style.css b/koha-tmpl/opac-tmpl/prog/en/css/style.css >new file mode 100644 >index 0000000..e9478cc >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/prog/en/css/style.css >@@ -0,0 +1,449 @@ >+ >+/* >+---------------------------------------------------------------------------------------- >+ >+Copyright 2010 - Thierry Ruiz - www.dotemplate.com - All rights reserved. >+ >+THIS TEMPLATE IS FREE AS LONG AS YOU KEEP THE LINK TO WWW.DOTEMPLATE.COM IN THE FOOTER >+TO REMOVE THE LINK, PLEASE MAKE A 10 DOLLARS DONATION at www.dotemplate.com/#donate >+ >+---------------------------------------------------------------------------------------- >+*/ >+ >+ >+html { >+ background: $bottomWrapper.bg.color; >+ margin:0 0 0 -1px; >+ padding:0; >+ overflow-Y: scroll; >+} >+ >+ >+body { >+ padding:0; >+ margin :0; >+ display:table; >+ width:100%; >+} >+ >+ >+ >+ >+#wrapper { >+ margin:0 auto ; >+ width:100%; >+background-color:#ffffff; >+} >+ >+ body { >+ background-color:#ffffff; >+} >+ >+#wrapper { >+ border-top: 1px solid #ffffff; >+} >+ >+ >+ >+ >+#topBannerWrapper { >+ width:100%; >+ height:90px; >+ background-color:#f0ead1; >+ background-image:url(images/css/topBannerWrapper-bg.jpg); >+ background-position:center top ; >+ background-repeat:repeat-x; >+} >+ >+ >+ >+#topBanner { >+ width:920px; >+ margin:0 auto; >+ height:90px; >+ background-image:url(images/css/topBanner.jpg); >+ background-repeat:no-repeat; >+} >+ >+ >+ >+#hmenuWrapper { >+ width:100%; >+ margin:0 auto ; >+} >+ >+#hmenu { >+ position:relative; >+ top:30px; >+ float:right; >+} >+ >+ >+ >+#hmenu ul { >+ list-style:none inside none; >+ margin:0; >+ padding:0; >+ text-transform:uppercase; >+ font-size:14px; >+ font-family:Arial,sans-serif; >+} >+ >+#hmenu ul li { >+ float:left; >+} >+ >+#hmenu ul li a { >+ border:0 none; >+ color:#660d05; >+ display:block; >+ float:left; >+ font-size:14px; >+ font-weight:bold; >+ height:2em; >+ line-height:2em; >+ text-align:center; >+ padding:0 20px; >+} >+ >+ >+#hmenu ul li a:hover { >+ background-color:#660d05; >+ color:#FFFFFF; >+} >+ >+#hmenu ul li a:link { >+ text-decoration:none; >+} >+ >+#hmenu ul li a:visited { >+ text-decoration:none; >+} >+ >+#hmenu ul li a:active { >+ text-decoration:none; >+} >+ >+ >+#hmenu li#current a { >+ background-color:#660d05; >+ color:#FFFFFF; >+} >+ >+ >+ >+#topSlideshowWrapper { >+ width:100%; >+ height:300px; >+# background-color:#0e5104; >+ background-image:url(images/css/topSlideshowWrapper-bg.jpg); >+ background-position:center top ; >+ background-repeat:repeat-x; >+} >+ >+ >+#sliderContainer { >+ width: 920px; >+ margin:0 auto; >+} >+ >+ >+#slider1 { >+ width:100%; >+ height: 300px; >+ position: relative; >+ overflow: hidden; /* important */ >+} >+ >+ >+#slider1 img { >+ padding: 0; >+ margin:0; >+ width:920px; >+ height:300px; >+} >+ >+ >+#slider1 a img { border:none } >+ >+ >+#slider1Content { >+ margin:0; >+ padding:10px; >+ height:300px; >+ font-size:0; >+ width:100%; >+ position: relative; >+} >+ >+ >+.slider1Image { >+ display:none; >+ float:left; >+ position:relative; >+ margin:0; >+ padding:0; >+} >+ >+.slider1Image span { >+ position: absolute; >+ left:0; >+ font-family:Tahoma, Arial; >+ font-size:14px; >+ padding: 0px; >+ width:920px; >+ background-color:#0e5104; >+ color: #fff; >+ display: none; >+ z-index:20; >+ filter: alpha(opacity=70); >+ -moz-opacity: 0.7; >+ -khtml-opacity: 0.7; >+ opacity: 0.7; >+} >+ >+ >+.slider1Image .bottom { >+ bottom: 0; >+ left: 0; >+ height: 70px; >+} >+ >+ >+#sliderLeftMask { >+ height:300px; >+ position:absolute; >+ top:0; >+ left:0px; >+ width:180px; >+ z-index:10; >+ background:url('images/css/sliderLeftMask.png') no-repeat scroll center center transparent; >+} >+ >+ >+ >+#sliderRightMask { >+ height:300px; >+ position:absolute; >+ top:0; >+ left:740px; >+ width:180px; >+ z-index:10; >+ background:url('images/css/sliderRightMask.png') no-repeat scroll center center transparent; >+} >+ >+ >+ >+ >+ >+ >+ >+#container { >+ margin:10px auto; >+ width:920px; >+ min-height:570px; >+background-color:#ffffff; >+} >+ >+ >+ >+ >+#content { >+ width:920px; >+ margin:10px auto ; >+ text-align:left; >+background-color:#ffffff; >+} >+ >+#content p { >+ text-align:justify; >+} >+ >+ >+ >+ >+ >+#main { >+ width:610px; >+ float:left; >+ margin-right:40px ; >+ background-color:#ffffff; >+} >+ >+#sidebar { >+ float:right; >+ width:270px; >+} >+ >+.bloc h3 { >+ margin-top:10px; >+} >+ >+.bloc { >+ padding:15px; >+ background-color:#EEEEEE; >+} >+ >+ >+ >+#content a:link, #content a:visited { >+ color:#505050; >+ font-weight:bold; >+} >+ >+ >+#content p { >+ margin-top:10px; >+ text-align:justify; >+} >+ >+ >+.padd15 { >+ padding:15px; >+} >+ >+.padd20 { >+ padding:20px; >+} >+ >+ >+body { >+ color:#444444; >+ font-family: 'Trebuchet MS', sans-serif; >+ font-size: 13px; >+ font-style: normal; >+ font-weight: normal; >+ text-transform: normal; >+} >+ >+p { >+ letter-spacing: normal; >+ line-height: 1.7em; >+} >+ >+ >+h1 { >+ color:#000000; >+ margin:20px 0 10px 0; >+ clear:both; >+} >+ >+ >+h2 { >+ color:#000000; >+ margin:20px 0 10px 0; >+ clear:both; >+} >+ >+ >+h3 { >+ color:#000000; >+ margin:10px 0 5px 0; >+ clear:both; >+} >+ >+ >+a:link, a:visited { >+ color:#505050; >+ text-decoration:none; >+} >+ >+ >+a:hover { >+ text-decoration:underline; >+} >+ >+ >+ >+#bottomWrapper { >+ background-color:#000000; >+ background-image:url(images/css/bottomWrapper-bg.png); >+ background-position:center top ; >+ background-repeat:repeat-x; >+ text-align:center; >+ color:#70806D; >+ text-align:center; >+ width:100%; >+ clear:both; >+} >+ >+ >+#bottomWrapper a:link, #bottomWrapper a:visited { >+ color:#e7ded9; >+} >+ >+ >+ >+#bottomWrapper a:hover{ >+ color:#cdb380; >+ text-decoration:none; >+} >+ >+ >+#footer { >+ #min-height:260px; >+ width:920px; >+ margin:0 auto; >+ background-color:#000000; >+ background-image:url(images/css/footer-bg.png); >+ background-position:center top ; >+ background-repeat:no-repeat; >+} >+ >+ >+ >+ >+.footer-last { >+ margin-right:0 !important; >+ clear:right; >+} >+ >+.footer-one-third { >+ float:left; >+ margin:20px 100px 20px 0; >+ width:240px; >+ position:relative; >+ text-align:left; >+ overflow:hidden; >+} >+ >+.footer-one-third h3 { >+ margin-top:10px; >+} >+ >+.footer-one-third ul{ >+ border-top:1px solid #0a0a0a; >+ padding:0 ; >+} >+ >+.footer-one-third ul, .footer-one-third li { >+ list-style: none ; >+ margin-left:0 ; >+} >+ >+.footer-one-third li { >+ border-bottom:1px solid #0a0a0a; >+ padding: 5px 0 ; >+} >+ >+ >+ >+#bottom-links { >+ height:60px; >+ background:#000000 url('images/css/bottomLinks-bg.png') center top repeat-x; >+} >+ >+ >+a img { >+ border:none; >+} >+ >+ >+.clear { >+ clear: both; >+ display: block; >+ overflow: hidden; >+ visibility: hidden; >+ width: 0; >+ height: 0; >+} >diff --git a/koha-tmpl/opac-tmpl/prog/en/js/addon.js b/koha-tmpl/opac-tmpl/prog/en/js/addon.js >new file mode 100644 >index 0000000..851dcf1 >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/prog/en/js/addon.js >@@ -0,0 +1,563 @@ >+/*! >+ * jQuery JavaScript Library v1.4.2 >+ * http://jquery.com/ >+ * >+ * Copyright 2010, John Resig >+ * Dual licensed under the MIT or GPL Version 2 licenses. >+ * http://jquery.org/license >+ * >+ * Includes Sizzle.js >+ * http://sizzlejs.com/ >+ * Copyright 2010, The Dojo Foundation >+ * Released under the MIT, BSD, and GPL Licenses. >+ * >+ * Date: Sat Feb 13 22:33:48 2010 -0500 >+ */ >+(function(A,w){function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catch(a){setTimeout(ma,1);return}c.ready()}}function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"}):c.globalEval(b.text||b.textContent||b.innerHTML||"");b.parentNode&&b.parentNode.removeChild(b)}function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o in b)X(a,o,b[o],f,e,d);return a}if(d!==w){f=!j&&f&&c.isFunction(d);for(o=0;o<i;o++)e(a[o],b,f?d.call(a[o],o,e(a[o],b)):d,j);return a}return i? >+e(a[0],b):w}function J(){return(new Date).getTime()}function Y(){return false}function Z(){return true}function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"events");if(!(a.liveFired===this||!i||!i.live||a.button&&a.type==="click")){a.liveFired=this;var u=i.live.slice(0);for(k=0;k<u.length;k++){i=u[k];i.origType.replace(O,"")===a.type?f.push(i.selector):u.splice(k--,1)}j=c(a.target).closest(f,a.currentTarget);n=0;for(r= >+j.length;n<r;n++)for(k=0;k<u.length;k++){i=u[k];if(j[n].selector===i.selector){o=j[n].elem;f=null;if(i.preType==="mouseenter"||i.preType==="mouseleave")f=c(a.relatedTarget).closest(i.selector)[0];if(!f||f!==o)d.push({elem:o,handleObj:i})}}n=0;for(r=d.length;n<r;n++){j=d[n];a.currentTarget=j.elem;a.data=j.handleObj.data;a.handleObj=j.handleObj;if(j.handleObj.origHandler.apply(j.elem,e)===false){b=false;break}}return b}}function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`").replace(/ /g, >+"&")}function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d].nodeName)){var f=c.data(a[d++]),e=c.data(this,f);if(f=f&&f.events){delete e.handle;e.events={};for(var j in f)for(var i in f[j])c.event.add(this,j,f[j][i],f[j][i].data)}}})}function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.length===1&&typeof a[0]==="string"&&a[0].length<512&&b===s&&!ta.test(a[0])&&(c.support.checkClone||!ua.test(a[0]))){e= >+true;if(j=c.fragments[a[0]])if(j!==1)f=j}if(!f){f=b.createDocumentFragment();c.clean(a,b,f,d)}if(e)c.fragments[a[0]]=j?f:1;return{fragment:f,cacheable:e}}function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),function(){d[this]=a});return d}function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defaultView||a.parentWindow:false}var c=function(a,b){return new c.fn.init(a,b)},Ra=A.jQuery,Sa=A.$,s=A.document,T,Ta=/^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/,Ua=/^.[^:#\[\.,]*$/,Va=/\S/, >+Wa=/^(\s|\u00A0)+|(\s|\u00A0)+$/g,Xa=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,P=navigator.userAgent,xa=false,Q=[],L,$=Object.prototype.toString,aa=Object.prototype.hasOwnProperty,ba=Array.prototype.push,R=Array.prototype.slice,ya=Array.prototype.indexOf;c.fn=c.prototype={init:function(a,b){var d,f;if(!a)return this;if(a.nodeType){this.context=this[0]=a;this.length=1;return this}if(a==="body"&&!b){this.context=s;this[0]=s.body;this.selector="body";this.length=1;return this}if(typeof a==="string")if((d=Ta.exec(a))&& >+(d[1]||!b))if(d[1]){f=b?b.ownerDocument||b:s;if(a=Xa.exec(a))if(c.isPlainObject(b)){a=[s.createElement(a[1])];c.fn.attr.call(a,b,true)}else a=[f.createElement(a[1])];else{a=sa([d[1]],[f]);a=(a.cacheable?a.fragment.cloneNode(true):a.fragment).childNodes}return c.merge(this,a)}else{if(b=s.getElementById(d[2])){if(b.id!==d[2])return T.find(a);this.length=1;this[0]=b}this.context=s;this.selector=a;return this}else if(!b&&/^\w+$/.test(a)){this.selector=a;this.context=s;a=s.getElementsByTagName(a);return c.merge(this, >+a)}else return!b||b.jquery?(b||T).find(a):c(b).find(a);else if(c.isFunction(a))return T.ready(a);if(a.selector!==w){this.selector=a.selector;this.context=a.context}return c.makeArray(a,this)},selector:"",jquery:"1.4.2",length:0,size:function(){return this.length},toArray:function(){return R.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this.slice(a)[0]:this[a]},pushStack:function(a,b,d){var f=c();c.isArray(a)?ba.apply(f,a):c.merge(f,a);f.prevObject=this;f.context=this.context;if(b=== >+"find")f.selector=this.selector+(this.selector?" ":"")+d;else if(b)f.selector=this.selector+"."+b+"("+d+")";return f},each:function(a,b){return c.each(this,a,b)},ready:function(a){c.bindReady();if(c.isReady)a.call(s,c);else Q&&Q.push(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(R.apply(this,arguments),"slice",R.call(arguments).join(","))},map:function(a){return this.pushStack(c.map(this, >+function(b,d){return a.call(b,d,b)}))},end:function(){return this.prevObject||c(null)},push:ba,sort:[].sort,splice:[].splice};c.fn.init.prototype=c.fn;c.extend=c.fn.extend=function(){var a=arguments[0]||{},b=1,d=arguments.length,f=false,e,j,i,o;if(typeof a==="boolean"){f=a;a=arguments[1]||{};b=2}if(typeof a!=="object"&&!c.isFunction(a))a={};if(d===b){a=this;--b}for(;b<d;b++)if((e=arguments[b])!=null)for(j in e){i=a[j];o=e[j];if(a!==o)if(f&&o&&(c.isPlainObject(o)||c.isArray(o))){i=i&&(c.isPlainObject(i)|| >+c.isArray(i))?i:c.isArray(o)?[]:{};a[j]=c.extend(f,i,o)}else if(o!==w)a[j]=o}return a};c.extend({noConflict:function(a){A.$=Sa;if(a)A.jQuery=Ra;return c},isReady:false,ready:function(){if(!c.isReady){if(!s.body)return setTimeout(c.ready,13);c.isReady=true;if(Q){for(var a,b=0;a=Q[b++];)a.call(s,c);Q=null}c.fn.triggerHandler&&c(s).triggerHandler("ready")}},bindReady:function(){if(!xa){xa=true;if(s.readyState==="complete")return c.ready();if(s.addEventListener){s.addEventListener("DOMContentLoaded", >+L,false);A.addEventListener("load",c.ready,false)}else if(s.attachEvent){s.attachEvent("onreadystatechange",L);A.attachEvent("onload",c.ready);var a=false;try{a=A.frameElement==null}catch(b){}s.documentElement.doScroll&&a&&ma()}}},isFunction:function(a){return $.call(a)==="[object Function]"},isArray:function(a){return $.call(a)==="[object Array]"},isPlainObject:function(a){if(!a||$.call(a)!=="[object Object]"||a.nodeType||a.setInterval)return false;if(a.constructor&&!aa.call(a,"constructor")&&!aa.call(a.constructor.prototype, >+"isPrototypeOf"))return false;var b;for(b in a);return b===w||aa.call(a,b)},isEmptyObject:function(a){for(var b in a)return false;return true},error:function(a){throw a;},parseJSON:function(a){if(typeof a!=="string"||!a)return null;a=c.trim(a);if(/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return A.JSON&&A.JSON.parse?A.JSON.parse(a):(new Function("return "+ >+a))();else c.error("Invalid JSON: "+a)},noop:function(){},globalEval:function(a){if(a&&Va.test(a)){var b=s.getElementsByTagName("head")[0]||s.documentElement,d=s.createElement("script");d.type="text/javascript";if(c.support.scriptEval)d.appendChild(s.createTextNode(a));else d.text=a;b.insertBefore(d,b.firstChild);b.removeChild(d)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,b,d){var f,e=0,j=a.length,i=j===w||c.isFunction(a);if(d)if(i)for(f in a){if(b.apply(a[f], >+d)===false)break}else for(;e<j;){if(b.apply(a[e++],d)===false)break}else if(i)for(f in a){if(b.call(a[f],f,a[f])===false)break}else for(d=a[0];e<j&&b.call(d,e,d)!==false;d=a[++e]);return a},trim:function(a){return(a||"").replace(Wa,"")},makeArray:function(a,b){b=b||[];if(a!=null)a.length==null||typeof a==="string"||c.isFunction(a)||typeof a!=="function"&&a.setInterval?ba.call(b,a):c.merge(b,a);return b},inArray:function(a,b){if(b.indexOf)return b.indexOf(a);for(var d=0,f=b.length;d<f;d++)if(b[d]=== >+a)return d;return-1},merge:function(a,b){var d=a.length,f=0;if(typeof b.length==="number")for(var e=b.length;f<e;f++)a[d++]=b[f];else for(;b[f]!==w;)a[d++]=b[f++];a.length=d;return a},grep:function(a,b,d){for(var f=[],e=0,j=a.length;e<j;e++)!d!==!b(a[e],e)&&f.push(a[e]);return f},map:function(a,b,d){for(var f=[],e,j=0,i=a.length;j<i;j++){e=b(a[j],j,d);if(e!=null)f[f.length]=e}return f.concat.apply([],f)},guid:1,proxy:function(a,b,d){if(arguments.length===2)if(typeof b==="string"){d=a;a=d[b];b=w}else if(b&& >+!c.isFunction(b)){d=b;b=w}if(!b&&a)b=function(){return a.apply(d||this,arguments)};if(a)b.guid=a.guid=a.guid||b.guid||c.guid++;return b},uaMatch:function(a){a=a.toLowerCase();a=/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||!/compatible/.test(a)&&/(mozilla)(?:.*? rv:([\w.]+))?/.exec(a)||[];return{browser:a[1]||"",version:a[2]||"0"}},browser:{}});P=c.uaMatch(P);if(P.browser){c.browser[P.browser]=true;c.browser.version=P.version}if(c.browser.webkit)c.browser.safari= >+true;if(ya)c.inArray=function(a,b){return ya.call(b,a)};T=c(s);if(s.addEventListener)L=function(){s.removeEventListener("DOMContentLoaded",L,false);c.ready()};else if(s.attachEvent)L=function(){if(s.readyState==="complete"){s.detachEvent("onreadystatechange",L);c.ready()}};(function(){c.support={};var a=s.documentElement,b=s.createElement("script"),d=s.createElement("div"),f="script"+J();d.style.display="none";d.innerHTML=" <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>"; >+var e=d.getElementsByTagName("*"),j=d.getElementsByTagName("a")[0];if(!(!e||!e.length||!j)){c.support={leadingWhitespace:d.firstChild.nodeType===3,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/red/.test(j.getAttribute("style")),hrefNormalized:j.getAttribute("href")==="/a",opacity:/^0.55$/.test(j.style.opacity),cssFloat:!!j.style.cssFloat,checkOn:d.getElementsByTagName("input")[0].value==="on",optSelected:s.createElement("select").appendChild(s.createElement("option")).selected, >+parentNode:d.removeChild(d.appendChild(s.createElement("div"))).parentNode===null,deleteExpando:true,checkClone:false,scriptEval:false,noCloneEvent:true,boxModel:null};b.type="text/javascript";try{b.appendChild(s.createTextNode("window."+f+"=1;"))}catch(i){}a.insertBefore(b,a.firstChild);if(A[f]){c.support.scriptEval=true;delete A[f]}try{delete b.test}catch(o){c.support.deleteExpando=false}a.removeChild(b);if(d.attachEvent&&d.fireEvent){d.attachEvent("onclick",function k(){c.support.noCloneEvent= >+false;d.detachEvent("onclick",k)});d.cloneNode(true).fireEvent("onclick")}d=s.createElement("div");d.innerHTML="<input type='radio' name='radiotest' checked='checked'/>";a=s.createDocumentFragment();a.appendChild(d.firstChild);c.support.checkClone=a.cloneNode(true).cloneNode(true).lastChild.checked;c(function(){var k=s.createElement("div");k.style.width=k.style.paddingLeft="1px";s.body.appendChild(k);c.boxModel=c.support.boxModel=k.offsetWidth===2;s.body.removeChild(k).style.display="none"});a=function(k){var n= >+s.createElement("div");k="on"+k;var r=k in n;if(!r){n.setAttribute(k,"return;");r=typeof n[k]==="function"}return r};c.support.submitBubbles=a("submit");c.support.changeBubbles=a("change");a=b=d=e=j=null}})();c.props={"for":"htmlFor","class":"className",readonly:"readOnly",maxlength:"maxLength",cellspacing:"cellSpacing",rowspan:"rowSpan",colspan:"colSpan",tabindex:"tabIndex",usemap:"useMap",frameborder:"frameBorder"};var G="jQuery"+J(),Ya=0,za={};c.extend({cache:{},expando:G,noData:{embed:true,object:true, >+applet:true},data:function(a,b,d){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var f=a[G],e=c.cache;if(!f&&typeof b==="string"&&d===w)return null;f||(f=++Ya);if(typeof b==="object"){a[G]=f;e[f]=c.extend(true,{},b)}else if(!e[f]){a[G]=f;e[f]={}}a=e[f];if(d!==w)a[b]=d;return typeof b==="string"?a[b]:a}},removeData:function(a,b){if(!(a.nodeName&&c.noData[a.nodeName.toLowerCase()])){a=a==A?za:a;var d=a[G],f=c.cache,e=f[d];if(b){if(e){delete e[b];c.isEmptyObject(e)&&c.removeData(a)}}else{if(c.support.deleteExpando)delete a[c.expando]; >+else a.removeAttribute&&a.removeAttribute(c.expando);delete f[d]}}}});c.fn.extend({data:function(a,b){if(typeof a==="undefined"&&this.length)return c.data(this[0]);else if(typeof a==="object")return this.each(function(){c.data(this,a)});var d=a.split(".");d[1]=d[1]?"."+d[1]:"";if(b===w){var f=this.triggerHandler("getData"+d[1]+"!",[d[0]]);if(f===w&&this.length)f=c.data(this[0],a);return f===w&&d[1]?this.data(d[0]):f}else return this.trigger("setData"+d[1]+"!",[d[0],b]).each(function(){c.data(this, >+a,b)})},removeData:function(a){return this.each(function(){c.removeData(this,a)})}});c.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var f=c.data(a,b);if(!d)return f||[];if(!f||c.isArray(d))f=c.data(a,b,c.makeArray(d));else f.push(d);return f}},dequeue:function(a,b){b=b||"fx";var d=c.queue(a,b),f=d.shift();if(f==="inprogress")f=d.shift();if(f){b==="fx"&&d.unshift("inprogress");f.call(a,function(){c.dequeue(a,b)})}}});c.fn.extend({queue:function(a,b){if(typeof a!=="string"){b=a;a="fx"}if(b=== >+w)return c.queue(this[0],a);return this.each(function(){var d=c.queue(this,a,b);a==="fx"&&d[0]!=="inprogress"&&c.dequeue(this,a)})},dequeue:function(a){return this.each(function(){c.dequeue(this,a)})},delay:function(a,b){a=c.fx?c.fx.speeds[a]||a:a;b=b||"fx";return this.queue(b,function(){var d=this;setTimeout(function(){c.dequeue(d,b)},a)})},clearQueue:function(a){return this.queue(a||"fx",[])}});var Aa=/[\n\t]/g,ca=/\s+/,Za=/\r/g,$a=/href|src|style/,ab=/(button|input)/i,bb=/(button|input|object|select|textarea)/i, >+cb=/^(a|area)$/i,Ba=/radio|checkbox/;c.fn.extend({attr:function(a,b){return X(this,a,b,true,c.attr)},removeAttr:function(a){return this.each(function(){c.attr(this,a,"");this.nodeType===1&&this.removeAttribute(a)})},addClass:function(a){if(c.isFunction(a))return this.each(function(n){var r=c(this);r.addClass(a.call(this,n,r.attr("class")))});if(a&&typeof a==="string")for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1)if(e.className){for(var j=" "+e.className+" ", >+i=e.className,o=0,k=b.length;o<k;o++)if(j.indexOf(" "+b[o]+" ")<0)i+=" "+b[o];e.className=c.trim(i)}else e.className=a}return this},removeClass:function(a){if(c.isFunction(a))return this.each(function(k){var n=c(this);n.removeClass(a.call(this,k,n.attr("class")))});if(a&&typeof a==="string"||a===w)for(var b=(a||"").split(ca),d=0,f=this.length;d<f;d++){var e=this[d];if(e.nodeType===1&&e.className)if(a){for(var j=(" "+e.className+" ").replace(Aa," "),i=0,o=b.length;i<o;i++)j=j.replace(" "+b[i]+" ", >+" ");e.className=c.trim(j)}else e.className=""}return this},toggleClass:function(a,b){var d=typeof a,f=typeof b==="boolean";if(c.isFunction(a))return this.each(function(e){var j=c(this);j.toggleClass(a.call(this,e,j.attr("class"),b),b)});return this.each(function(){if(d==="string")for(var e,j=0,i=c(this),o=b,k=a.split(ca);e=k[j++];){o=f?o:!i.hasClass(e);i[o?"addClass":"removeClass"](e)}else if(d==="undefined"||d==="boolean"){this.className&&c.data(this,"__className__",this.className);this.className= >+this.className||a===false?"":c.data(this,"__className__")||""}})},hasClass:function(a){a=" "+a+" ";for(var b=0,d=this.length;b<d;b++)if((" "+this[b].className+" ").replace(Aa," ").indexOf(a)>-1)return true;return false},val:function(a){if(a===w){var b=this[0];if(b){if(c.nodeName(b,"option"))return(b.attributes.value||{}).specified?b.value:b.text;if(c.nodeName(b,"select")){var d=b.selectedIndex,f=[],e=b.options;b=b.type==="select-one";if(d<0)return null;var j=b?d:0;for(d=b?d+1:e.length;j<d;j++){var i= >+e[j];if(i.selected){a=c(i).val();if(b)return a;f.push(a)}}return f}if(Ba.test(b.type)&&!c.support.checkOn)return b.getAttribute("value")===null?"on":b.value;return(b.value||"").replace(Za,"")}return w}var o=c.isFunction(a);return this.each(function(k){var n=c(this),r=a;if(this.nodeType===1){if(o)r=a.call(this,k,n.val());if(typeof r==="number")r+="";if(c.isArray(r)&&Ba.test(this.type))this.checked=c.inArray(n.val(),r)>=0;else if(c.nodeName(this,"select")){var u=c.makeArray(r);c("option",this).each(function(){this.selected= >+c.inArray(c(this).val(),u)>=0});if(!u.length)this.selectedIndex=-1}else this.value=r}})}});c.extend({attrFn:{val:true,css:true,html:true,text:true,data:true,width:true,height:true,offset:true},attr:function(a,b,d,f){if(!a||a.nodeType===3||a.nodeType===8)return w;if(f&&b in c.attrFn)return c(a)[b](d);f=a.nodeType!==1||!c.isXMLDoc(a);var e=d!==w;b=f&&c.props[b]||b;if(a.nodeType===1){var j=$a.test(b);if(b in a&&f&&!j){if(e){b==="type"&&ab.test(a.nodeName)&&a.parentNode&&c.error("type property can't be changed"); >+a[b]=d}if(c.nodeName(a,"form")&&a.getAttributeNode(b))return a.getAttributeNode(b).nodeValue;if(b==="tabIndex")return(b=a.getAttributeNode("tabIndex"))&&b.specified?b.value:bb.test(a.nodeName)||cb.test(a.nodeName)&&a.href?0:w;return a[b]}if(!c.support.style&&f&&b==="style"){if(e)a.style.cssText=""+d;return a.style.cssText}e&&a.setAttribute(b,""+d);a=!c.support.hrefNormalized&&f&&j?a.getAttribute(b,2):a.getAttribute(b);return a===null?w:a}return c.style(a,b,d)}});var O=/\.(.*)$/,db=function(a){return a.replace(/[^\w\s\.\|`]/g, >+function(b){return"\\"+b})};c.event={add:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){if(a.setInterval&&a!==A&&!a.frameElement)a=A;var e,j;if(d.handler){e=d;d=e.handler}if(!d.guid)d.guid=c.guid++;if(j=c.data(a)){var i=j.events=j.events||{},o=j.handle;if(!o)j.handle=o=function(){return typeof c!=="undefined"&&!c.event.triggered?c.event.handle.apply(o.elem,arguments):w};o.elem=a;b=b.split(" ");for(var k,n=0,r;k=b[n++];){j=e?c.extend({},e):{handler:d,data:f};if(k.indexOf(".")>-1){r=k.split("."); >+k=r.shift();j.namespace=r.slice(0).sort().join(".")}else{r=[];j.namespace=""}j.type=k;j.guid=d.guid;var u=i[k],z=c.event.special[k]||{};if(!u){u=i[k]=[];if(!z.setup||z.setup.call(a,f,r,o)===false)if(a.addEventListener)a.addEventListener(k,o,false);else a.attachEvent&&a.attachEvent("on"+k,o)}if(z.add){z.add.call(a,j);if(!j.handler.guid)j.handler.guid=d.guid}u.push(j);c.event.global[k]=true}a=null}}},global:{},remove:function(a,b,d,f){if(!(a.nodeType===3||a.nodeType===8)){var e,j=0,i,o,k,n,r,u,z=c.data(a), >+C=z&&z.events;if(z&&C){if(b&&b.type){d=b.handler;b=b.type}if(!b||typeof b==="string"&&b.charAt(0)==="."){b=b||"";for(e in C)c.event.remove(a,e+b)}else{for(b=b.split(" ");e=b[j++];){n=e;i=e.indexOf(".")<0;o=[];if(!i){o=e.split(".");e=o.shift();k=new RegExp("(^|\\.)"+c.map(o.slice(0).sort(),db).join("\\.(?:.*\\.)?")+"(\\.|$)")}if(r=C[e])if(d){n=c.event.special[e]||{};for(B=f||0;B<r.length;B++){u=r[B];if(d.guid===u.guid){if(i||k.test(u.namespace)){f==null&&r.splice(B--,1);n.remove&&n.remove.call(a,u)}if(f!= >+null)break}}if(r.length===0||f!=null&&r.length===1){if(!n.teardown||n.teardown.call(a,o)===false)Ca(a,e,z.handle);delete C[e]}}else for(var B=0;B<r.length;B++){u=r[B];if(i||k.test(u.namespace)){c.event.remove(a,n,u.handler,B);r.splice(B--,1)}}}if(c.isEmptyObject(C)){if(b=z.handle)b.elem=null;delete z.events;delete z.handle;c.isEmptyObject(z)&&c.removeData(a)}}}}},trigger:function(a,b,d,f){var e=a.type||a;if(!f){a=typeof a==="object"?a[G]?a:c.extend(c.Event(e),a):c.Event(e);if(e.indexOf("!")>=0){a.type= >+e=e.slice(0,-1);a.exclusive=true}if(!d){a.stopPropagation();c.event.global[e]&&c.each(c.cache,function(){this.events&&this.events[e]&&c.event.trigger(a,b,this.handle.elem)})}if(!d||d.nodeType===3||d.nodeType===8)return w;a.result=w;a.target=d;b=c.makeArray(b);b.unshift(a)}a.currentTarget=d;(f=c.data(d,"handle"))&&f.apply(d,b);f=d.parentNode||d.ownerDocument;try{if(!(d&&d.nodeName&&c.noData[d.nodeName.toLowerCase()]))if(d["on"+e]&&d["on"+e].apply(d,b)===false)a.result=false}catch(j){}if(!a.isPropagationStopped()&& >+f)c.event.trigger(a,b,f,true);else if(!a.isDefaultPrevented()){f=a.target;var i,o=c.nodeName(f,"a")&&e==="click",k=c.event.special[e]||{};if((!k._default||k._default.call(d,a)===false)&&!o&&!(f&&f.nodeName&&c.noData[f.nodeName.toLowerCase()])){try{if(f[e]){if(i=f["on"+e])f["on"+e]=null;c.event.triggered=true;f[e]()}}catch(n){}if(i)f["on"+e]=i;c.event.triggered=false}}},handle:function(a){var b,d,f,e;a=arguments[0]=c.event.fix(a||A.event);a.currentTarget=this;b=a.type.indexOf(".")<0&&!a.exclusive; >+if(!b){d=a.type.split(".");a.type=d.shift();f=new RegExp("(^|\\.)"+d.slice(0).sort().join("\\.(?:.*\\.)?")+"(\\.|$)")}e=c.data(this,"events");d=e[a.type];if(e&&d){d=d.slice(0);e=0;for(var j=d.length;e<j;e++){var i=d[e];if(b||f.test(i.namespace)){a.handler=i.handler;a.data=i.data;a.handleObj=i;i=i.handler.apply(this,arguments);if(i!==w){a.result=i;if(i===false){a.preventDefault();a.stopPropagation()}}if(a.isImmediatePropagationStopped())break}}}return a.result},props:"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), >+fix:function(a){if(a[G])return a;var b=a;a=c.Event(b);for(var d=this.props.length,f;d;){f=this.props[--d];a[f]=b[f]}if(!a.target)a.target=a.srcElement||s;if(a.target.nodeType===3)a.target=a.target.parentNode;if(!a.relatedTarget&&a.fromElement)a.relatedTarget=a.fromElement===a.target?a.toElement:a.fromElement;if(a.pageX==null&&a.clientX!=null){b=s.documentElement;d=s.body;a.pageX=a.clientX+(b&&b.scrollLeft||d&&d.scrollLeft||0)-(b&&b.clientLeft||d&&d.clientLeft||0);a.pageY=a.clientY+(b&&b.scrollTop|| >+d&&d.scrollTop||0)-(b&&b.clientTop||d&&d.clientTop||0)}if(!a.which&&(a.charCode||a.charCode===0?a.charCode:a.keyCode))a.which=a.charCode||a.keyCode;if(!a.metaKey&&a.ctrlKey)a.metaKey=a.ctrlKey;if(!a.which&&a.button!==w)a.which=a.button&1?1:a.button&2?3:a.button&4?2:0;return a},guid:1E8,proxy:c.proxy,special:{ready:{setup:c.bindReady,teardown:c.noop},live:{add:function(a){c.event.add(this,a.origType,c.extend({},a,{handler:oa}))},remove:function(a){var b=true,d=a.origType.replace(O,"");c.each(c.data(this, >+"events").live||[],function(){if(d===this.origType.replace(O,""))return b=false});b&&c.event.remove(this,a.origType,oa)}},beforeunload:{setup:function(a,b,d){if(this.setInterval)this.onbeforeunload=d;return false},teardown:function(a,b){if(this.onbeforeunload===b)this.onbeforeunload=null}}}};var Ca=s.removeEventListener?function(a,b,d){a.removeEventListener(b,d,false)}:function(a,b,d){a.detachEvent("on"+b,d)};c.Event=function(a){if(!this.preventDefault)return new c.Event(a);if(a&&a.type){this.originalEvent= >+a;this.type=a.type}else this.type=a;this.timeStamp=J();this[G]=true};c.Event.prototype={preventDefault:function(){this.isDefaultPrevented=Z;var a=this.originalEvent;if(a){a.preventDefault&&a.preventDefault();a.returnValue=false}},stopPropagation:function(){this.isPropagationStopped=Z;var a=this.originalEvent;if(a){a.stopPropagation&&a.stopPropagation();a.cancelBubble=true}},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Z;this.stopPropagation()},isDefaultPrevented:Y,isPropagationStopped:Y, >+isImmediatePropagationStopped:Y};var Da=function(a){var b=a.relatedTarget;try{for(;b&&b!==this;)b=b.parentNode;if(b!==this){a.type=a.data;c.event.handle.apply(this,arguments)}}catch(d){}},Ea=function(a){a.type=a.data;c.event.handle.apply(this,arguments)};c.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){c.event.special[a]={setup:function(d){c.event.add(this,b,d&&d.selector?Ea:Da,a)},teardown:function(d){c.event.remove(this,b,d&&d.selector?Ea:Da)}}});if(!c.support.submitBubbles)c.event.special.submit= >+{setup:function(){if(this.nodeName.toLowerCase()!=="form"){c.event.add(this,"click.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="submit"||d==="image")&&c(b).closest("form").length)return na("submit",this,arguments)});c.event.add(this,"keypress.specialSubmit",function(a){var b=a.target,d=b.type;if((d==="text"||d==="password")&&c(b).closest("form").length&&a.keyCode===13)return na("submit",this,arguments)})}else return false},teardown:function(){c.event.remove(this,".specialSubmit")}}; >+if(!c.support.changeBubbles){var da=/textarea|input|select/i,ea,Fa=function(a){var b=a.type,d=a.value;if(b==="radio"||b==="checkbox")d=a.checked;else if(b==="select-multiple")d=a.selectedIndex>-1?c.map(a.options,function(f){return f.selected}).join("-"):"";else if(a.nodeName.toLowerCase()==="select")d=a.selectedIndex;return d},fa=function(a,b){var d=a.target,f,e;if(!(!da.test(d.nodeName)||d.readOnly)){f=c.data(d,"_change_data");e=Fa(d);if(a.type!=="focusout"||d.type!=="radio")c.data(d,"_change_data", >+e);if(!(f===w||e===f))if(f!=null||e){a.type="change";return c.event.trigger(a,b,d)}}};c.event.special.change={filters:{focusout:fa,click:function(a){var b=a.target,d=b.type;if(d==="radio"||d==="checkbox"||b.nodeName.toLowerCase()==="select")return fa.call(this,a)},keydown:function(a){var b=a.target,d=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(d==="checkbox"||d==="radio")||d==="select-multiple")return fa.call(this,a)},beforeactivate:function(a){a=a.target;c.data(a, >+"_change_data",Fa(a))}},setup:function(){if(this.type==="file")return false;for(var a in ea)c.event.add(this,a+".specialChange",ea[a]);return da.test(this.nodeName)},teardown:function(){c.event.remove(this,".specialChange");return da.test(this.nodeName)}};ea=c.event.special.change.filters}s.addEventListener&&c.each({focus:"focusin",blur:"focusout"},function(a,b){function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}c.event.special[b]={setup:function(){this.addEventListener(a, >+d,true)},teardown:function(){this.removeEventListener(a,d,true)}}});c.each(["bind","one"],function(a,b){c.fn[b]=function(d,f,e){if(typeof d==="object"){for(var j in d)this[b](j,f,d[j],e);return this}if(c.isFunction(f)){e=f;f=w}var i=b==="one"?c.proxy(e,function(k){c(this).unbind(k,i);return e.apply(this,arguments)}):e;if(d==="unload"&&b!=="one")this.one(d,f,e);else{j=0;for(var o=this.length;j<o;j++)c.event.add(this[j],d,i,f)}return this}});c.fn.extend({unbind:function(a,b){if(typeof a==="object"&& >+!a.preventDefault)for(var d in a)this.unbind(d,a[d]);else{d=0;for(var f=this.length;d<f;d++)c.event.remove(this[d],a,b)}return this},delegate:function(a,b,d,f){return this.live(b,d,f,a)},undelegate:function(a,b,d){return arguments.length===0?this.unbind("live"):this.die(b,null,d,a)},trigger:function(a,b){return this.each(function(){c.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0]){a=c.Event(a);a.preventDefault();a.stopPropagation();c.event.trigger(a,b,this[0]);return a.result}}, >+toggle:function(a){for(var b=arguments,d=1;d<b.length;)c.proxy(a,b[d++]);return this.click(c.proxy(a,function(f){var e=(c.data(this,"lastToggle"+a.guid)||0)%d;c.data(this,"lastToggle"+a.guid,e+1);f.preventDefault();return b[e].apply(this,arguments)||false}))},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});var Ga={focus:"focusin",blur:"focusout",mouseenter:"mouseover",mouseleave:"mouseout"};c.each(["live","die"],function(a,b){c.fn[b]=function(d,f,e,j){var i,o=0,k,n,r=j||this.selector, >+u=j?this:c(this.context);if(c.isFunction(f)){e=f;f=w}for(d=(d||"").split(" ");(i=d[o++])!=null;){j=O.exec(i);k="";if(j){k=j[0];i=i.replace(O,"")}if(i==="hover")d.push("mouseenter"+k,"mouseleave"+k);else{n=i;if(i==="focus"||i==="blur"){d.push(Ga[i]+k);i+=k}else i=(Ga[i]||i)+k;b==="live"?u.each(function(){c.event.add(this,pa(i,r),{data:f,selector:r,handler:e,origType:i,origHandler:e,preType:n})}):u.unbind(pa(i,r),e)}}return this}});c.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "), >+function(a,b){c.fn[b]=function(d){return d?this.bind(b,d):this.trigger(b)};if(c.attrFn)c.attrFn[b]=true});A.attachEvent&&!A.addEventListener&&A.attachEvent("onunload",function(){for(var a in c.cache)if(c.cache[a].handle)try{c.event.remove(c.cache[a].handle.elem)}catch(b){}});(function(){function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.nodeType===4)h+=l.nodeValue;else if(l.nodeType!==8)h+=a(l.childNodes)}return h}function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q]; >+if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1&&!p){t.sizcache=l;t.sizset=q}if(t.nodeName.toLowerCase()===h){y=t;break}t=t[g]}m[q]=y}}}function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t){t=t[g];for(var y=false;t;){if(t.sizcache===l){y=m[t.sizset];break}if(t.nodeType===1){if(!p){t.sizcache=l;t.sizset=q}if(typeof h!=="string"){if(t===h){y=true;break}}else if(k.filter(h,[t]).length>0){y=t;break}}t=t[g]}m[q]=y}}}var f=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, >+e=0,j=Object.prototype.toString,i=false,o=true;[0,0].sort(function(){o=false;return 0});var k=function(g,h,l,m){l=l||[];var q=h=h||s;if(h.nodeType!==1&&h.nodeType!==9)return[];if(!g||typeof g!=="string")return l;for(var p=[],v,t,y,S,H=true,M=x(h),I=g;(f.exec(""),v=f.exec(I))!==null;){I=v[3];p.push(v[1]);if(v[2]){S=v[3];break}}if(p.length>1&&r.exec(g))if(p.length===2&&n.relative[p[0]])t=ga(p[0]+p[1],h);else for(t=n.relative[p[0]]?[h]:k(p.shift(),h);p.length;){g=p.shift();if(n.relative[g])g+=p.shift(); >+t=ga(g,t)}else{if(!m&&p.length>1&&h.nodeType===9&&!M&&n.match.ID.test(p[0])&&!n.match.ID.test(p[p.length-1])){v=k.find(p.shift(),h,M);h=v.expr?k.filter(v.expr,v.set)[0]:v.set[0]}if(h){v=m?{expr:p.pop(),set:z(m)}:k.find(p.pop(),p.length===1&&(p[0]==="~"||p[0]==="+")&&h.parentNode?h.parentNode:h,M);t=v.expr?k.filter(v.expr,v.set):v.set;if(p.length>0)y=z(t);else H=false;for(;p.length;){var D=p.pop();v=D;if(n.relative[D])v=p.pop();else D="";if(v==null)v=h;n.relative[D](y,v,M)}}else y=[]}y||(y=t);y||k.error(D|| >+g);if(j.call(y)==="[object Array]")if(H)if(h&&h.nodeType===1)for(g=0;y[g]!=null;g++){if(y[g]&&(y[g]===true||y[g].nodeType===1&&E(h,y[g])))l.push(t[g])}else for(g=0;y[g]!=null;g++)y[g]&&y[g].nodeType===1&&l.push(t[g]);else l.push.apply(l,y);else z(y,l);if(S){k(S,q,l,m);k.uniqueSort(l)}return l};k.uniqueSort=function(g){if(B){i=o;g.sort(B);if(i)for(var h=1;h<g.length;h++)g[h]===g[h-1]&&g.splice(h--,1)}return g};k.matches=function(g,h){return k(g,null,null,h)};k.find=function(g,h,l){var m,q;if(!g)return[]; >+for(var p=0,v=n.order.length;p<v;p++){var t=n.order[p];if(q=n.leftMatch[t].exec(g)){var y=q[1];q.splice(1,1);if(y.substr(y.length-1)!=="\\"){q[1]=(q[1]||"").replace(/\\/g,"");m=n.find[t](q,h,l);if(m!=null){g=g.replace(n.match[t],"");break}}}}m||(m=h.getElementsByTagName("*"));return{set:m,expr:g}};k.filter=function(g,h,l,m){for(var q=g,p=[],v=h,t,y,S=h&&h[0]&&x(h[0]);g&&h.length;){for(var H in n.filter)if((t=n.leftMatch[H].exec(g))!=null&&t[2]){var M=n.filter[H],I,D;D=t[1];y=false;t.splice(1,1);if(D.substr(D.length- >+1)!=="\\"){if(v===p)p=[];if(n.preFilter[H])if(t=n.preFilter[H](t,v,l,p,m,S)){if(t===true)continue}else y=I=true;if(t)for(var U=0;(D=v[U])!=null;U++)if(D){I=M(D,t,U,v);var Ha=m^!!I;if(l&&I!=null)if(Ha)y=true;else v[U]=false;else if(Ha){p.push(D);y=true}}if(I!==w){l||(v=p);g=g.replace(n.match[H],"");if(!y)return[];break}}}if(g===q)if(y==null)k.error(g);else break;q=g}return v};k.error=function(g){throw"Syntax error, unrecognized expression: "+g;};var n=k.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF-]|\\.)+)/, >+CLASS:/\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(g){return g.getAttribute("href")}}, >+relative:{"+":function(g,h){var l=typeof h==="string",m=l&&!/\W/.test(h);l=l&&!m;if(m)h=h.toLowerCase();m=0;for(var q=g.length,p;m<q;m++)if(p=g[m]){for(;(p=p.previousSibling)&&p.nodeType!==1;);g[m]=l||p&&p.nodeName.toLowerCase()===h?p||false:p===h}l&&k.filter(h,g,true)},">":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m<q;m++){var p=g[m];if(p){l=p.parentNode;g[m]=l.nodeName.toLowerCase()===h?l:false}}}else{m=0;for(q=g.length;m<q;m++)if(p=g[m])g[m]= >+l?p.parentNode:p.parentNode===h;l&&k.filter(h,g,true)}},"":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("parentNode",h,m,g,p,l)},"~":function(g,h,l){var m=e++,q=d;if(typeof h==="string"&&!/\W/.test(h)){var p=h=h.toLowerCase();q=b}q("previousSibling",h,m,g,p,l)}},find:{ID:function(g,h,l){if(typeof h.getElementById!=="undefined"&&!l)return(g=h.getElementById(g[1]))?[g]:[]},NAME:function(g,h){if(typeof h.getElementsByName!=="undefined"){var l=[]; >+h=h.getElementsByName(g[1]);for(var m=0,q=h.length;m<q;m++)h[m].getAttribute("name")===g[1]&&l.push(h[m]);return l.length===0?null:l}},TAG:function(g,h){return h.getElementsByTagName(g[1])}},preFilter:{CLASS:function(g,h,l,m,q,p){g=" "+g[1].replace(/\\/g,"")+" ";if(p)return g;p=0;for(var v;(v=h[p])!=null;p++)if(v)if(q^(v.className&&(" "+v.className+" ").replace(/[\t\n]/g," ").indexOf(g)>=0))l||m.push(v);else if(l)h[p]=false;return false},ID:function(g){return g[1].replace(/\\/g,"")},TAG:function(g){return g[1].toLowerCase()}, >+CHILD:function(g){if(g[1]==="nth"){var h=/(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2]==="even"&&"2n"||g[2]==="odd"&&"2n+1"||!/\D/.test(g[2])&&"0n+"+g[2]||g[2]);g[2]=h[1]+(h[2]||1)-0;g[3]=h[3]-0}g[0]=e++;return g},ATTR:function(g,h,l,m,q,p){h=g[1].replace(/\\/g,"");if(!p&&n.attrMap[h])g[1]=n.attrMap[h];if(g[2]==="~=")g[4]=" "+g[4]+" ";return g},PSEUDO:function(g,h,l,m,q){if(g[1]==="not")if((f.exec(g[3])||"").length>1||/^\w/.test(g[3]))g[3]=k(g[3],null,null,h);else{g=k.filter(g[3],h,l,true^q);l||m.push.apply(m, >+g);return false}else if(n.match.POS.test(g[0])||n.match.CHILD.test(g[0]))return true;return g},POS:function(g){g.unshift(true);return g}},filters:{enabled:function(g){return g.disabled===false&&g.type!=="hidden"},disabled:function(g){return g.disabled===true},checked:function(g){return g.checked===true},selected:function(g){return g.selected===true},parent:function(g){return!!g.firstChild},empty:function(g){return!g.firstChild},has:function(g,h,l){return!!k(l[3],g).length},header:function(g){return/h\d/i.test(g.nodeName)}, >+text:function(g){return"text"===g.type},radio:function(g){return"radio"===g.type},checkbox:function(g){return"checkbox"===g.type},file:function(g){return"file"===g.type},password:function(g){return"password"===g.type},submit:function(g){return"submit"===g.type},image:function(g){return"image"===g.type},reset:function(g){return"reset"===g.type},button:function(g){return"button"===g.type||g.nodeName.toLowerCase()==="button"},input:function(g){return/input|select|textarea|button/i.test(g.nodeName)}}, >+setFilters:{first:function(g,h){return h===0},last:function(g,h,l,m){return h===m.length-1},even:function(g,h){return h%2===0},odd:function(g,h){return h%2===1},lt:function(g,h,l){return h<l[3]-0},gt:function(g,h,l){return h>l[3]-0},nth:function(g,h,l){return l[3]-0===h},eq:function(g,h,l){return l[3]-0===h}},filter:{PSEUDO:function(g,h,l,m){var q=h[1],p=n.filters[q];if(p)return p(g,l,h,m);else if(q==="contains")return(g.textContent||g.innerText||a([g])||"").indexOf(h[3])>=0;else if(q==="not"){h= >+h[3];l=0;for(m=h.length;l<m;l++)if(h[l]===g)return false;return true}else k.error("Syntax error, unrecognized expression: "+q)},CHILD:function(g,h){var l=h[1],m=g;switch(l){case "only":case "first":for(;m=m.previousSibling;)if(m.nodeType===1)return false;if(l==="first")return true;m=g;case "last":for(;m=m.nextSibling;)if(m.nodeType===1)return false;return true;case "nth":l=h[2];var q=h[3];if(l===1&&q===0)return true;h=h[0];var p=g.parentNode;if(p&&(p.sizcache!==h||!g.nodeIndex)){var v=0;for(m=p.firstChild;m;m= >+m.nextSibling)if(m.nodeType===1)m.nodeIndex=++v;p.sizcache=h}g=g.nodeIndex-q;return l===0?g===0:g%l===0&&g/l>=0}},ID:function(g,h){return g.nodeType===1&&g.getAttribute("id")===h},TAG:function(g,h){return h==="*"&&g.nodeType===1||g.nodeName.toLowerCase()===h},CLASS:function(g,h){return(" "+(g.className||g.getAttribute("class"))+" ").indexOf(h)>-1},ATTR:function(g,h){var l=h[1];g=n.attrHandle[l]?n.attrHandle[l](g):g[l]!=null?g[l]:g.getAttribute(l);l=g+"";var m=h[2];h=h[4];return g==null?m==="!=":m=== >+"="?l===h:m==="*="?l.indexOf(h)>=0:m==="~="?(" "+l+" ").indexOf(h)>=0:!h?l&&g!==false:m==="!="?l!==h:m==="^="?l.indexOf(h)===0:m==="$="?l.substr(l.length-h.length)===h:m==="|="?l===h||l.substr(0,h.length+1)===h+"-":false},POS:function(g,h,l,m){var q=n.setFilters[h[2]];if(q)return q(g,l,h,m)}}},r=n.match.POS;for(var u in n.match){n.match[u]=new RegExp(n.match[u].source+/(?![^\[]*\])(?![^\(]*\))/.source);n.leftMatch[u]=new RegExp(/(^(?:.|\r|\n)*?)/.source+n.match[u].source.replace(/\\(\d+)/g,function(g, >+h){return"\\"+(h-0+1)}))}var z=function(g,h){g=Array.prototype.slice.call(g,0);if(h){h.push.apply(h,g);return h}return g};try{Array.prototype.slice.call(s.documentElement.childNodes,0)}catch(C){z=function(g,h){h=h||[];if(j.call(g)==="[object Array]")Array.prototype.push.apply(h,g);else if(typeof g.length==="number")for(var l=0,m=g.length;l<m;l++)h.push(g[l]);else for(l=0;g[l];l++)h.push(g[l]);return h}}var B;if(s.documentElement.compareDocumentPosition)B=function(g,h){if(!g.compareDocumentPosition|| >+!h.compareDocumentPosition){if(g==h)i=true;return g.compareDocumentPosition?-1:1}g=g.compareDocumentPosition(h)&4?-1:g===h?0:1;if(g===0)i=true;return g};else if("sourceIndex"in s.documentElement)B=function(g,h){if(!g.sourceIndex||!h.sourceIndex){if(g==h)i=true;return g.sourceIndex?-1:1}g=g.sourceIndex-h.sourceIndex;if(g===0)i=true;return g};else if(s.createRange)B=function(g,h){if(!g.ownerDocument||!h.ownerDocument){if(g==h)i=true;return g.ownerDocument?-1:1}var l=g.ownerDocument.createRange(),m= >+h.ownerDocument.createRange();l.setStart(g,0);l.setEnd(g,0);m.setStart(h,0);m.setEnd(h,0);g=l.compareBoundaryPoints(Range.START_TO_END,m);if(g===0)i=true;return g};(function(){var g=s.createElement("div"),h="script"+(new Date).getTime();g.innerHTML="<a name='"+h+"'/>";var l=s.documentElement;l.insertBefore(g,l.firstChild);if(s.getElementById(h)){n.find.ID=function(m,q,p){if(typeof q.getElementById!=="undefined"&&!p)return(q=q.getElementById(m[1]))?q.id===m[1]||typeof q.getAttributeNode!=="undefined"&& >+q.getAttributeNode("id").nodeValue===m[1]?[q]:w:[]};n.filter.ID=function(m,q){var p=typeof m.getAttributeNode!=="undefined"&&m.getAttributeNode("id");return m.nodeType===1&&p&&p.nodeValue===q}}l.removeChild(g);l=g=null})();(function(){var g=s.createElement("div");g.appendChild(s.createComment(""));if(g.getElementsByTagName("*").length>0)n.find.TAG=function(h,l){l=l.getElementsByTagName(h[1]);if(h[1]==="*"){h=[];for(var m=0;l[m];m++)l[m].nodeType===1&&h.push(l[m]);l=h}return l};g.innerHTML="<a href='#'></a>"; >+if(g.firstChild&&typeof g.firstChild.getAttribute!=="undefined"&&g.firstChild.getAttribute("href")!=="#")n.attrHandle.href=function(h){return h.getAttribute("href",2)};g=null})();s.querySelectorAll&&function(){var g=k,h=s.createElement("div");h.innerHTML="<p class='TEST'></p>";if(!(h.querySelectorAll&&h.querySelectorAll(".TEST").length===0)){k=function(m,q,p,v){q=q||s;if(!v&&q.nodeType===9&&!x(q))try{return z(q.querySelectorAll(m),p)}catch(t){}return g(m,q,p,v)};for(var l in g)k[l]=g[l];h=null}}(); >+(function(){var g=s.createElement("div");g.innerHTML="<div class='test e'></div><div class='test'></div>";if(!(!g.getElementsByClassName||g.getElementsByClassName("e").length===0)){g.lastChild.className="e";if(g.getElementsByClassName("e").length!==1){n.order.splice(1,0,"CLASS");n.find.CLASS=function(h,l,m){if(typeof l.getElementsByClassName!=="undefined"&&!m)return l.getElementsByClassName(h[1])};g=null}}})();var E=s.compareDocumentPosition?function(g,h){return!!(g.compareDocumentPosition(h)&16)}: >+function(g,h){return g!==h&&(g.contains?g.contains(h):true)},x=function(g){return(g=(g?g.ownerDocument||g:0).documentElement)?g.nodeName!=="HTML":false},ga=function(g,h){var l=[],m="",q;for(h=h.nodeType?[h]:h;q=n.match.PSEUDO.exec(g);){m+=q[0];g=g.replace(n.match.PSEUDO,"")}g=n.relative[g]?g+"*":g;q=0;for(var p=h.length;q<p;q++)k(g,h[q],l);return k.filter(m,l)};c.find=k;c.expr=k.selectors;c.expr[":"]=c.expr.filters;c.unique=k.uniqueSort;c.text=a;c.isXMLDoc=x;c.contains=E})();var eb=/Until$/,fb=/^(?:parents|prevUntil|prevAll)/, >+gb=/,/;R=Array.prototype.slice;var Ia=function(a,b,d){if(c.isFunction(b))return c.grep(a,function(e,j){return!!b.call(e,j,e)===d});else if(b.nodeType)return c.grep(a,function(e){return e===b===d});else if(typeof b==="string"){var f=c.grep(a,function(e){return e.nodeType===1});if(Ua.test(b))return c.filter(b,f,!d);else b=c.filter(b,f)}return c.grep(a,function(e){return c.inArray(e,b)>=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f<e;f++){d=b.length; >+c.find(a,this[f],b);if(f>0)for(var j=d;j<b.length;j++)for(var i=0;i<d;i++)if(b[i]===b[j]){b.splice(j--,1);break}}return b},has:function(a){var b=c(a);return this.filter(function(){for(var d=0,f=b.length;d<f;d++)if(c.contains(this,b[d]))return true})},not:function(a){return this.pushStack(Ia(this,a,false),"not",a)},filter:function(a){return this.pushStack(Ia(this,a,true),"filter",a)},is:function(a){return!!a&&c.filter(a,this).length>0},closest:function(a,b){if(c.isArray(a)){var d=[],f=this[0],e,j= >+{},i;if(f&&a.length){e=0;for(var o=a.length;e<o;e++){i=a[e];j[i]||(j[i]=c.expr.match.POS.test(i)?c(i,b||this.context):i)}for(;f&&f.ownerDocument&&f!==b;){for(i in j){e=j[i];if(e.jquery?e.index(f)>-1:c(f).is(e)){d.push({selector:i,elem:f});delete j[i]}}f=f.parentNode}}return d}var k=c.expr.match.POS.test(a)?c(a,b||this.context):null;return this.map(function(n,r){for(;r&&r.ownerDocument&&r!==b;){if(k?k.index(r)>-1:c(r).is(a))return r;r=r.parentNode}return null})},index:function(a){if(!a||typeof a=== >+"string")return c.inArray(this[0],a?c(a):this.parent().children());return c.inArray(a.jquery?a[0]:a,this)},add:function(a,b){a=typeof a==="string"?c(a,b||this.context):c.makeArray(a);b=c.merge(this.get(),a);return this.pushStack(qa(a[0])||qa(b[0])?b:c.unique(b))},andSelf:function(){return this.add(this.prevObject)}});c.each({parent:function(a){return(a=a.parentNode)&&a.nodeType!==11?a:null},parents:function(a){return c.dir(a,"parentNode")},parentsUntil:function(a,b,d){return c.dir(a,"parentNode", >+d)},next:function(a){return c.nth(a,2,"nextSibling")},prev:function(a){return c.nth(a,2,"previousSibling")},nextAll:function(a){return c.dir(a,"nextSibling")},prevAll:function(a){return c.dir(a,"previousSibling")},nextUntil:function(a,b,d){return c.dir(a,"nextSibling",d)},prevUntil:function(a,b,d){return c.dir(a,"previousSibling",d)},siblings:function(a){return c.sibling(a.parentNode.firstChild,a)},children:function(a){return c.sibling(a.firstChild)},contents:function(a){return c.nodeName(a,"iframe")? >+a.contentDocument||a.contentWindow.document:c.makeArray(a.childNodes)}},function(a,b){c.fn[a]=function(d,f){var e=c.map(this,b,d);eb.test(a)||(f=d);if(f&&typeof f==="string")e=c.filter(f,e);e=this.length>1?c.unique(e):e;if((this.length>1||gb.test(f))&&fb.test(a))e=e.reverse();return this.pushStack(e,a,R.call(arguments).join(","))}});c.extend({filter:function(a,b,d){if(d)a=":not("+a+")";return c.find.matches(a,b)},dir:function(a,b,d){var f=[];for(a=a[b];a&&a.nodeType!==9&&(d===w||a.nodeType!==1||!c(a).is(d));){a.nodeType=== >+1&&f.push(a);a=a[b]}return f},nth:function(a,b,d){b=b||1;for(var f=0;a;a=a[d])if(a.nodeType===1&&++f===b)break;return a},sibling:function(a,b){for(var d=[];a;a=a.nextSibling)a.nodeType===1&&a!==b&&d.push(a);return d}});var Ja=/ jQuery\d+="(?:\d+|null)"/g,V=/^\s+/,Ka=/(<([\w:]+)[^>]*?)\/>/g,hb=/^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i,La=/<([\w:]+)/,ib=/<tbody/i,jb=/<|&#?\w+;/,ta=/<script|<object|<embed|<option|<style/i,ua=/checked\s*(?:[^=]|=\s*.checked.)/i,Ma=function(a,b,d){return hb.test(d)? >+a:b+"></"+d+">"},F={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]};F.optgroup=F.option;F.tbody=F.tfoot=F.colgroup=F.caption=F.thead;F.th=F.td;if(!c.support.htmlSerialize)F._default=[1,"div<div>","</div>"];c.fn.extend({text:function(a){if(c.isFunction(a))return this.each(function(b){var d= >+c(this);d.text(a.call(this,b,d.text()))});if(typeof a!=="object"&&a!==w)return this.empty().append((this[0]&&this[0].ownerDocument||s).createTextNode(a));return c.text(this)},wrapAll:function(a){if(c.isFunction(a))return this.each(function(d){c(this).wrapAll(a.call(this,d))});if(this[0]){var b=c(a,this[0].ownerDocument).eq(0).clone(true);this[0].parentNode&&b.insertBefore(this[0]);b.map(function(){for(var d=this;d.firstChild&&d.firstChild.nodeType===1;)d=d.firstChild;return d}).append(this)}return this}, >+wrapInner:function(a){if(c.isFunction(a))return this.each(function(b){c(this).wrapInner(a.call(this,b))});return this.each(function(){var b=c(this),d=b.contents();d.length?d.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){c(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){c.nodeName(this,"body")||c(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.appendChild(a)})}, >+prepend:function(){return this.domManip(arguments,true,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b,this)});else if(arguments.length){var a=c(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,false,function(b){this.parentNode.insertBefore(b, >+this.nextSibling)});else if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,c(arguments[0]).toArray());return a}},remove:function(a,b){for(var d=0,f;(f=this[d])!=null;d++)if(!a||c.filter(a,[f]).length){if(!b&&f.nodeType===1){c.cleanData(f.getElementsByTagName("*"));c.cleanData([f])}f.parentNode&&f.parentNode.removeChild(f)}return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++)for(b.nodeType===1&&c.cleanData(b.getElementsByTagName("*"));b.firstChild;)b.removeChild(b.firstChild); >+return this},clone:function(a){var b=this.map(function(){if(!c.support.noCloneEvent&&!c.isXMLDoc(this)){var d=this.outerHTML,f=this.ownerDocument;if(!d){d=f.createElement("div");d.appendChild(this.cloneNode(true));d=d.innerHTML}return c.clean([d.replace(Ja,"").replace(/=([^="'>\s]+\/)>/g,'="$1">').replace(V,"")],f)[0]}else return this.cloneNode(true)});if(a===true){ra(this,b);ra(this.find("*"),b.find("*"))}return b},html:function(a){if(a===w)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Ja, >+""):null;else if(typeof a==="string"&&!ta.test(a)&&(c.support.leadingWhitespace||!V.test(a))&&!F[(La.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Ka,Ma);try{for(var b=0,d=this.length;b<d;b++)if(this[b].nodeType===1){c.cleanData(this[b].getElementsByTagName("*"));this[b].innerHTML=a}}catch(f){this.empty().append(a)}}else c.isFunction(a)?this.each(function(e){var j=c(this),i=j.html();j.empty().append(function(){return a.call(this,e,i)})}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&& >+this[0].parentNode){if(c.isFunction(a))return this.each(function(b){var d=c(this),f=d.html();d.replaceWith(a.call(this,b,f))});if(typeof a!=="string")a=c(a).detach();return this.each(function(){var b=this.nextSibling,d=this.parentNode;c(this).remove();b?c(b).before(a):c(d).append(a)})}else return this.pushStack(c(c.isFunction(a)?a():a),"replaceWith",a)},detach:function(a){return this.remove(a,true)},domManip:function(a,b,d){function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody")[0]|| >+u.appendChild(u.ownerDocument.createElement("tbody")):u}var e,j,i=a[0],o=[],k;if(!c.support.checkClone&&arguments.length===3&&typeof i==="string"&&ua.test(i))return this.each(function(){c(this).domManip(a,b,d,true)});if(c.isFunction(i))return this.each(function(u){var z=c(this);a[0]=i.call(this,u,b?z.html():w);z.domManip(a,b,d)});if(this[0]){e=i&&i.parentNode;e=c.support.parentNode&&e&&e.nodeType===11&&e.childNodes.length===this.length?{fragment:e}:sa(a,this,o);k=e.fragment;if(j=k.childNodes.length=== >+1?(k=k.firstChild):k.firstChild){b=b&&c.nodeName(j,"tr");for(var n=0,r=this.length;n<r;n++)d.call(b?f(this[n],j):this[n],n>0||e.cacheable||this.length>1?k.cloneNode(true):k)}o.length&&c.each(o,Qa)}return this}});c.fragments={};c.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){c.fn[a]=function(d){var f=[];d=c(d);var e=this.length===1&&this[0].parentNode;if(e&&e.nodeType===11&&e.childNodes.length===1&&d.length===1){d[b](this[0]); >+return this}else{e=0;for(var j=d.length;e<j;e++){var i=(e>0?this.clone(true):this).get();c.fn[b].apply(c(d[e]),i);f=f.concat(i)}return this.pushStack(f,a,d.selector)}}});c.extend({clean:function(a,b,d,f){b=b||s;if(typeof b.createElement==="undefined")b=b.ownerDocument||b[0]&&b[0].ownerDocument||s;for(var e=[],j=0,i;(i=a[j])!=null;j++){if(typeof i==="number")i+="";if(i){if(typeof i==="string"&&!jb.test(i))i=b.createTextNode(i);else if(typeof i==="string"){i=i.replace(Ka,Ma);var o=(La.exec(i)||["", >+""])[1].toLowerCase(),k=F[o]||F._default,n=k[0],r=b.createElement("div");for(r.innerHTML=k[1]+i+k[2];n--;)r=r.lastChild;if(!c.support.tbody){n=ib.test(i);o=o==="table"&&!n?r.firstChild&&r.firstChild.childNodes:k[1]==="<table>"&&!n?r.childNodes:[];for(k=o.length-1;k>=0;--k)c.nodeName(o[k],"tbody")&&!o[k].childNodes.length&&o[k].parentNode.removeChild(o[k])}!c.support.leadingWhitespace&&V.test(i)&&r.insertBefore(b.createTextNode(V.exec(i)[0]),r.firstChild);i=r.childNodes}if(i.nodeType)e.push(i);else e= >+c.merge(e,i)}}if(d)for(j=0;e[j];j++)if(f&&c.nodeName(e[j],"script")&&(!e[j].type||e[j].type.toLowerCase()==="text/javascript"))f.push(e[j].parentNode?e[j].parentNode.removeChild(e[j]):e[j]);else{e[j].nodeType===1&&e.splice.apply(e,[j+1,0].concat(c.makeArray(e[j].getElementsByTagName("script"))));d.appendChild(e[j])}return e},cleanData:function(a){for(var b,d,f=c.cache,e=c.event.special,j=c.support.deleteExpando,i=0,o;(o=a[i])!=null;i++)if(d=o[c.expando]){b=f[d];if(b.events)for(var k in b.events)e[k]? >+c.event.remove(o,k):Ca(o,k,b.handle);if(j)delete o[c.expando];else o.removeAttribute&&o.removeAttribute(c.expando);delete f[d]}}});var kb=/z-?index|font-?weight|opacity|zoom|line-?height/i,Na=/alpha\([^)]*\)/,Oa=/opacity=([^)]*)/,ha=/float/i,ia=/-([a-z])/ig,lb=/([A-Z])/g,mb=/^-?\d+(?:px)?$/i,nb=/^-?\d/,ob={position:"absolute",visibility:"hidden",display:"block"},pb=["Left","Right"],qb=["Top","Bottom"],rb=s.defaultView&&s.defaultView.getComputedStyle,Pa=c.support.cssFloat?"cssFloat":"styleFloat",ja= >+function(a,b){return b.toUpperCase()};c.fn.css=function(a,b){return X(this,a,b,true,function(d,f,e){if(e===w)return c.curCSS(d,f);if(typeof e==="number"&&!kb.test(f))e+="px";c.style(d,f,e)})};c.extend({style:function(a,b,d){if(!a||a.nodeType===3||a.nodeType===8)return w;if((b==="width"||b==="height")&&parseFloat(d)<0)d=w;var f=a.style||a,e=d!==w;if(!c.support.opacity&&b==="opacity"){if(e){f.zoom=1;b=parseInt(d,10)+""==="NaN"?"":"alpha(opacity="+d*100+")";a=f.filter||c.curCSS(a,"filter")||"";f.filter= >+Na.test(a)?a.replace(Na,b):b}return f.filter&&f.filter.indexOf("opacity=")>=0?parseFloat(Oa.exec(f.filter)[1])/100+"":""}if(ha.test(b))b=Pa;b=b.replace(ia,ja);if(e)f[b]=d;return f[b]},css:function(a,b,d,f){if(b==="width"||b==="height"){var e,j=b==="width"?pb:qb;function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c.each(j,function(){f||(e-=parseFloat(c.curCSS(a,"padding"+this,true))||0);if(f==="margin")e+=parseFloat(c.curCSS(a,"margin"+this,true))||0;else e-=parseFloat(c.curCSS(a, >+"border"+this+"Width",true))||0})}a.offsetWidth!==0?i():c.swap(a,ob,i);return Math.max(0,Math.round(e))}return c.curCSS(a,b,d)},curCSS:function(a,b,d){var f,e=a.style;if(!c.support.opacity&&b==="opacity"&&a.currentStyle){f=Oa.test(a.currentStyle.filter||"")?parseFloat(RegExp.$1)/100+"":"";return f===""?"1":f}if(ha.test(b))b=Pa;if(!d&&e&&e[b])f=e[b];else if(rb){if(ha.test(b))b="float";b=b.replace(lb,"-$1").toLowerCase();e=a.ownerDocument.defaultView;if(!e)return null;if(a=e.getComputedStyle(a,null))f= >+a.getPropertyValue(b);if(b==="opacity"&&f==="")f="1"}else if(a.currentStyle){d=b.replace(ia,ja);f=a.currentStyle[b]||a.currentStyle[d];if(!mb.test(f)&&nb.test(f)){b=e.left;var j=a.runtimeStyle.left;a.runtimeStyle.left=a.currentStyle.left;e.left=d==="fontSize"?"1em":f||0;f=e.pixelLeft+"px";e.left=b;a.runtimeStyle.left=j}}return f},swap:function(a,b,d){var f={};for(var e in b){f[e]=a.style[e];a.style[e]=b[e]}d.call(a);for(e in b)a.style[e]=f[e]}});if(c.expr&&c.expr.filters){c.expr.filters.hidden=function(a){var b= >+a.offsetWidth,d=a.offsetHeight,f=a.nodeName.toLowerCase()==="tr";return b===0&&d===0&&!f?true:b>0&&d>0&&!f?false:c.curCSS(a,"display")==="none"};c.expr.filters.visible=function(a){return!c.expr.filters.hidden(a)}}var sb=J(),tb=/<script(.|\s)*?\/script>/gi,ub=/select|textarea/i,vb=/color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i,N=/=\?(&|$)/,ka=/\?/,wb=/(\?|&)_=.*?(&|$)/,xb=/^(\w+:)?\/\/([^\/?#]+)/,yb=/%20/g,zb=c.fn.load;c.fn.extend({load:function(a,b,d){if(typeof a!== >+"string")return zb.call(this,a);else if(!this.length)return this;var f=a.indexOf(" ");if(f>=0){var e=a.slice(f,a.length);a=a.slice(0,f)}f="GET";if(b)if(c.isFunction(b)){d=b;b=null}else if(typeof b==="object"){b=c.param(b,c.ajaxSettings.traditional);f="POST"}var j=this;c.ajax({url:a,type:f,dataType:"html",data:b,complete:function(i,o){if(o==="success"||o==="notmodified")j.html(e?c("<div />").append(i.responseText.replace(tb,"")).find(e):i.responseText);d&&j.each(d,[i.responseText,o,i])}});return this}, >+serialize:function(){return c.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?c.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||ub.test(this.nodeName)||vb.test(this.type))}).map(function(a,b){a=c(this).val();return a==null?null:c.isArray(a)?c.map(a,function(d){return{name:b.name,value:d}}):{name:b.name,value:a}}).get()}});c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), >+function(a,b){c.fn[b]=function(d){return this.bind(b,d)}});c.extend({get:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b=null}return c.ajax({type:"GET",url:a,data:b,success:d,dataType:f})},getScript:function(a,b){return c.get(a,null,b,"script")},getJSON:function(a,b,d){return c.get(a,b,d,"json")},post:function(a,b,d,f){if(c.isFunction(b)){f=f||d;d=b;b={}}return c.ajax({type:"POST",url:a,data:b,success:d,dataType:f})},ajaxSetup:function(a){c.extend(c.ajaxSettings,a)},ajaxSettings:{url:location.href, >+global:true,type:"GET",contentType:"application/x-www-form-urlencoded",processData:true,async:true,xhr:A.XMLHttpRequest&&(A.location.protocol!=="file:"||!A.ActiveXObject)?function(){return new A.XMLHttpRequest}:function(){try{return new A.ActiveXObject("Microsoft.XMLHTTP")}catch(a){}},accepts:{xml:"application/xml, text/xml",html:"text/html",script:"text/javascript, application/javascript",json:"application/json, text/javascript",text:"text/plain",_default:"*/*"}},lastModified:{},etag:{},ajax:function(a){function b(){e.success&& >+e.success.call(k,o,i,x);e.global&&f("ajaxSuccess",[x,e])}function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplete",[x,e]);e.global&&!--c.active&&c.event.trigger("ajaxStop")}function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}var e=c.extend(true,{},c.ajaxSettings,a),j,i,o,k=a&&a.context||e,n=e.type.toUpperCase();if(e.data&&e.processData&&typeof e.data!=="string")e.data=c.param(e.data,e.traditional);if(e.dataType==="jsonp"){if(n==="GET")N.test(e.url)||(e.url+=(ka.test(e.url)? >+"&":"?")+(e.jsonp||"callback")+"=?");else if(!e.data||!N.test(e.data))e.data=(e.data?e.data+"&":"")+(e.jsonp||"callback")+"=?";e.dataType="json"}if(e.dataType==="json"&&(e.data&&N.test(e.data)||N.test(e.url))){j=e.jsonpCallback||"jsonp"+sb++;if(e.data)e.data=(e.data+"").replace(N,"="+j+"$1");e.url=e.url.replace(N,"="+j+"$1");e.dataType="script";A[j]=A[j]||function(q){o=q;b();d();A[j]=w;try{delete A[j]}catch(p){}z&&z.removeChild(C)}}if(e.dataType==="script"&&e.cache===null)e.cache=false;if(e.cache=== >+false&&n==="GET"){var r=J(),u=e.url.replace(wb,"$1_="+r+"$2");e.url=u+(u===e.url?(ka.test(e.url)?"&":"?")+"_="+r:"")}if(e.data&&n==="GET")e.url+=(ka.test(e.url)?"&":"?")+e.data;e.global&&!c.active++&&c.event.trigger("ajaxStart");r=(r=xb.exec(e.url))&&(r[1]&&r[1]!==location.protocol||r[2]!==location.host);if(e.dataType==="script"&&n==="GET"&&r){var z=s.getElementsByTagName("head")[0]||s.documentElement,C=s.createElement("script");C.src=e.url;if(e.scriptCharset)C.charset=e.scriptCharset;if(!j){var B= >+false;C.onload=C.onreadystatechange=function(){if(!B&&(!this.readyState||this.readyState==="loaded"||this.readyState==="complete")){B=true;b();d();C.onload=C.onreadystatechange=null;z&&C.parentNode&&z.removeChild(C)}}}z.insertBefore(C,z.firstChild);return w}var E=false,x=e.xhr();if(x){e.username?x.open(n,e.url,e.async,e.username,e.password):x.open(n,e.url,e.async);try{if(e.data||a&&a.contentType)x.setRequestHeader("Content-Type",e.contentType);if(e.ifModified){c.lastModified[e.url]&&x.setRequestHeader("If-Modified-Since", >+c.lastModified[e.url]);c.etag[e.url]&&x.setRequestHeader("If-None-Match",c.etag[e.url])}r||x.setRequestHeader("X-Requested-With","XMLHttpRequest");x.setRequestHeader("Accept",e.dataType&&e.accepts[e.dataType]?e.accepts[e.dataType]+", */*":e.accepts._default)}catch(ga){}if(e.beforeSend&&e.beforeSend.call(k,x,e)===false){e.global&&!--c.active&&c.event.trigger("ajaxStop");x.abort();return false}e.global&&f("ajaxSend",[x,e]);var g=x.onreadystatechange=function(q){if(!x||x.readyState===0||q==="abort"){E|| >+d();E=true;if(x)x.onreadystatechange=c.noop}else if(!E&&x&&(x.readyState===4||q==="timeout")){E=true;x.onreadystatechange=c.noop;i=q==="timeout"?"timeout":!c.httpSuccess(x)?"error":e.ifModified&&c.httpNotModified(x,e.url)?"notmodified":"success";var p;if(i==="success")try{o=c.httpData(x,e.dataType,e)}catch(v){i="parsererror";p=v}if(i==="success"||i==="notmodified")j||b();else c.handleError(e,x,i,p);d();q==="timeout"&&x.abort();if(e.async)x=null}};try{var h=x.abort;x.abort=function(){x&&h.call(x); >+g("abort")}}catch(l){}e.async&&e.timeout>0&&setTimeout(function(){x&&!E&&g("timeout")},e.timeout);try{x.send(n==="POST"||n==="PUT"||n==="DELETE"?e.data:null)}catch(m){c.handleError(e,x,null,m);d()}e.async||g();return x}},handleError:function(a,b,d,f){if(a.error)a.error.call(a.context||a,b,d,f);if(a.global)(a.context?c(a.context):c.event).trigger("ajaxError",[b,a,f])},active:0,httpSuccess:function(a){try{return!a.status&&location.protocol==="file:"||a.status>=200&&a.status<300||a.status===304||a.status=== >+1223||a.status===0}catch(b){}return false},httpNotModified:function(a,b){var d=a.getResponseHeader("Last-Modified"),f=a.getResponseHeader("Etag");if(d)c.lastModified[b]=d;if(f)c.etag[b]=f;return a.status===304||a.status===0},httpData:function(a,b,d){var f=a.getResponseHeader("content-type")||"",e=b==="xml"||!b&&f.indexOf("xml")>=0;a=e?a.responseXML:a.responseText;e&&a.documentElement.nodeName==="parsererror"&&c.error("parsererror");if(d&&d.dataFilter)a=d.dataFilter(a,b);if(typeof a==="string")if(b=== >+"json"||!b&&f.indexOf("json")>=0)a=c.parseJSON(a);else if(b==="script"||!b&&f.indexOf("javascript")>=0)c.globalEval(a);return a},param:function(a,b){function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i)?f(i,n):d(i+"["+(typeof n==="object"||c.isArray(n)?k:"")+"]",n)});else!b&&o!=null&&typeof o==="object"?c.each(o,function(k,n){d(i+"["+k+"]",n)}):f(i,o)}function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i)+"="+encodeURIComponent(o)}var e=[];if(b===w)b=c.ajaxSettings.traditional; >+if(c.isArray(a)||a.jquery)c.each(a,function(){f(this.name,this.value)});else for(var j in a)d(j,a[j]);return e.join("&").replace(yb,"+")}});var la={},Ab=/toggle|show|hide/,Bb=/^([+-]=)?([\d+-.]+)(.*)$/,W,va=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];c.fn.extend({show:function(a,b){if(a||a===0)return this.animate(K("show",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay"); >+this[a].style.display=d||"";if(c.css(this[a],"display")==="none"){d=this[a].nodeName;var f;if(la[d])f=la[d];else{var e=c("<"+d+" />").appendTo("body");f=e.css("display");if(f==="none")f="block";e.remove();la[d]=f}c.data(this[a],"olddisplay",f)}}a=0;for(b=this.length;a<b;a++)this[a].style.display=c.data(this[a],"olddisplay")||"";return this}},hide:function(a,b){if(a||a===0)return this.animate(K("hide",3),a,b);else{a=0;for(b=this.length;a<b;a++){var d=c.data(this[a],"olddisplay");!d&&d!=="none"&&c.data(this[a], >+"olddisplay",c.css(this[a],"display"))}a=0;for(b=this.length;a<b;a++)this[a].style.display="none";return this}},_toggle:c.fn.toggle,toggle:function(a,b){var d=typeof a==="boolean";if(c.isFunction(a)&&c.isFunction(b))this._toggle.apply(this,arguments);else a==null||d?this.each(function(){var f=d?a:c(this).is(":hidden");c(this)[f?"show":"hide"]()}):this.animate(K("toggle",3),a,b);return this},fadeTo:function(a,b,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,d)}, >+animate:function(a,b,d,f){var e=c.speed(b,d,f);if(c.isEmptyObject(a))return this.each(e.complete);return this[e.queue===false?"each":"queue"](function(){var j=c.extend({},e),i,o=this.nodeType===1&&c(this).is(":hidden"),k=this;for(i in a){var n=i.replace(ia,ja);if(i!==n){a[n]=a[i];delete a[i];i=n}if(a[i]==="hide"&&o||a[i]==="show"&&!o)return j.complete.call(this);if((i==="height"||i==="width")&&this.style){j.display=c.css(this,"display");j.overflow=this.style.overflow}if(c.isArray(a[i])){(j.specialEasing= >+j.specialEasing||{})[i]=a[i][1];a[i]=a[i][0]}}if(j.overflow!=null)this.style.overflow="hidden";j.curAnim=c.extend({},a);c.each(a,function(r,u){var z=new c.fx(k,j,r);if(Ab.test(u))z[u==="toggle"?o?"show":"hide":u](a);else{var C=Bb.exec(u),B=z.cur(true)||0;if(C){u=parseFloat(C[2]);var E=C[3]||"px";if(E!=="px"){k.style[r]=(u||1)+E;B=(u||1)/z.cur(true)*B;k.style[r]=B+E}if(C[1])u=(C[1]==="-="?-1:1)*u+B;z.custom(B,u,E)}else z.custom(B,u,"")}});return true})},stop:function(a,b){var d=c.timers;a&&this.queue([]); >+this.each(function(){for(var f=d.length-1;f>=0;f--)if(d[f].elem===this){b&&d[f](true);d.splice(f,1)}});b||this.dequeue();return this}});c.each({slideDown:K("show",1),slideUp:K("hide",1),slideToggle:K("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"}},function(a,b){c.fn[a]=function(d,f){return this.animate(b,d,f)}});c.extend({speed:function(a,b,d){var f=a&&typeof a==="object"?a:{complete:d||!d&&b||c.isFunction(a)&&a,duration:a,easing:d&&b||b&&!c.isFunction(b)&&b};f.duration=c.fx.off?0:typeof f.duration=== >+"number"?f.duration:c.fx.speeds[f.duration]||c.fx.speeds._default;f.old=f.complete;f.complete=function(){f.queue!==false&&c(this).dequeue();c.isFunction(f.old)&&f.old.call(this)};return f},easing:{linear:function(a,b,d,f){return d+f*a},swing:function(a,b,d,f){return(-Math.cos(a*Math.PI)/2+0.5)*f+d}},timers:[],fx:function(a,b,d){this.options=b;this.elem=a;this.prop=d;if(!b.orig)b.orig={}}});c.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this);(c.fx.step[this.prop]|| >+c.fx.step._default)(this);if((this.prop==="height"||this.prop==="width")&&this.elem.style)this.elem.style.display="block"},cur:function(a){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];return(a=parseFloat(c.css(this.elem,this.prop,a)))&&a>-10000?a:parseFloat(c.curCSS(this.elem,this.prop))||0},custom:function(a,b,d){function f(j){return e.step(j)}this.startTime=J();this.start=a;this.end=b;this.unit=d||this.unit||"px";this.now=this.start; >+this.pos=this.state=0;var e=this;f.elem=this.elem;if(f()&&c.timers.push(f)&&!W)W=setInterval(c.fx.tick,13)},show:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.show=true;this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur());c(this.elem).show()},hide:function(){this.options.orig[this.prop]=c.style(this.elem,this.prop);this.options.hide=true;this.custom(this.cur(),0)},step:function(a){var b=J(),d=true;if(a||b>=this.options.duration+this.startTime){this.now= >+this.end;this.pos=this.state=1;this.update();this.options.curAnim[this.prop]=true;for(var f in this.options.curAnim)if(this.options.curAnim[f]!==true)d=false;if(d){if(this.options.display!=null){this.elem.style.overflow=this.options.overflow;a=c.data(this.elem,"olddisplay");this.elem.style.display=a?a:this.options.display;if(c.css(this.elem,"display")==="none")this.elem.style.display="block"}this.options.hide&&c(this.elem).hide();if(this.options.hide||this.options.show)for(var e in this.options.curAnim)c.style(this.elem, >+e,this.options.orig[e]);this.options.complete.call(this.elem)}return false}else{e=b-this.startTime;this.state=e/this.options.duration;a=this.options.easing||(c.easing.swing?"swing":"linear");this.pos=c.easing[this.options.specialEasing&&this.options.specialEasing[this.prop]||a](this.state,e,0,1,this.options.duration);this.now=this.start+(this.end-this.start)*this.pos;this.update()}return true}};c.extend(c.fx,{tick:function(){for(var a=c.timers,b=0;b<a.length;b++)a[b]()||a.splice(b--,1);a.length|| >+c.fx.stop()},stop:function(){clearInterval(W);W=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){c.style(a.elem,"opacity",a.now)},_default:function(a){if(a.elem.style&&a.elem.style[a.prop]!=null)a.elem.style[a.prop]=(a.prop==="width"||a.prop==="height"?Math.max(0,a.now):a.now)+a.unit;else a.elem[a.prop]=a.now}}});if(c.expr&&c.expr.filters)c.expr.filters.animated=function(a){return c.grep(c.timers,function(b){return a===b.elem}).length};c.fn.offset="getBoundingClientRect"in s.documentElement? >+function(a){var b=this[0];if(a)return this.each(function(e){c.offset.setOffset(this,a,e)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);var d=b.getBoundingClientRect(),f=b.ownerDocument;b=f.body;f=f.documentElement;return{top:d.top+(self.pageYOffset||c.support.boxModel&&f.scrollTop||b.scrollTop)-(f.clientTop||b.clientTop||0),left:d.left+(self.pageXOffset||c.support.boxModel&&f.scrollLeft||b.scrollLeft)-(f.clientLeft||b.clientLeft||0)}}:function(a){var b= >+this[0];if(a)return this.each(function(r){c.offset.setOffset(this,a,r)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return c.offset.bodyOffset(b);c.offset.initialize();var d=b.offsetParent,f=b,e=b.ownerDocument,j,i=e.documentElement,o=e.body;f=(e=e.defaultView)?e.getComputedStyle(b,null):b.currentStyle;for(var k=b.offsetTop,n=b.offsetLeft;(b=b.parentNode)&&b!==o&&b!==i;){if(c.offset.supportsFixedPosition&&f.position==="fixed")break;j=e?e.getComputedStyle(b,null):b.currentStyle; >+k-=b.scrollTop;n-=b.scrollLeft;if(b===d){k+=b.offsetTop;n+=b.offsetLeft;if(c.offset.doesNotAddBorder&&!(c.offset.doesAddBorderForTableAndCells&&/^t(able|d|h)$/i.test(b.nodeName))){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=d;d=b.offsetParent}if(c.offset.subtractsBorderForOverflowNotVisible&&j.overflow!=="visible"){k+=parseFloat(j.borderTopWidth)||0;n+=parseFloat(j.borderLeftWidth)||0}f=j}if(f.position==="relative"||f.position==="static"){k+=o.offsetTop;n+=o.offsetLeft}if(c.offset.supportsFixedPosition&& >+f.position==="fixed"){k+=Math.max(i.scrollTop,o.scrollTop);n+=Math.max(i.scrollLeft,o.scrollLeft)}return{top:k,left:n}};c.offset={initialize:function(){var a=s.body,b=s.createElement("div"),d,f,e,j=parseFloat(c.curCSS(a,"marginTop",true))||0;c.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"});b.innerHTML="<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>"; >+a.insertBefore(b,a.firstChild);d=b.firstChild;f=d.firstChild;e=d.nextSibling.firstChild.firstChild;this.doesNotAddBorder=f.offsetTop!==5;this.doesAddBorderForTableAndCells=e.offsetTop===5;f.style.position="fixed";f.style.top="20px";this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15;f.style.position=f.style.top="";d.style.overflow="hidden";d.style.position="relative";this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5;this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==j;a.removeChild(b); >+c.offset.initialize=c.noop},bodyOffset:function(a){var b=a.offsetTop,d=a.offsetLeft;c.offset.initialize();if(c.offset.doesNotIncludeMarginInBodyOffset){b+=parseFloat(c.curCSS(a,"marginTop",true))||0;d+=parseFloat(c.curCSS(a,"marginLeft",true))||0}return{top:b,left:d}},setOffset:function(a,b,d){if(/static/.test(c.curCSS(a,"position")))a.style.position="relative";var f=c(a),e=f.offset(),j=parseInt(c.curCSS(a,"top",true),10)||0,i=parseInt(c.curCSS(a,"left",true),10)||0;if(c.isFunction(b))b=b.call(a, >+d,e);d={top:b.top-e.top+j,left:b.left-e.left+i};"using"in b?b.using.call(a,d):f.css(d)}};c.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),d=this.offset(),f=/^body|html$/i.test(b[0].nodeName)?{top:0,left:0}:b.offset();d.top-=parseFloat(c.curCSS(a,"marginTop",true))||0;d.left-=parseFloat(c.curCSS(a,"marginLeft",true))||0;f.top+=parseFloat(c.curCSS(b[0],"borderTopWidth",true))||0;f.left+=parseFloat(c.curCSS(b[0],"borderLeftWidth",true))||0;return{top:d.top- >+f.top,left:d.left-f.left}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent||s.body;a&&!/^body|html$/i.test(a.nodeName)&&c.css(a,"position")==="static";)a=a.offsetParent;return a})}});c.each(["Left","Top"],function(a,b){var d="scroll"+b;c.fn[d]=function(f){var e=this[0],j;if(!e)return null;if(f!==w)return this.each(function(){if(j=wa(this))j.scrollTo(!a?f:c(j).scrollLeft(),a?f:c(j).scrollTop());else this[d]=f});else return(j=wa(e))?"pageXOffset"in j?j[a?"pageYOffset": >+"pageXOffset"]:c.support.boxModel&&j.document.documentElement[d]||j.document.body[d]:e[d]}});c.each(["Height","Width"],function(a,b){var d=b.toLowerCase();c.fn["inner"+b]=function(){return this[0]?c.css(this[0],d,false,"padding"):null};c.fn["outer"+b]=function(f){return this[0]?c.css(this[0],d,false,f?"margin":"border"):null};c.fn[d]=function(f){var e=this[0];if(!e)return f==null?null:this;if(c.isFunction(f))return this.each(function(j){var i=c(this);i[d](f.call(this,j,i[d]()))});return"scrollTo"in >+e&&e.document?e.document.compatMode==="CSS1Compat"&&e.document.documentElement["client"+b]||e.document.body["client"+b]:e.nodeType===9?Math.max(e.documentElement["client"+b],e.body["scroll"+b],e.documentElement["scroll"+b],e.body["offset"+b],e.documentElement["offset"+b]):f===w?c.css(e,d):this.css(d,typeof f==="string"?f:f+"px")}});A.jQuery=A.$=c})(window); >+ >+ >+/* ------------------------------------------------------------------------ >+ s3Slider >+ >+ Developped By: Boban Karišik -> http://www.serie3.info/ >+ CSS Help: Mészáros Róbert -> http://www.perspectived.com/ >+ Version: 1.0 >+ >+ Copyright: Feel free to redistribute the script/modify it, as >+ long as you leave my infos at the top. >+------------------------------------------------------------------------- */ >+ >+ >+(function($){ >+ >+ $.fn.s3Slider = function(vars) { >+ >+ var element = this; >+ var timeOut = (vars.timeOut != undefined) ? vars.timeOut : 4000; >+ var current = null; >+ var timeOutFn = null; >+ var faderStat = true; >+ var mOver = false; >+ var items = $("#" + element[0].id + "Content ." + element[0].id + "Image"); >+ var itemsSpan = $("#" + element[0].id + "Content ." + element[0].id + "Image span"); >+ >+ items.each(function(i) { >+ >+ $(items[i]).mouseover(function() { >+ mOver = true; >+ }); >+ >+ $(items[i]).mouseout(function() { >+ mOver = false; >+ fadeElement(true); >+ }); >+ >+ }); >+ >+ var fadeElement = function(isMouseOut) { >+ var thisTimeOut = (isMouseOut) ? (timeOut/2) : timeOut; >+ thisTimeOut = (faderStat) ? 10 : thisTimeOut; >+ if(items.length > 0) { >+ timeOutFn = setTimeout(makeSlider, thisTimeOut); >+ } else { >+ console.log("Poof.."); >+ } >+ } >+ >+ var makeSlider = function() { >+ current = (current != null) ? current : items[(items.length-1)]; >+ var currNo = jQuery.inArray(current, items) + 1 >+ currNo = (currNo == items.length) ? 0 : (currNo - 1); >+ var newMargin = $(element).width() * currNo; >+ if(faderStat == true) { >+ if(!mOver) { >+ $(items[currNo]).fadeIn((timeOut/6), function() { >+ if($(itemsSpan[currNo]).css('bottom') == 0) { >+ $(itemsSpan[currNo]).slideUp((timeOut/6), function() { >+ faderStat = false; >+ current = items[currNo]; >+ if(!mOver) { >+ fadeElement(false); >+ } >+ }); >+ } else { >+ $(itemsSpan[currNo]).slideDown((timeOut/6), function() { >+ faderStat = false; >+ current = items[currNo]; >+ if(!mOver) { >+ fadeElement(false); >+ } >+ }); >+ } >+ }); >+ } >+ } else { >+ if(!mOver) { >+ if($(itemsSpan[currNo]).css('bottom') == 0) { >+ $(itemsSpan[currNo]).slideDown((timeOut/6), function() { >+ $(items[currNo]).fadeOut((timeOut/6), function() { >+ faderStat = true; >+ current = items[(currNo+1)]; >+ if(!mOver) { >+ fadeElement(false); >+ } >+ }); >+ }); >+ } else { >+ $(itemsSpan[currNo]).slideUp((timeOut/6), function() { >+ $(items[currNo]).fadeOut((timeOut/6), function() { >+ faderStat = true; >+ current = items[(currNo+1)]; >+ if(!mOver) { >+ fadeElement(false); >+ } >+ }); >+ }); >+ } >+ } >+ } >+ } >+ >+ makeSlider(); >+ >+ }; >+ >+})(jQuery); >+ >+/* >+ * jQuery Cycle Plugin (with Transition Definitions) >+ * Examples and documentation at: http://jquery.malsup.com/cycle/ >+ * Copyright (c) 2007-2010 M. Alsup >+ * Version: 2.85 (30-MAR-2010) >+ * Dual licensed under the MIT and GPL licenses: >+ * http://www.opensource.org/licenses/mit-license.php >+ * http://www.gnu.org/licenses/gpl.html >+ * Requires: jQuery v1.2.6 or later >+ */ >+(function($){var ver="2.85";if($.support==undefined){$.support={opacity:!($.browser.msie)};}function debug(s){if($.fn.cycle.debug){log(s);}}function log(){if(window.console&&window.console.log){window.console.log("[cycle] "+Array.prototype.join.call(arguments," "));}}$.fn.cycle=function(options,arg2){var o={s:this.selector,c:this.context};if(this.length===0&&options!="stop"){if(!$.isReady&&o.s){log("DOM not ready, queuing slideshow");$(function(){$(o.s,o.c).cycle(options,arg2);});return this;}log("terminating; zero elements found by selector"+($.isReady?"":" (DOM not ready)"));return this;}return this.each(function(){var opts=handleArguments(this,options,arg2);if(opts===false){return;}opts.updateActivePagerLink=opts.updateActivePagerLink||$.fn.cycle.updateActivePagerLink;if(this.cycleTimeout){clearTimeout(this.cycleTimeout);}this.cycleTimeout=this.cyclePause=0;var $cont=$(this);var $slides=opts.slideExpr?$(opts.slideExpr,this):$cont.children();var els=$slides.get();if(els.length<2){log("terminating; too few slides: "+els.length);return;}var opts2=buildOptions($cont,$slides,els,opts,o);if(opts2===false){return;}var startTime=opts2.continuous?10:getTimeout(opts2.currSlide,opts2.nextSlide,opts2,!opts2.rev);if(startTime){startTime+=(opts2.delay||0);if(startTime<10){startTime=10;}debug("first timeout: "+startTime);this.cycleTimeout=setTimeout(function(){go(els,opts2,0,!opts2.rev);},startTime);}});};function handleArguments(cont,options,arg2){if(cont.cycleStop==undefined){cont.cycleStop=0;}if(options===undefined||options===null){options={};}if(options.constructor==String){switch(options){case"destroy":case"stop":var opts=$(cont).data("cycle.opts");if(!opts){return false;}cont.cycleStop++;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);}cont.cycleTimeout=0;$(cont).removeData("cycle.opts");if(options=="destroy"){destroy(opts);}return false;case"toggle":cont.cyclePause=(cont.cyclePause===1)?0:1;return false;case"pause":cont.cyclePause=1;return false;case"resume":cont.cyclePause=0;if(arg2===true){options=$(cont).data("cycle.opts");if(!options){log("options not found, can not resume");return false;}if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}go(options.elements,options,1,1);}return false;case"prev":case"next":var opts=$(cont).data("cycle.opts");if(!opts){log('options not found, "prev/next" ignored');return false;}$.fn.cycle[options](opts);return false;default:options={fx:options};}return options;}else{if(options.constructor==Number){var num=options;options=$(cont).data("cycle.opts");if(!options){log("options not found, can not advance slide");return false;}if(num<0||num>=options.elements.length){log("invalid slide index: "+num);return false;}options.nextSlide=num;if(cont.cycleTimeout){clearTimeout(cont.cycleTimeout);cont.cycleTimeout=0;}if(typeof arg2=="string"){options.oneTimeFx=arg2;}go(options.elements,options,1,num>=options.currSlide);return false;}}return options;}function removeFilter(el,opts){if(!$.support.opacity&&opts.cleartype&&el.style.filter){try{el.style.removeAttribute("filter");}catch(smother){}}}function destroy(opts){if(opts.next){$(opts.next).unbind(opts.prevNextEvent);}if(opts.prev){$(opts.prev).unbind(opts.prevNextEvent);}if(opts.pager||opts.pagerAnchorBuilder){$.each(opts.pagerAnchors||[],function(){this.unbind().remove();});}opts.pagerAnchors=null;if(opts.destroy){opts.destroy(opts);}}function buildOptions($cont,$slides,els,options,o){var opts=$.extend({},$.fn.cycle.defaults,options||{},$.metadata?$cont.metadata():$.meta?$cont.data():{});if(opts.autostop){opts.countdown=opts.autostopCount||els.length;}var cont=$cont[0];$cont.data("cycle.opts",opts);opts.$cont=$cont;opts.stopCount=cont.cycleStop;opts.elements=els;opts.before=opts.before?[opts.before]:[];opts.after=opts.after?[opts.after]:[];opts.after.unshift(function(){opts.busy=0;});if(!$.support.opacity&&opts.cleartype){opts.after.push(function(){removeFilter(this,opts);});}if(opts.continuous){opts.after.push(function(){go(els,opts,0,!opts.rev);});}saveOriginalOpts(opts);if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($slides);}if($cont.css("position")=="static"){$cont.css("position","relative");}if(opts.width){$cont.width(opts.width);}if(opts.height&&opts.height!="auto"){$cont.height(opts.height);}if(opts.startingSlide){opts.startingSlide=parseInt(opts.startingSlide);}if(opts.random){opts.randomMap=[];for(var i=0;i<els.length;i++){opts.randomMap.push(i);}opts.randomMap.sort(function(a,b){return Math.random()-0.5;});opts.randomIndex=1;opts.startingSlide=opts.randomMap[1];}else{if(opts.startingSlide>=els.length){opts.startingSlide=0;}}opts.currSlide=opts.startingSlide||0;var first=opts.startingSlide;$slides.css({position:"absolute",top:0,left:0}).hide().each(function(i){var z=first?i>=first?els.length-(i-first):first-i:els.length-i;$(this).css("z-index",z);});$(els[first]).css("opacity",1).show();removeFilter(els[first],opts);if(opts.fit&&opts.width){$slides.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}var reshape=opts.containerResize&&!$cont.innerHeight();if(reshape){var maxw=0,maxh=0;for(var j=0;j<els.length;j++){var $e=$(els[j]),e=$e[0],w=$e.outerWidth(),h=$e.outerHeight();if(!w){w=e.offsetWidth||e.width||$e.attr("width");}if(!h){h=e.offsetHeight||e.height||$e.attr("height");}maxw=w>maxw?w:maxw;maxh=h>maxh?h:maxh;}if(maxw>0&&maxh>0){$cont.css({width:maxw+"px",height:maxh+"px"});}}if(opts.pause){$cont.hover(function(){this.cyclePause++;},function(){this.cyclePause--;});}if(supportMultiTransitions(opts)===false){return false;}var requeue=false;options.requeueAttempts=options.requeueAttempts||0;$slides.each(function(){var $el=$(this);this.cycleH=(opts.fit&&opts.height)?opts.height:($el.height()||this.offsetHeight||this.height||$el.attr("height")||0);this.cycleW=(opts.fit&&opts.width)?opts.width:($el.width()||this.offsetWidth||this.width||$el.attr("width")||0);if($el.is("img")){var loadingIE=($.browser.msie&&this.cycleW==28&&this.cycleH==30&&!this.complete);var loadingFF=($.browser.mozilla&&this.cycleW==34&&this.cycleH==19&&!this.complete);var loadingOp=($.browser.opera&&((this.cycleW==42&&this.cycleH==19)||(this.cycleW==37&&this.cycleH==17))&&!this.complete);var loadingOther=(this.cycleH==0&&this.cycleW==0&&!this.complete);if(loadingIE||loadingFF||loadingOp||loadingOther){if(o.s&&opts.requeueOnImageNotLoaded&&++options.requeueAttempts<100){log(options.requeueAttempts," - img slide not loaded, requeuing slideshow: ",this.src,this.cycleW,this.cycleH);setTimeout(function(){$(o.s,o.c).cycle(options);},opts.requeueTimeout);requeue=true;return false;}else{log("could not determine size of image: "+this.src,this.cycleW,this.cycleH);}}}return true;});if(requeue){return false;}opts.cssBefore=opts.cssBefore||{};opts.animIn=opts.animIn||{};opts.animOut=opts.animOut||{};$slides.not(":eq("+first+")").css(opts.cssBefore);if(opts.cssFirst){$($slides[first]).css(opts.cssFirst);}if(opts.timeout){opts.timeout=parseInt(opts.timeout);if(opts.speed.constructor==String){opts.speed=$.fx.speeds[opts.speed]||parseInt(opts.speed);}if(!opts.sync){opts.speed=opts.speed/2;}var buffer=opts.fx=="shuffle"?500:250;while((opts.timeout-opts.speed)<buffer){opts.timeout+=opts.speed;}}if(opts.easing){opts.easeIn=opts.easeOut=opts.easing;}if(!opts.speedIn){opts.speedIn=opts.speed;}if(!opts.speedOut){opts.speedOut=opts.speed;}opts.slideCount=els.length;opts.currSlide=opts.lastSlide=first;if(opts.random){if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.startingSlide>=(els.length-1)?0:opts.startingSlide+1;}if(!opts.multiFx){var init=$.fn.cycle.transitions[opts.fx];if($.isFunction(init)){init($cont,$slides,opts);}else{if(opts.fx!="custom"&&!opts.multiFx){log("unknown transition: "+opts.fx,"; slideshow terminating");return false;}}}var e0=$slides[first];if(opts.before.length){opts.before[0].apply(e0,[e0,e0,opts,true]);}if(opts.after.length>1){opts.after[1].apply(e0,[e0,e0,opts,true]);}if(opts.next){$(opts.next).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?-1:1);});}if(opts.prev){$(opts.prev).bind(opts.prevNextEvent,function(){return advance(opts,opts.rev?1:-1);});}if(opts.pager||opts.pagerAnchorBuilder){buildPager(els,opts);}exposeAddSlide(opts,els);return opts;}function saveOriginalOpts(opts){opts.original={before:[],after:[]};opts.original.cssBefore=$.extend({},opts.cssBefore);opts.original.cssAfter=$.extend({},opts.cssAfter);opts.original.animIn=$.extend({},opts.animIn);opts.original.animOut=$.extend({},opts.animOut);$.each(opts.before,function(){opts.original.before.push(this);});$.each(opts.after,function(){opts.original.after.push(this);});}function supportMultiTransitions(opts){var i,tx,txs=$.fn.cycle.transitions;if(opts.fx.indexOf(",")>0){opts.multiFx=true;opts.fxs=opts.fx.replace(/\s*/g,"").split(",");for(i=0;i<opts.fxs.length;i++){var fx=opts.fxs[i];tx=txs[fx];if(!tx||!txs.hasOwnProperty(fx)||!$.isFunction(tx)){log("discarding unknown transition: ",fx);opts.fxs.splice(i,1);i--;}}if(!opts.fxs.length){log("No valid transitions named; slideshow terminating.");return false;}}else{if(opts.fx=="all"){opts.multiFx=true;opts.fxs=[];for(p in txs){tx=txs[p];if(txs.hasOwnProperty(p)&&$.isFunction(tx)){opts.fxs.push(p);}}}}if(opts.multiFx&&opts.randomizeEffects){var r1=Math.floor(Math.random()*20)+30;for(i=0;i<r1;i++){var r2=Math.floor(Math.random()*opts.fxs.length);opts.fxs.push(opts.fxs.splice(r2,1)[0]);}debug("randomized fx sequence: ",opts.fxs);}return true;}function exposeAddSlide(opts,els){opts.addSlide=function(newSlide,prepend){var $s=$(newSlide),s=$s[0];if(!opts.autostopCount){opts.countdown++;}els[prepend?"unshift":"push"](s);if(opts.els){opts.els[prepend?"unshift":"push"](s);}opts.slideCount=els.length;$s.css("position","absolute");$s[prepend?"prependTo":"appendTo"](opts.$cont);if(prepend){opts.currSlide++;opts.nextSlide++;}if(!$.support.opacity&&opts.cleartype&&!opts.cleartypeNoBg){clearTypeFix($s);}if(opts.fit&&opts.width){$s.width(opts.width);}if(opts.fit&&opts.height&&opts.height!="auto"){$slides.height(opts.height);}s.cycleH=(opts.fit&&opts.height)?opts.height:$s.height();s.cycleW=(opts.fit&&opts.width)?opts.width:$s.width();$s.css(opts.cssBefore);if(opts.pager||opts.pagerAnchorBuilder){$.fn.cycle.createPagerAnchor(els.length-1,s,$(opts.pager),els,opts);}if($.isFunction(opts.onAddSlide)){opts.onAddSlide($s);}else{$s.hide();}};}$.fn.cycle.resetState=function(opts,fx){fx=fx||opts.fx;opts.before=[];opts.after=[];opts.cssBefore=$.extend({},opts.original.cssBefore);opts.cssAfter=$.extend({},opts.original.cssAfter);opts.animIn=$.extend({},opts.original.animIn);opts.animOut=$.extend({},opts.original.animOut);opts.fxFn=null;$.each(opts.original.before,function(){opts.before.push(this);});$.each(opts.original.after,function(){opts.after.push(this);});var init=$.fn.cycle.transitions[fx];if($.isFunction(init)){init(opts.$cont,$(opts.elements),opts);}};function go(els,opts,manual,fwd){if(manual&&opts.busy&&opts.manualTrump){debug("manualTrump in go(), stopping active transition");$(els).stop(true,true);opts.busy=false;}if(opts.busy){debug("transition active, ignoring new tx request");return;}var p=opts.$cont[0],curr=els[opts.currSlide],next=els[opts.nextSlide];if(p.cycleStop!=opts.stopCount||p.cycleTimeout===0&&!manual){return;}if(!manual&&!p.cyclePause&&((opts.autostop&&(--opts.countdown<=0))||(opts.nowrap&&!opts.random&&opts.nextSlide<opts.currSlide))){if(opts.end){opts.end(opts);}return;}var changed=false;if((manual||!p.cyclePause)&&(opts.nextSlide!=opts.currSlide)){changed=true;var fx=opts.fx;curr.cycleH=curr.cycleH||$(curr).height();curr.cycleW=curr.cycleW||$(curr).width();next.cycleH=next.cycleH||$(next).height();next.cycleW=next.cycleW||$(next).width();if(opts.multiFx){if(opts.lastFx==undefined||++opts.lastFx>=opts.fxs.length){opts.lastFx=0;}fx=opts.fxs[opts.lastFx];opts.currFx=fx;}if(opts.oneTimeFx){fx=opts.oneTimeFx;opts.oneTimeFx=null;}$.fn.cycle.resetState(opts,fx);if(opts.before.length){$.each(opts.before,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});}var after=function(){$.each(opts.after,function(i,o){if(p.cycleStop!=opts.stopCount){return;}o.apply(next,[curr,next,opts,fwd]);});};debug("tx firing; currSlide: "+opts.currSlide+"; nextSlide: "+opts.nextSlide);opts.busy=1;if(opts.fxFn){opts.fxFn(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{if($.isFunction($.fn.cycle[opts.fx])){$.fn.cycle[opts.fx](curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}else{$.fn.cycle.custom(curr,next,opts,after,fwd,manual&&opts.fastOnEvent);}}}if(changed||opts.nextSlide==opts.currSlide){opts.lastSlide=opts.currSlide;if(opts.random){opts.currSlide=opts.nextSlide;if(++opts.randomIndex==els.length){opts.randomIndex=0;}opts.nextSlide=opts.randomMap[opts.randomIndex];if(opts.nextSlide==opts.currSlide){opts.nextSlide=(opts.currSlide==opts.slideCount-1)?0:opts.currSlide+1;}}else{var roll=(opts.nextSlide+1)==els.length;opts.nextSlide=roll?0:opts.nextSlide+1;opts.currSlide=roll?els.length-1:opts.nextSlide-1;}}if(changed&&opts.pager){opts.updateActivePagerLink(opts.pager,opts.currSlide,opts.activePagerClass);}var ms=0;if(opts.timeout&&!opts.continuous){ms=getTimeout(curr,next,opts,fwd);}else{if(opts.continuous&&p.cyclePause){ms=10;}}if(ms>0){p.cycleTimeout=setTimeout(function(){go(els,opts,0,!opts.rev);},ms);}}$.fn.cycle.updateActivePagerLink=function(pager,currSlide,clsName){$(pager).each(function(){$(this).children().removeClass(clsName).eq(currSlide).addClass(clsName);});};function getTimeout(curr,next,opts,fwd){if(opts.timeoutFn){var t=opts.timeoutFn(curr,next,opts,fwd);while((t-opts.speed)<250){t+=opts.speed;}debug("calculated timeout: "+t+"; speed: "+opts.speed);if(t!==false){return t;}}return opts.timeout;}$.fn.cycle.next=function(opts){advance(opts,opts.rev?-1:1);};$.fn.cycle.prev=function(opts){advance(opts,opts.rev?1:-1);};function advance(opts,val){var els=opts.elements;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}if(opts.random&&val<0){opts.randomIndex--;if(--opts.randomIndex==-2){opts.randomIndex=els.length-2;}else{if(opts.randomIndex==-1){opts.randomIndex=els.length-1;}}opts.nextSlide=opts.randomMap[opts.randomIndex];}else{if(opts.random){opts.nextSlide=opts.randomMap[opts.randomIndex];}else{opts.nextSlide=opts.currSlide+val;if(opts.nextSlide<0){if(opts.nowrap){return false;}opts.nextSlide=els.length-1;}else{if(opts.nextSlide>=els.length){if(opts.nowrap){return false;}opts.nextSlide=0;}}}}var cb=opts.onPrevNextEvent||opts.prevNextClick;if($.isFunction(cb)){cb(val>0,opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,val>=0);return false;}function buildPager(els,opts){var $p=$(opts.pager);$.each(els,function(i,o){$.fn.cycle.createPagerAnchor(i,o,$p,els,opts);});opts.updateActivePagerLink(opts.pager,opts.startingSlide,opts.activePagerClass);}$.fn.cycle.createPagerAnchor=function(i,el,$p,els,opts){var a;if($.isFunction(opts.pagerAnchorBuilder)){a=opts.pagerAnchorBuilder(i,el);debug("pagerAnchorBuilder("+i+", el) returned: "+a);}else{a='<a href="#">'+(i+1)+"</a>";}if(!a){return;}var $a=$(a);if($a.parents("body").length===0){var arr=[];if($p.length>1){$p.each(function(){var $clone=$a.clone(true);$(this).append($clone);arr.push($clone[0]);});$a=$(arr);}else{$a.appendTo($p);}}opts.pagerAnchors=opts.pagerAnchors||[];opts.pagerAnchors.push($a);$a.bind(opts.pagerEvent,function(e){e.preventDefault();opts.nextSlide=i;var p=opts.$cont[0],timeout=p.cycleTimeout;if(timeout){clearTimeout(timeout);p.cycleTimeout=0;}var cb=opts.onPagerEvent||opts.pagerClick;if($.isFunction(cb)){cb(opts.nextSlide,els[opts.nextSlide]);}go(els,opts,1,opts.currSlide<i);});if(!/^click/.test(opts.pagerEvent)&&!opts.allowPagerClickBubble){$a.bind("click.cycle",function(){return false;});}if(opts.pauseOnPagerHover){$a.hover(function(){opts.$cont[0].cyclePause++;},function(){opts.$cont[0].cyclePause--;});}};$.fn.cycle.hopsFromLast=function(opts,fwd){var hops,l=opts.lastSlide,c=opts.currSlide;if(fwd){hops=c>l?c-l:opts.slideCount-l;}else{hops=c<l?l-c:l+opts.slideCount-c;}return hops;};function clearTypeFix($slides){debug("applying clearType background-color hack");function hex(s){s=parseInt(s).toString(16);return s.length<2?"0"+s:s;}function getBg(e){for(;e&&e.nodeName.toLowerCase()!="html";e=e.parentNode){var v=$.css(e,"background-color");if(v.indexOf("rgb")>=0){var rgb=v.match(/\d+/g);return"#"+hex(rgb[0])+hex(rgb[1])+hex(rgb[2]);}if(v&&v!="transparent"){return v;}}return"#ffffff";}$slides.each(function(){$(this).css("background-color",getBg(this));});}$.fn.cycle.commonReset=function(curr,next,opts,w,h,rev){$(opts.elements).not(curr).hide();opts.cssBefore.opacity=1;opts.cssBefore.display="block";if(w!==false&&next.cycleW>0){opts.cssBefore.width=next.cycleW;}if(h!==false&&next.cycleH>0){opts.cssBefore.height=next.cycleH;}opts.cssAfter=opts.cssAfter||{};opts.cssAfter.display="none";$(curr).css("zIndex",opts.slideCount+(rev===true?1:0));$(next).css("zIndex",opts.slideCount+(rev===true?0:1));};$.fn.cycle.custom=function(curr,next,opts,cb,fwd,speedOverride){var $l=$(curr),$n=$(next);var speedIn=opts.speedIn,speedOut=opts.speedOut,easeIn=opts.easeIn,easeOut=opts.easeOut;$n.css(opts.cssBefore);if(speedOverride){if(typeof speedOverride=="number"){speedIn=speedOut=speedOverride;}else{speedIn=speedOut=1;}easeIn=easeOut=null;}var fn=function(){$n.animate(opts.animIn,speedIn,easeIn,cb);};$l.animate(opts.animOut,speedOut,easeOut,function(){if(opts.cssAfter){$l.css(opts.cssAfter);}if(!opts.sync){fn();}});if(opts.sync){fn();}};$.fn.cycle.transitions={fade:function($cont,$slides,opts){$slides.not(":eq("+opts.currSlide+")").css("opacity",0);opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.opacity=0;});opts.animIn={opacity:1};opts.animOut={opacity:0};opts.cssBefore={top:0,left:0};}};$.fn.cycle.ver=function(){return ver;};$.fn.cycle.defaults={fx:"fade",timeout:4000,timeoutFn:null,continuous:0,speed:1000,speedIn:null,speedOut:null,next:null,prev:null,onPrevNextEvent:null,prevNextEvent:"click.cycle",pager:null,onPagerEvent:null,pagerEvent:"click.cycle",allowPagerClickBubble:false,pagerAnchorBuilder:null,before:null,after:null,end:null,easing:null,easeIn:null,easeOut:null,shuffle:null,animIn:null,animOut:null,cssBefore:null,cssAfter:null,fxFn:null,height:"auto",startingSlide:0,sync:1,random:0,fit:0,containerResize:1,pause:0,pauseOnPagerHover:0,autostop:0,autostopCount:0,delay:0,slideExpr:null,cleartype:!$.support.opacity,cleartypeNoBg:false,nowrap:0,fastOnEvent:0,randomizeEffects:1,rev:0,manualTrump:true,requeueOnImageNotLoaded:true,requeueTimeout:250,activePagerClass:"activeSlide",updateActivePagerLink:null};})(jQuery); >+/* >+ * jQuery Cycle Plugin Transition Definitions >+ * This script is a plugin for the jQuery Cycle Plugin >+ * Examples and documentation at: http://malsup.com/jquery/cycle/ >+ * Copyright (c) 2007-2008 M. Alsup >+ * Version: 2.72 >+ * Dual licensed under the MIT and GPL licenses: >+ * http://www.opensource.org/licenses/mit-license.php >+ * http://www.gnu.org/licenses/gpl.html >+ */ >+(function($){$.fn.cycle.transitions.none=function($cont,$slides,opts){opts.fxFn=function(curr,next,opts,after){$(next).show();$(curr).hide();after();};};$.fn.cycle.transitions.scrollUp=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssBefore={top:h,left:0};opts.cssFirst={top:0};opts.animIn={top:0};opts.animOut={top:-h};};$.fn.cycle.transitions.scrollDown=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var h=$cont.height();opts.cssFirst={top:0};opts.cssBefore={top:-h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.scrollLeft=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:0-w};};$.fn.cycle.transitions.scrollRight=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push($.fn.cycle.commonReset);var w=$cont.width();opts.cssFirst={left:0};opts.cssBefore={left:-w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.scrollHorz=function($cont,$slides,opts){$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.left=fwd?(next.cycleW-1):(1-next.cycleW);opts.animOut.left=fwd?-curr.cycleW:curr.cycleW;});opts.cssFirst={left:0};opts.cssBefore={top:0};opts.animIn={left:0};opts.animOut={top:0};};$.fn.cycle.transitions.scrollVert=function($cont,$slides,opts){$cont.css("overflow","hidden");opts.before.push(function(curr,next,opts,fwd){$.fn.cycle.commonReset(curr,next,opts);opts.cssBefore.top=fwd?(1-next.cycleH):(next.cycleH-1);opts.animOut.top=fwd?curr.cycleH:-curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0};opts.animIn={top:0};opts.animOut={left:0};};$.fn.cycle.transitions.slideX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;});opts.cssBefore={left:0,top:0,width:0};opts.animIn={width:"show"};opts.animOut={width:0};};$.fn.cycle.transitions.slideY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$(opts.elements).not(curr).hide();$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;});opts.cssBefore={left:0,top:0,height:0};opts.animIn={height:"show"};opts.animOut={height:0};};$.fn.cycle.transitions.shuffle=function($cont,$slides,opts){var i,w=$cont.css("overflow","visible").width();$slides.css({left:0,top:0});opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);});if(!opts.speedAdjusted){opts.speed=opts.speed/2;opts.speedAdjusted=true;}opts.random=0;opts.shuffle=opts.shuffle||{left:-w,top:15};opts.els=[];for(i=0;i<$slides.length;i++){opts.els.push($slides[i]);}for(i=0;i<opts.currSlide;i++){opts.els.push(opts.els.shift());}opts.fxFn=function(curr,next,opts,cb,fwd){var $el=fwd?$(curr):$(next);$(next).css(opts.cssBefore);var count=opts.slideCount;$el.animate(opts.shuffle,opts.speedIn,opts.easeIn,function(){var hops=$.fn.cycle.hopsFromLast(opts,fwd);for(var k=0;k<hops;k++){fwd?opts.els.push(opts.els.shift()):opts.els.unshift(opts.els.pop());}if(fwd){for(var i=0,len=opts.els.length;i<len;i++){$(opts.els[i]).css("z-index",len-i+count);}}else{var z=$(curr).css("z-index");$el.css("z-index",parseInt(z)+1+count);}$el.animate({left:0,top:0},opts.speedOut,opts.easeOut,function(){$(fwd?this:curr).hide();if(cb){cb();}});});};opts.cssBefore={display:"block",opacity:1,top:0,left:0};};$.fn.cycle.transitions.turnUp=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=next.cycleH;opts.animIn.height=next.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,height:0};opts.animIn={top:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnDown=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssFirst={top:0};opts.cssBefore={left:0,top:0,height:0};opts.animOut={height:0};};$.fn.cycle.transitions.turnLeft=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=next.cycleW;opts.animIn.width=next.cycleW;});opts.cssBefore={top:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.turnRight=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={top:0,left:0,width:0};opts.animIn={left:0};opts.animOut={width:0};};$.fn.cycle.transitions.zoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false,true);opts.cssBefore.top=next.cycleH/2;opts.cssBefore.left=next.cycleW/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};opts.animOut={width:0,height:0,top:curr.cycleH/2,left:curr.cycleW/2};});opts.cssFirst={top:0,left:0};opts.cssBefore={width:0,height:0};};$.fn.cycle.transitions.fadeZoom=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,false);opts.cssBefore.left=next.cycleW/2;opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,left:0,width:next.cycleW,height:next.cycleH};});opts.cssBefore={width:0,height:0};opts.animOut={opacity:0};};$.fn.cycle.transitions.blindX=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.width=next.cycleW;opts.animOut.left=curr.cycleW;});opts.cssBefore={left:w,top:0};opts.animIn={left:0};opts.animOut={left:w};};$.fn.cycle.transitions.blindY=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:0};opts.animIn={top:0};opts.animOut={top:h};};$.fn.cycle.transitions.blindZ=function($cont,$slides,opts){var h=$cont.css("overflow","hidden").height();var w=$cont.width();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);opts.animIn.height=next.cycleH;opts.animOut.top=curr.cycleH;});opts.cssBefore={top:h,left:w};opts.animIn={top:0,left:0};opts.animOut={top:h,left:w};};$.fn.cycle.transitions.growX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true);opts.cssBefore.left=this.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:0};});opts.cssBefore={width:0,top:0};};$.fn.cycle.transitions.growY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false);opts.cssBefore.top=this.cycleH/2;opts.animIn={top:0,height:this.cycleH};opts.animOut={top:0};});opts.cssBefore={height:0,left:0};};$.fn.cycle.transitions.curtainX=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,false,true,true);opts.cssBefore.left=next.cycleW/2;opts.animIn={left:0,width:this.cycleW};opts.animOut={left:curr.cycleW/2,width:0};});opts.cssBefore={top:0,width:0};};$.fn.cycle.transitions.curtainY=function($cont,$slides,opts){opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,false,true);opts.cssBefore.top=next.cycleH/2;opts.animIn={top:0,height:next.cycleH};opts.animOut={top:curr.cycleH/2,height:0};});opts.cssBefore={left:0,height:0};};$.fn.cycle.transitions.cover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts);if(d=="right"){opts.cssBefore.left=-w;}else{if(d=="up"){opts.cssBefore.top=h;}else{if(d=="down"){opts.cssBefore.top=-h;}else{opts.cssBefore.left=w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.uncover=function($cont,$slides,opts){var d=opts.direction||"left";var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(d=="right"){opts.animOut.left=w;}else{if(d=="up"){opts.animOut.top=-h;}else{if(d=="down"){opts.animOut.top=h;}else{opts.animOut.left=-w;}}}});opts.animIn={left:0,top:0};opts.animOut={opacity:1};opts.cssBefore={top:0,left:0};};$.fn.cycle.transitions.toss=function($cont,$slides,opts){var w=$cont.css("overflow","visible").width();var h=$cont.height();opts.before.push(function(curr,next,opts){$.fn.cycle.commonReset(curr,next,opts,true,true,true);if(!opts.animOut.left&&!opts.animOut.top){opts.animOut={left:w*2,top:-h/2,opacity:0};}else{opts.animOut.opacity=0;}});opts.cssBefore={left:0,top:0};opts.animIn={left:0};};$.fn.cycle.transitions.wipe=function($cont,$slides,opts){var w=$cont.css("overflow","hidden").width();var h=$cont.height();opts.cssBefore=opts.cssBefore||{};var clip;if(opts.clip){if(/l2r/.test(opts.clip)){clip="rect(0px 0px "+h+"px 0px)";}else{if(/r2l/.test(opts.clip)){clip="rect(0px "+w+"px "+h+"px "+w+"px)";}else{if(/t2b/.test(opts.clip)){clip="rect(0px "+w+"px 0px 0px)";}else{if(/b2t/.test(opts.clip)){clip="rect("+h+"px "+w+"px "+h+"px 0px)";}else{if(/zoom/.test(opts.clip)){var top=parseInt(h/2);var left=parseInt(w/2);clip="rect("+top+"px "+left+"px "+top+"px "+left+"px)";}}}}}}opts.cssBefore.clip=opts.cssBefore.clip||clip||"rect(0px 0px 0px 0px)";var d=opts.cssBefore.clip.match(/(\d+)/g);var t=parseInt(d[0]),r=parseInt(d[1]),b=parseInt(d[2]),l=parseInt(d[3]);opts.before.push(function(curr,next,opts){if(curr==next){return;}var $curr=$(curr),$next=$(next);$.fn.cycle.commonReset(curr,next,opts,true,true,false);opts.cssAfter.display="block";var step=1,count=parseInt((opts.speedIn/13))-1;(function f(){var tt=t?t-parseInt(step*(t/count)):0;var ll=l?l-parseInt(step*(l/count)):0;var bb=b<h?b+parseInt(step*((h-b)/count||1)):h;var rr=r<w?r+parseInt(step*((w-r)/count||1)):w;$next.css({clip:"rect("+tt+"px "+rr+"px "+bb+"px "+ll+"px)"});(step++<=count)?setTimeout(f,13):$curr.css("display","none");})();});opts.cssBefore={display:"block",opacity:1,top:0,left:0};opts.animIn={left:0};opts.animOut={left:0};};})(jQuery); >+ >+/*! >+ * jQuery corner plugin: simple corner rounding >+ * Examples and documentation at: http://jquery.malsup.com/corner/ >+ * version 2.09 (11-MAR-2010) >+ * Requires jQuery v1.3.2 or later >+ * Dual licensed under the MIT and GPL licenses: >+ * http://www.opensource.org/licenses/mit-license.php >+ * http://www.gnu.org/licenses/gpl.html >+ * Authors: Dave Methvin and Mike Alsup >+ */ >+ >+/** >+ * corner() takes a single string argument: $('#myDiv').corner("effect corners width") >+ * >+ * effect: name of the effect to apply, such as round, bevel, notch, bite, etc (default is round). >+ * corners: one or more of: top, bottom, tr, tl, br, or bl. (default is all corners) >+ * width: width of the effect; in the case of rounded corners this is the radius. >+ * specify this value using the px suffix such as 10px (yes, it must be pixels). >+ */ >+;(function($) { >+ >+var style = document.createElement('div').style; >+var moz = style['MozBorderRadius'] !== undefined; >+var webkit = style['WebkitBorderRadius'] !== undefined; >+var radius = style['borderRadius'] !== undefined || style['BorderRadius'] !== undefined; >+var mode = document.documentMode || 0; >+var noBottomFold = $.browser.msie && (($.browser.version < 8 && !mode) || mode < 8); >+ >+var expr = $.browser.msie && (function() { >+ var div = document.createElement('div'); >+ try { div.style.setExpression('width','0+0'); div.style.removeExpression('width'); } >+ catch(e) { return false; } >+ return true; >+})(); >+ >+function sz(el, p) { >+ return parseInt($.css(el,p))||0; >+}; >+function hex2(s) { >+ var s = parseInt(s).toString(16); >+ return ( s.length < 2 ) ? '0'+s : s; >+}; >+function gpc(node) { >+ while(node) { >+ var v = $.css(node,'backgroundColor'); >+ if (v && v != 'transparent' && v != 'rgba(0, 0, 0, 0)') { >+ if (v.indexOf('rgb') >= 0) { >+ var rgb = v.match(/\d+/g); >+ return '#'+ hex2(rgb[0]) + hex2(rgb[1]) + hex2(rgb[2]); >+ } >+ return v; >+ } >+ node = node.parentNode; // keep walking if transparent >+ } >+ return '#ffffff'; >+}; >+ >+function getWidth(fx, i, width) { >+ switch(fx) { >+ case 'round': return Math.round(width*(1-Math.cos(Math.asin(i/width)))); >+ case 'cool': return Math.round(width*(1+Math.cos(Math.asin(i/width)))); >+ case 'sharp': return Math.round(width*(1-Math.cos(Math.acos(i/width)))); >+ case 'bite': return Math.round(width*(Math.cos(Math.asin((width-i-1)/width)))); >+ case 'slide': return Math.round(width*(Math.atan2(i,width/i))); >+ case 'jut': return Math.round(width*(Math.atan2(width,(width-i-1)))); >+ case 'curl': return Math.round(width*(Math.atan(i))); >+ case 'tear': return Math.round(width*(Math.cos(i))); >+ case 'wicked': return Math.round(width*(Math.tan(i))); >+ case 'long': return Math.round(width*(Math.sqrt(i))); >+ case 'sculpt': return Math.round(width*(Math.log((width-i-1),width))); >+ case 'dogfold': >+ case 'dog': return (i&1) ? (i+1) : width; >+ case 'dog2': return (i&2) ? (i+1) : width; >+ case 'dog3': return (i&3) ? (i+1) : width; >+ case 'fray': return (i%2)*width; >+ case 'notch': return width; >+ case 'bevelfold': >+ case 'bevel': return i+1; >+ } >+}; >+ >+$.fn.corner = function(options) { >+ // in 1.3+ we can fix mistakes with the ready state >+ if (this.length == 0) { >+ if (!$.isReady && this.selector) { >+ var s = this.selector, c = this.context; >+ $(function() { >+ $(s,c).corner(options); >+ }); >+ } >+ return this; >+ } >+ >+ return this.each(function(index){ >+ var $this = $(this); >+ // meta values override options >+ var o = [$this.attr($.fn.corner.defaults.metaAttr) || '', options || ''].join(' ').toLowerCase(); >+ var keep = /keep/.test(o); // keep borders? >+ var cc = ((o.match(/cc:(#[0-9a-f]+)/)||[])[1]); // corner color >+ var sc = ((o.match(/sc:(#[0-9a-f]+)/)||[])[1]); // strip color >+ var width = parseInt((o.match(/(\d+)px/)||[])[1]) || 10; // corner width >+ var re = /round|bevelfold|bevel|notch|bite|cool|sharp|slide|jut|curl|tear|fray|wicked|sculpt|long|dog3|dog2|dogfold|dog/; >+ var fx = ((o.match(re)||['round'])[0]); >+ var fold = /dogfold|bevelfold/.test(o); >+ var edges = { T:0, B:1 }; >+ var opts = { >+ TL: /top|tl|left/.test(o), TR: /top|tr|right/.test(o), >+ BL: /bottom|bl|left/.test(o), BR: /bottom|br|right/.test(o) >+ }; >+ if ( !opts.TL && !opts.TR && !opts.BL && !opts.BR ) >+ opts = { TL:1, TR:1, BL:1, BR:1 }; >+ >+ // support native rounding >+ if ($.fn.corner.defaults.useNative && fx == 'round' && (radius || moz || webkit) && !cc && !sc) { >+ if (opts.TL) >+ $this.css(radius ? 'border-top-left-radius' : moz ? '-moz-border-radius-topleft' : '-webkit-border-top-left-radius', width + 'px'); >+ if (opts.TR) >+ $this.css(radius ? 'border-top-right-radius' : moz ? '-moz-border-radius-topright' : '-webkit-border-top-right-radius', width + 'px'); >+ if (opts.BL) >+ $this.css(radius ? 'border-bottom-left-radius' : moz ? '-moz-border-radius-bottomleft' : '-webkit-border-bottom-left-radius', width + 'px'); >+ if (opts.BR) >+ $this.css(radius ? 'border-bottom-right-radius' : moz ? '-moz-border-radius-bottomright' : '-webkit-border-bottom-right-radius', width + 'px'); >+ return; >+ } >+ >+ var strip = document.createElement('div'); >+ $(strip).css({ >+ overflow: 'hidden', >+ height: '1px', >+ minHeight: '1px', >+ fontSize: '1px', >+ backgroundColor: sc || 'transparent', >+ borderStyle: 'solid' >+ }); >+ >+ var pad = { >+ T: parseInt($.css(this,'paddingTop'))||0, R: parseInt($.css(this,'paddingRight'))||0, >+ B: parseInt($.css(this,'paddingBottom'))||0, L: parseInt($.css(this,'paddingLeft'))||0 >+ }; >+ >+ if (typeof this.style.zoom != undefined) this.style.zoom = 1; // force 'hasLayout' in IE >+ if (!keep) this.style.border = 'none'; >+ strip.style.borderColor = cc || gpc(this.parentNode); >+ var cssHeight = $(this).outerHeight(); >+ >+ for (var j in edges) { >+ var bot = edges[j]; >+ // only add stips if needed >+ if ((bot && (opts.BL || opts.BR)) || (!bot && (opts.TL || opts.TR))) { >+ strip.style.borderStyle = 'none '+(opts[j+'R']?'solid':'none')+' none '+(opts[j+'L']?'solid':'none'); >+ var d = document.createElement('div'); >+ $(d).addClass('jquery-corner'); >+ var ds = d.style; >+ >+ bot ? this.appendChild(d) : this.insertBefore(d, this.firstChild); >+ >+ if (bot && cssHeight != 'auto') { >+ if ($.css(this,'position') == 'static') >+ this.style.position = 'relative'; >+ ds.position = 'absolute'; >+ ds.bottom = ds.left = ds.padding = ds.margin = '0'; >+ if (expr) >+ ds.setExpression('width', 'this.parentNode.offsetWidth'); >+ else >+ ds.width = '100%'; >+ } >+ else if (!bot && $.browser.msie) { >+ if ($.css(this,'position') == 'static') >+ this.style.position = 'relative'; >+ ds.position = 'absolute'; >+ ds.top = ds.left = ds.right = ds.padding = ds.margin = '0'; >+ >+ // fix ie6 problem when blocked element has a border width >+ if (expr) { >+ var bw = sz(this,'borderLeftWidth') + sz(this,'borderRightWidth'); >+ ds.setExpression('width', 'this.parentNode.offsetWidth - '+bw+'+ "px"'); >+ } >+ else >+ ds.width = '100%'; >+ } >+ else { >+ ds.position = 'relative'; >+ ds.margin = !bot ? '-'+pad.T+'px -'+pad.R+'px '+(pad.T-width)+'px -'+pad.L+'px' : >+ (pad.B-width)+'px -'+pad.R+'px -'+pad.B+'px -'+pad.L+'px'; >+ } >+ >+ for (var i=0; i < width; i++) { >+ var w = Math.max(0,getWidth(fx,i, width)); >+ var e = strip.cloneNode(false); >+ e.style.borderWidth = '0 '+(opts[j+'R']?w:0)+'px 0 '+(opts[j+'L']?w:0)+'px'; >+ bot ? d.appendChild(e) : d.insertBefore(e, d.firstChild); >+ } >+ >+ if (fold && $.support.boxModel) { >+ if (bot && noBottomFold) continue; >+ for (var c in opts) { >+ if (!opts[c]) continue; >+ if (bot && (c == 'TL' || c == 'TR')) continue; >+ if (!bot && (c == 'BL' || c == 'BR')) continue; >+ >+ var common = { position: 'absolute', border: 'none', margin: 0, padding: 0, overflow: 'hidden', backgroundColor: strip.style.borderColor }; >+ var $horz = $('<div/>').css(common).css({ width: width + 'px', height: '1px' }); >+ switch(c) { >+ case 'TL': $horz.css({ bottom: 0, left: 0 }); break; >+ case 'TR': $horz.css({ bottom: 0, right: 0 }); break; >+ case 'BL': $horz.css({ top: 0, left: 0 }); break; >+ case 'BR': $horz.css({ top: 0, right: 0 }); break; >+ } >+ d.appendChild($horz[0]); >+ >+ var $vert = $('<div/>').css(common).css({ top: 0, bottom: 0, width: '1px', height: width + 'px' }); >+ switch(c) { >+ case 'TL': $vert.css({ left: width }); break; >+ case 'TR': $vert.css({ right: width }); break; >+ case 'BL': $vert.css({ left: width }); break; >+ case 'BR': $vert.css({ right: width }); break; >+ } >+ d.appendChild($vert[0]); >+ } >+ } >+ } >+ } >+ }); >+}; >+ >+$.fn.uncorner = function() { >+ if (radius || moz || webkit) >+ this.css(radius ? 'border-radius' : moz ? '-moz-border-radius' : '-webkit-border-radius', 0); >+ $('div.jquery-corner', this).remove(); >+ return this; >+}; >+ >+// expose options >+$.fn.corner.defaults = { >+ useNative: true, // true if plugin should attempt to use native browser support for border radius rounding >+ metaAttr: 'data-corner' // name of meta attribute to use for options >+}; >+ >+})(jQuery); >+ >+/* >+ * Copyright (c) 2009 Simo Kinnunen. >+ * Licensed under the MIT license. >+ * >+ * @version 1.09 >+ */ >+var Cufon=(function(){var m=function(){return m.replace.apply(null,arguments)};var x=m.DOM={ready:(function(){var C=false,E={loaded:1,complete:1};var B=[],D=function(){if(C){return}C=true;for(var F;F=B.shift();F()){}};if(document.addEventListener){document.addEventListener("DOMContentLoaded",D,false);window.addEventListener("pageshow",D,false)}if(!window.opera&&document.readyState){(function(){E[document.readyState]?D():setTimeout(arguments.callee,10)})()}if(document.readyState&&document.createStyleSheet){(function(){try{document.body.doScroll("left");D()}catch(F){setTimeout(arguments.callee,1)}})()}q(window,"load",D);return function(F){if(!arguments.length){D()}else{C?F():B.push(F)}}})(),root:function(){return document.documentElement||document.body}};var n=m.CSS={Size:function(C,B){this.value=parseFloat(C);this.unit=String(C).match(/[a-z%]*$/)[0]||"px";this.convert=function(D){return D/B*this.value};this.convertFrom=function(D){return D/this.value*B};this.toString=function(){return this.value+this.unit}},addClass:function(C,B){var D=C.className;C.className=D+(D&&" ")+B;return C},color:j(function(C){var B={};B.color=C.replace(/^rgba\((.*?),\s*([\d.]+)\)/,function(E,D,F){B.opacity=parseFloat(F);return"rgb("+D+")"});return B}),fontStretch:j(function(B){if(typeof B=="number"){return B}if(/%$/.test(B)){return parseFloat(B)/100}return{"ultra-condensed":0.5,"extra-condensed":0.625,condensed:0.75,"semi-condensed":0.875,"semi-expanded":1.125,expanded:1.25,"extra-expanded":1.5,"ultra-expanded":2}[B]||1}),getStyle:function(C){var B=document.defaultView;if(B&&B.getComputedStyle){return new a(B.getComputedStyle(C,null))}if(C.currentStyle){return new a(C.currentStyle)}return new a(C.style)},gradient:j(function(F){var G={id:F,type:F.match(/^-([a-z]+)-gradient\(/)[1],stops:[]},C=F.substr(F.indexOf("(")).match(/([\d.]+=)?(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)/ig);for(var E=0,B=C.length,D;E<B;++E){D=C[E].split("=",2).reverse();G.stops.push([D[1]||E/(B-1),D[0]])}return G}),quotedList:j(function(E){var D=[],C=/\s*((["'])([\s\S]*?[^\\])\2|[^,]+)\s*/g,B;while(B=C.exec(E)){D.push(B[3]||B[1])}return D}),recognizesMedia:j(function(G){var E=document.createElement("style"),D,C,B;E.type="text/css";E.media=G;try{E.appendChild(document.createTextNode("/**/"))}catch(F){}C=g("head")[0];C.insertBefore(E,C.firstChild);D=(E.sheet||E.styleSheet);B=D&&!D.disabled;C.removeChild(E);return B}),removeClass:function(D,C){var B=RegExp("(?:^|\\s+)"+C+"(?=\\s|$)","g");D.className=D.className.replace(B,"");return D},supports:function(D,C){var B=document.createElement("span").style;if(B[D]===undefined){return false}B[D]=C;return B[D]===C},textAlign:function(E,D,B,C){if(D.get("textAlign")=="right"){if(B>0){E=" "+E}}else{if(B<C-1){E+=" "}}return E},textShadow:j(function(F){if(F=="none"){return null}var E=[],G={},B,C=0;var D=/(#[a-f0-9]+|[a-z]+\(.*?\)|[a-z]+)|(-?[\d.]+[a-z%]*)|,/ig;while(B=D.exec(F)){if(B[0]==","){E.push(G);G={};C=0}else{if(B[1]){G.color=B[1]}else{G[["offX","offY","blur"][C++]]=B[2]}}}E.push(G);return E}),textTransform:(function(){var B={uppercase:function(C){return C.toUpperCase()},lowercase:function(C){return C.toLowerCase()},capitalize:function(C){return C.replace(/\b./g,function(D){return D.toUpperCase()})}};return function(E,D){var C=B[D.get("textTransform")];return C?C(E):E}})(),whiteSpace:(function(){var D={inline:1,"inline-block":1,"run-in":1};var C=/^\s+/,B=/\s+$/;return function(H,F,G,E){if(E){if(E.nodeName.toLowerCase()=="br"){H=H.replace(C,"")}}if(D[F.get("display")]){return H}if(!G.previousSibling){H=H.replace(C,"")}if(!G.nextSibling){H=H.replace(B,"")}return H}})()};n.ready=(function(){var B=!n.recognizesMedia("all"),E=false;var D=[],H=function(){B=true;for(var K;K=D.shift();K()){}};var I=g("link"),J=g("style");function C(K){return K.disabled||G(K.sheet,K.media||"screen")}function G(M,P){if(!n.recognizesMedia(P||"all")){return true}if(!M||M.disabled){return false}try{var Q=M.cssRules,O;if(Q){search:for(var L=0,K=Q.length;O=Q[L],L<K;++L){switch(O.type){case 2:break;case 3:if(!G(O.styleSheet,O.media.mediaText)){return false}break;default:break search}}}}catch(N){}return true}function F(){if(document.createStyleSheet){return true}var L,K;for(K=0;L=I[K];++K){if(L.rel.toLowerCase()=="stylesheet"&&!C(L)){return false}}for(K=0;L=J[K];++K){if(!C(L)){return false}}return true}x.ready(function(){if(!E){E=n.getStyle(document.body).isUsable()}if(B||(E&&F())){H()}else{setTimeout(arguments.callee,10)}});return function(K){if(B){K()}else{D.push(K)}}})();function s(D){var C=this.face=D.face,B={"\u0020":1,"\u00a0":1,"\u3000":1};this.glyphs=D.glyphs;this.w=D.w;this.baseSize=parseInt(C["units-per-em"],10);this.family=C["font-family"].toLowerCase();this.weight=C["font-weight"];this.style=C["font-style"]||"normal";this.viewBox=(function(){var F=C.bbox.split(/\s+/);var E={minX:parseInt(F[0],10),minY:parseInt(F[1],10),maxX:parseInt(F[2],10),maxY:parseInt(F[3],10)};E.width=E.maxX-E.minX;E.height=E.maxY-E.minY;E.toString=function(){return[this.minX,this.minY,this.width,this.height].join(" ")};return E})();this.ascent=-parseInt(C.ascent,10);this.descent=-parseInt(C.descent,10);this.height=-this.ascent+this.descent;this.spacing=function(L,N,E){var O=this.glyphs,M,K,G,P=[],F=0,J=-1,I=-1,H;while(H=L[++J]){M=O[H]||this.missingGlyph;if(!M){continue}if(K){F-=G=K[H]||0;P[I]-=G}F+=P[++I]=~~(M.w||this.w)+N+(B[H]?E:0);K=M.k}P.total=F;return P}}function f(){var C={},B={oblique:"italic",italic:"oblique"};this.add=function(D){(C[D.style]||(C[D.style]={}))[D.weight]=D};this.get=function(H,I){var G=C[H]||C[B[H]]||C.normal||C.italic||C.oblique;if(!G){return null}I={normal:400,bold:700}[I]||parseInt(I,10);if(G[I]){return G[I]}var E={1:1,99:0}[I%100],K=[],F,D;if(E===undefined){E=I>400}if(I==500){I=400}for(var J in G){if(!k(G,J)){continue}J=parseInt(J,10);if(!F||J<F){F=J}if(!D||J>D){D=J}K.push(J)}if(I<F){I=F}if(I>D){I=D}K.sort(function(M,L){return(E?(M>=I&&L>=I)?M<L:M>L:(M<=I&&L<=I)?M>L:M<L)?-1:1});return G[K[0]]}}function r(){function D(F,G){if(F.contains){return F.contains(G)}return F.compareDocumentPosition(G)&16}function B(G){var F=G.relatedTarget;if(!F||D(this,F)){return}C(this,G.type=="mouseover")}function E(F){C(this,F.type=="mouseenter")}function C(F,G){setTimeout(function(){var H=d.get(F).options;m.replace(F,G?h(H,H.hover):H,true)},10)}this.attach=function(F){if(F.onmouseenter===undefined){q(F,"mouseover",B);q(F,"mouseout",B)}else{q(F,"mouseenter",E);q(F,"mouseleave",E)}}}function u(){var C=[],D={};function B(H){var E=[],G;for(var F=0;G=H[F];++F){E[F]=C[D[G]]}return E}this.add=function(F,E){D[F]=C.push(E)-1};this.repeat=function(){var E=arguments.length?B(arguments):C,F;for(var G=0;F=E[G++];){m.replace(F[0],F[1],true)}}}function A(){var D={},B=0;function C(E){return E.cufid||(E.cufid=++B)}this.get=function(E){var F=C(E);return D[F]||(D[F]={})}}function a(B){var D={},C={};this.extend=function(E){for(var F in E){if(k(E,F)){D[F]=E[F]}}return this};this.get=function(E){return D[E]!=undefined?D[E]:B[E]};this.getSize=function(F,E){return C[F]||(C[F]=new n.Size(this.get(F),E))};this.isUsable=function(){return !!B}}function q(C,B,D){if(C.addEventListener){C.addEventListener(B,D,false)}else{if(C.attachEvent){C.attachEvent("on"+B,function(){return D.call(C,window.event)})}}}function v(C,B){var D=d.get(C);if(D.options){return C}if(B.hover&&B.hoverables[C.nodeName.toLowerCase()]){b.attach(C)}D.options=B;return C}function j(B){var C={};return function(D){if(!k(C,D)){C[D]=B.apply(null,arguments)}return C[D]}}function c(F,E){var B=n.quotedList(E.get("fontFamily").toLowerCase()),D;for(var C=0;D=B[C];++C){if(i[D]){return i[D].get(E.get("fontStyle"),E.get("fontWeight"))}}return null}function g(B){return document.getElementsByTagName(B)}function k(C,B){return C.hasOwnProperty(B)}function h(){var C={},B,F;for(var E=0,D=arguments.length;B=arguments[E],E<D;++E){for(F in B){if(k(B,F)){C[F]=B[F]}}}return C}function o(E,M,C,N,F,D){var K=document.createDocumentFragment(),H;if(M===""){return K}var L=N.separate;var I=M.split(p[L]),B=(L=="words");if(B&&t){if(/^\s/.test(M)){I.unshift("")}if(/\s$/.test(M)){I.push("")}}for(var J=0,G=I.length;J<G;++J){H=z[N.engine](E,B?n.textAlign(I[J],C,J,G):I[J],C,N,F,D,J<G-1);if(H){K.appendChild(H)}}return K}function l(D,M){var C=D.nodeName.toLowerCase();if(M.ignore[C]){return}var E=!M.textless[C];var B=n.getStyle(v(D,M)).extend(M);var F=c(D,B),G,K,I,H,L,J;if(!F){return}for(G=D.firstChild;G;G=I){K=G.nodeType;I=G.nextSibling;if(E&&K==3){if(H){H.appendData(G.data);D.removeChild(G)}else{H=G}if(I){continue}}if(H){D.replaceChild(o(F,n.whiteSpace(H.data,B,H,J),B,M,G,D),H);H=null}if(K==1){if(G.firstChild){if(G.nodeName.toLowerCase()=="cufon"){z[M.engine](F,null,B,M,G,D)}else{arguments.callee(G,M)}}J=G}}}var t=" ".split(/\s+/).length==0;var d=new A();var b=new r();var y=new u();var e=false;var z={},i={},w={autoDetect:false,engine:null,forceHitArea:false,hover:false,hoverables:{a:true},ignore:{applet:1,canvas:1,col:1,colgroup:1,head:1,iframe:1,map:1,optgroup:1,option:1,script:1,select:1,style:1,textarea:1,title:1,pre:1},printable:true,selector:(window.Sizzle||(window.jQuery&&function(B){return jQuery(B)})||(window.dojo&&dojo.query)||(window.Ext&&Ext.query)||(window.YAHOO&&YAHOO.util&&YAHOO.util.Selector&&YAHOO.util.Selector.query)||(window.$$&&function(B){return $$(B)})||(window.$&&function(B){return $(B)})||(document.querySelectorAll&&function(B){return document.querySelectorAll(B)})||g),separate:"words",textless:{dl:1,html:1,ol:1,table:1,tbody:1,thead:1,tfoot:1,tr:1,ul:1},textShadow:"none"};var p={words:/\s/.test("\u00a0")?/[^\S\u00a0]+/:/\s+/,characters:"",none:/^/};m.now=function(){x.ready();return m};m.refresh=function(){y.repeat.apply(y,arguments);return m};m.registerEngine=function(C,B){if(!B){return m}z[C]=B;return m.set("engine",C)};m.registerFont=function(D){if(!D){return m}var B=new s(D),C=B.family;if(!i[C]){i[C]=new f()}i[C].add(B);return m.set("fontFamily",'"'+C+'"')};m.replace=function(D,C,B){C=h(w,C);if(!C.engine){return m}if(!e){n.addClass(x.root(),"cufon-active cufon-loading");n.ready(function(){n.addClass(n.removeClass(x.root(),"cufon-loading"),"cufon-ready")});e=true}if(C.hover){C.forceHitArea=true}if(C.autoDetect){delete C.fontFamily}if(typeof C.textShadow=="string"){C.textShadow=n.textShadow(C.textShadow)}if(typeof C.color=="string"&&/^-/.test(C.color)){C.textGradient=n.gradient(C.color)}else{delete C.textGradient}if(!B){y.add(D,arguments)}if(D.nodeType||typeof D=="string"){D=[D]}n.ready(function(){for(var F=0,E=D.length;F<E;++F){var G=D[F];if(typeof G=="string"){m.replace(C.selector(G),C,true)}else{l(G,C)}}});return m};m.set=function(B,C){w[B]=C;return m};return m})();Cufon.registerEngine("canvas",(function(){var b=document.createElement("canvas");if(!b||!b.getContext||!b.getContext.apply){return}b=null;var a=Cufon.CSS.supports("display","inline-block");var e=!a&&(document.compatMode=="BackCompat"||/frameset|transitional/i.test(document.doctype.publicId));var f=document.createElement("style");f.type="text/css";f.appendChild(document.createTextNode(("cufon{text-indent:0;}@media screen,projection{cufon{display:inline;display:inline-block;position:relative;vertical-align:middle;"+(e?"":"font-size:1px;line-height:1px;")+"}cufon cufontext{display:-moz-inline-box;display:inline-block;width:0;height:0;overflow:hidden;text-indent:-10000in;}"+(a?"cufon canvas{position:relative;}":"cufon canvas{position:absolute;}")+"}@media print{cufon{padding:0;}cufon canvas{display:none;}}").replace(/;/g,"!important;")));document.getElementsByTagName("head")[0].appendChild(f);function d(p,h){var n=0,m=0;var g=[],o=/([mrvxe])([^a-z]*)/g,k;generate:for(var j=0;k=o.exec(p);++j){var l=k[2].split(",");switch(k[1]){case"v":g[j]={m:"bezierCurveTo",a:[n+~~l[0],m+~~l[1],n+~~l[2],m+~~l[3],n+=~~l[4],m+=~~l[5]]};break;case"r":g[j]={m:"lineTo",a:[n+=~~l[0],m+=~~l[1]]};break;case"m":g[j]={m:"moveTo",a:[n=~~l[0],m=~~l[1]]};break;case"x":g[j]={m:"closePath"};break;case"e":break generate}h[g[j].m].apply(h,g[j].a)}return g}function c(m,k){for(var j=0,h=m.length;j<h;++j){var g=m[j];k[g.m].apply(k,g.a)}}return function(V,w,P,t,C,W){var k=(w===null);if(k){w=C.getAttribute("alt")}var A=V.viewBox;var m=P.getSize("fontSize",V.baseSize);var B=0,O=0,N=0,u=0;var z=t.textShadow,L=[];if(z){for(var U=z.length;U--;){var F=z[U];var K=m.convertFrom(parseFloat(F.offX));var I=m.convertFrom(parseFloat(F.offY));L[U]=[K,I];if(I<B){B=I}if(K>O){O=K}if(I>N){N=I}if(K<u){u=K}}}var Z=Cufon.CSS.textTransform(w,P).split("");var E=V.spacing(Z,~~m.convertFrom(parseFloat(P.get("letterSpacing"))||0),~~m.convertFrom(parseFloat(P.get("wordSpacing"))||0));if(!E.length){return null}var h=E.total;O+=A.width-E[E.length-1];u+=A.minX;var s,n;if(k){s=C;n=C.firstChild}else{s=document.createElement("cufon");s.className="cufon cufon-canvas";s.setAttribute("alt",w);n=document.createElement("canvas");s.appendChild(n);if(t.printable){var S=document.createElement("cufontext");S.appendChild(document.createTextNode(w));s.appendChild(S)}}var aa=s.style;var H=n.style;var j=m.convert(A.height);var Y=Math.ceil(j);var M=Y/j;var G=M*Cufon.CSS.fontStretch(P.get("fontStretch"));var J=h*G;var Q=Math.ceil(m.convert(J+O-u));var o=Math.ceil(m.convert(A.height-B+N));n.width=Q;n.height=o;H.width=Q+"px";H.height=o+"px";B+=A.minY;H.top=Math.round(m.convert(B-V.ascent))+"px";H.left=Math.round(m.convert(u))+"px";var r=Math.max(Math.ceil(m.convert(J)),0)+"px";if(a){aa.width=r;aa.height=m.convert(V.height)+"px"}else{aa.paddingLeft=r;aa.paddingBottom=(m.convert(V.height)-1)+"px"}var X=n.getContext("2d"),D=j/A.height;X.scale(D,D*M);X.translate(-u,-B);X.save();function T(){var x=V.glyphs,ab,l=-1,g=-1,y;X.scale(G,1);while(y=Z[++l]){var ab=x[Z[l]]||V.missingGlyph;if(!ab){continue}if(ab.d){X.beginPath();if(ab.code){c(ab.code,X)}else{ab.code=d("m"+ab.d,X)}X.fill()}X.translate(E[++g],0)}X.restore()}if(z){for(var U=z.length;U--;){var F=z[U];X.save();X.fillStyle=F.color;X.translate.apply(X,L[U]);T()}}var q=t.textGradient;if(q){var v=q.stops,p=X.createLinearGradient(0,A.minY,0,A.maxY);for(var U=0,R=v.length;U<R;++U){p.addColorStop.apply(p,v[U])}X.fillStyle=p}else{X.fillStyle=P.get("color")}T();return s}})());Cufon.registerEngine("vml",(function(){var e=document.namespaces;if(!e){return}e.add("cvml","urn:schemas-microsoft-com:vml");e=null;var b=document.createElement("cvml:shape");b.style.behavior="url(#default#VML)";if(!b.coordsize){return}b=null;var h=(document.documentMode||0)<8;document.write(('<style type="text/css">cufoncanvas{text-indent:0;}@media screen{cvml\\:shape,cvml\\:rect,cvml\\:fill,cvml\\:shadow{behavior:url(#default#VML);display:block;antialias:true;position:absolute;}cufoncanvas{position:absolute;text-align:left;}cufon{display:inline-block;position:relative;vertical-align:'+(h?"middle":"text-bottom")+";}cufon cufontext{position:absolute;left:-10000in;font-size:1px;}a cufon{cursor:pointer}}@media print{cufon cufoncanvas{display:none;}}</style>").replace(/;/g,"!important;"));function c(i,j){return a(i,/(?:em|ex|%)$|^[a-z-]+$/i.test(j)?"1em":j)}function a(l,m){if(m==="0"){return 0}if(/px$/i.test(m)){return parseFloat(m)}var k=l.style.left,j=l.runtimeStyle.left;l.runtimeStyle.left=l.currentStyle.left;l.style.left=m.replace("%","em");var i=l.style.pixelLeft;l.style.left=k;l.runtimeStyle.left=j;return i}function f(l,k,j,n){var i="computed"+n,m=k[i];if(isNaN(m)){m=k.get(n);k[i]=m=(m=="normal")?0:~~j.convertFrom(a(l,m))}return m}var g={};function d(p){var q=p.id;if(!g[q]){var n=p.stops,o=document.createElement("cvml:fill"),i=[];o.type="gradient";o.angle=180;o.focus="0";o.method="sigma";o.color=n[0][1];for(var m=1,l=n.length-1;m<l;++m){i.push(n[m][0]*100+"% "+n[m][1])}o.colors=i.join(",");o.color2=n[l][1];g[q]=o}return g[q]}return function(ac,G,Y,C,K,ad,W){var n=(G===null);if(n){G=K.alt}var I=ac.viewBox;var p=Y.computedFontSize||(Y.computedFontSize=new Cufon.CSS.Size(c(ad,Y.get("fontSize"))+"px",ac.baseSize));var y,q;if(n){y=K;q=K.firstChild}else{y=document.createElement("cufon");y.className="cufon cufon-vml";y.alt=G;q=document.createElement("cufoncanvas");y.appendChild(q);if(C.printable){var Z=document.createElement("cufontext");Z.appendChild(document.createTextNode(G));y.appendChild(Z)}if(!W){y.appendChild(document.createElement("cvml:shape"))}}var ai=y.style;var R=q.style;var l=p.convert(I.height),af=Math.ceil(l);var V=af/l;var P=V*Cufon.CSS.fontStretch(Y.get("fontStretch"));var U=I.minX,T=I.minY;R.height=af;R.top=Math.round(p.convert(T-ac.ascent));R.left=Math.round(p.convert(U));ai.height=p.convert(ac.height)+"px";var F=Y.get("color");var ag=Cufon.CSS.textTransform(G,Y).split("");var L=ac.spacing(ag,f(ad,Y,p,"letterSpacing"),f(ad,Y,p,"wordSpacing"));if(!L.length){return null}var k=L.total;var x=-U+k+(I.width-L[L.length-1]);var ah=p.convert(x*P),X=Math.round(ah);var O=x+","+I.height,m;var J="r"+O+"ns";var u=C.textGradient&&d(C.textGradient);var o=ac.glyphs,S=0;var H=C.textShadow;var ab=-1,aa=0,w;while(w=ag[++ab]){var D=o[ag[ab]]||ac.missingGlyph,v;if(!D){continue}if(n){v=q.childNodes[aa];while(v.firstChild){v.removeChild(v.firstChild)}}else{v=document.createElement("cvml:shape");q.appendChild(v)}v.stroked="f";v.coordsize=O;v.coordorigin=m=(U-S)+","+T;v.path=(D.d?"m"+D.d+"xe":"")+"m"+m+J;v.fillcolor=F;if(u){v.appendChild(u.cloneNode(false))}var ae=v.style;ae.width=X;ae.height=af;if(H){var s=H[0],r=H[1];var B=Cufon.CSS.color(s.color),z;var N=document.createElement("cvml:shadow");N.on="t";N.color=B.color;N.offset=s.offX+","+s.offY;if(r){z=Cufon.CSS.color(r.color);N.type="double";N.color2=z.color;N.offset2=r.offX+","+r.offY}N.opacity=B.opacity||(z&&z.opacity)||1;v.appendChild(N)}S+=L[aa++]}var M=v.nextSibling,t,A;if(C.forceHitArea){if(!M){M=document.createElement("cvml:rect");M.stroked="f";M.className="cufon-vml-cover";t=document.createElement("cvml:fill");t.opacity=0;M.appendChild(t);q.appendChild(M)}A=M.style;A.width=X;A.height=af}else{if(M){q.removeChild(M)}}ai.width=Math.max(Math.ceil(p.convert(k*P)),0);if(h){var Q=Y.computedYAdjust;if(Q===undefined){var E=Y.get("lineHeight");if(E=="normal"){E="1em"}else{if(!isNaN(E)){E+="em"}}Y.computedYAdjust=Q=0.5*(a(ad,E)-parseFloat(ai.height))}if(Q){ai.marginTop=Math.ceil(Q)+"px";ai.marginBottom=Q+"px"}}return y}})()); >+ >+/* >+ * vegur font >+ * Copyright (C) 2004-2008 dot colon. All rights reserved. >+ */ >+Cufon.registerFont({"w":184,"face":{"font-family":"Vegur","font-weight":300,"font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0","ascent":"277","descent":"-83","x-height":"4","bbox":"-15 -270 307 90","underline-thickness":"18","underline-position":"-18","unicode-range":"U+0020-U+201D"},"glyphs":{" ":{"w":85},"A":{"d":"180,0r-29,-86r-98,0r-29,86r-15,0r86,-244r15,0r85,244r-15,0xm58,-99r89,0r-45,-127","w":207,"k":{"y":9,"Y":28,"w":10,"W":22,"V":24,"v":12,"T":27}},"a":{"d":"36,-168v44,-19,103,-8,103,48r0,120r-13,0v-1,-10,1,-25,-2,-33v-19,55,-107,45,-107,-18v0,-50,57,-67,108,-56v8,-57,-44,-69,-88,-49xm75,-8v36,1,55,-39,50,-87v-41,-9,-92,1,-92,42v0,28,18,45,42,45","w":167},"@":{"d":"179,-209v58,0,103,53,103,103v0,53,-29,88,-66,88v-15,0,-26,-10,-32,-29v-21,46,-87,43,-89,-16v-2,-66,52,-106,116,-87v-2,35,-32,121,9,121v27,0,49,-27,49,-71v0,-54,-38,-98,-97,-98v-75,0,-133,56,-133,127v0,94,99,132,172,87r1,10v-76,49,-185,4,-185,-90v0,-89,68,-145,152,-145xm140,-26v46,0,51,-71,58,-116v-53,-11,-92,23,-91,75v0,27,16,41,33,41","w":316},"`":{"d":"15,-253v7,1,17,-2,19,4v7,14,16,29,24,42r-14,0v-8,-12,-21,-31,-29,-46","w":88},"B":{"d":"113,-129v30,11,54,29,54,60v0,61,-70,81,-136,67r0,-240v59,-12,130,3,130,54v0,30,-24,52,-48,59xm45,-131v52,3,95,-3,100,-54v4,-41,-53,-55,-100,-45r0,99xm151,-67v0,-43,-51,-57,-106,-52r0,105v52,11,106,-7,106,-53","w":185},"b":{"d":"45,-139v38,-66,137,-39,137,49v0,89,-101,126,-137,57r-1,33r-13,0r0,-259r14,0r0,120xm104,-164v-48,0,-59,42,-59,95v0,36,27,60,59,60v35,0,62,-29,62,-78v0,-46,-22,-77,-62,-77","w":199},"C":{"d":"16,-121v0,-101,94,-151,180,-116r-2,13v-80,-32,-162,8,-162,102v0,95,79,135,158,101r2,13v-86,34,-176,-6,-176,-113","w":208},"c":{"d":"33,-89v0,70,57,96,115,70r2,13v-62,27,-133,-3,-133,-79v0,-80,75,-108,135,-81r-2,12v-50,-24,-117,-5,-117,65","w":164},"D":{"d":"31,-242v103,-19,195,21,192,113v-4,99,-86,146,-192,128r0,-241xm45,-230r0,217v91,14,159,-28,162,-113v3,-80,-71,-120,-162,-104","w":238},"d":{"d":"154,-33v-39,67,-137,37,-137,-50v0,-89,101,-125,137,-56r0,-120r14,0r0,259r-13,0xm95,-9v48,0,59,-41,59,-94v0,-36,-27,-61,-59,-61v-35,0,-62,29,-62,78v0,46,22,77,62,77","w":199},"#":{"d":"168,-147r-37,0r-9,57r38,0r0,11r-40,0r-11,66r-11,0r10,-66r-42,0r-11,66r-11,0r10,-66r-35,0r0,-11r37,0r10,-57r-39,0r0,-11r40,0r11,-66r12,0r-11,66r42,0r11,-66r12,0r-11,66r35,0r0,11xm110,-90r10,-57r-43,0r-9,57r42,0","w":187},"\"":{"d":"36,-180r-12,0r-1,-66v-1,-9,8,-7,16,-7xm67,-180r-11,0r-2,-66v0,-8,9,-7,17,-7","w":90},"!":{"d":"54,-8v0,17,-23,14,-23,0v0,-6,5,-11,11,-11v6,0,12,5,12,11xm49,-50r-13,0r-2,-194r17,0","w":84},"E":{"d":"45,-13r109,0r0,13r-123,0r0,-244r120,0r0,13r-106,0r0,99r94,0r0,12r-94,0r0,107","w":174},"e":{"d":"97,-177v46,0,66,43,60,91r-125,0v-3,67,55,92,110,68r1,12v-60,25,-127,3,-126,-79v0,-49,32,-92,80,-92xm33,-98r111,0v0,-39,-16,-67,-50,-67v-36,0,-59,32,-61,67","w":176},"F":{"d":"45,0r-14,0r0,-244r120,0r0,13r-106,0r0,102r94,0r0,13r-94,0r0,116","w":160},"f":{"d":"41,-173v-5,-65,31,-105,82,-85r-2,12v-43,-17,-72,16,-65,73r46,0r0,13r-46,0r0,160r-15,0r0,-160r-28,0r0,-13r28,0","w":112},"G":{"d":"16,-120v0,-105,96,-151,179,-116r-2,14v-75,-35,-161,4,-161,100v0,94,76,130,156,102r0,-83r-61,0r0,-13r75,0r0,106v-90,32,-186,2,-186,-110","w":224},"g":{"d":"167,-173r0,149v2,98,-70,114,-136,86r2,-13v62,34,135,2,119,-85v-37,69,-135,36,-135,-49v0,-89,101,-121,136,-54r1,-34r13,0xm94,-164v-35,0,-61,30,-61,77v0,46,23,76,62,76v46,0,58,-40,58,-92v0,-36,-27,-61,-59,-61","w":198},"H":{"d":"193,-244r15,0r0,244r-15,0r0,-120r-148,0r0,120r-14,0r0,-244r14,0r0,112r148,0r0,-112","w":238},"h":{"d":"45,-259r1,121v13,-25,36,-39,62,-39v76,1,48,106,53,177r-14,0v-6,-62,24,-164,-44,-164v-33,0,-58,28,-58,62r0,102r-14,0r0,-259r14,0","w":188},"I":{"d":"45,0r-14,0r0,-244r14,0r0,244","w":76},"i":{"d":"31,0r0,-173r14,0r0,173r-14,0xm38,-220v-6,0,-11,-5,-11,-11v0,-6,5,-11,11,-11v6,0,11,5,11,11v0,6,-5,11,-11,11","w":76},"J":{"d":"103,-78v1,70,-46,93,-101,77r2,-13v46,14,85,0,84,-63r0,-167r15,0r0,166","w":131},"j":{"d":"50,-173v-7,95,29,240,-63,247r-2,-13v31,-6,50,-22,50,-73r0,-161r15,0xm42,-220v-6,0,-10,-5,-10,-11v0,-6,4,-11,10,-11v6,0,11,5,11,11v0,6,-5,11,-11,11","w":80},"K":{"d":"185,-244r-104,117r112,127r-20,0r-102,-117r-26,30r0,87r-14,0r0,-244r14,0v2,45,-4,98,2,139r120,-139r18,0","w":189},"k":{"d":"156,-173r-71,71r80,102r-18,0r-72,-91r-30,31r0,60r-14,0r0,-259r14,0r1,183v17,-20,91,-97,91,-97r19,0","w":164},"L":{"d":"31,-244r14,0r0,231r113,0r0,13r-127,0r0,-244","w":167},"l":{"d":"45,0r-14,0r0,-259r14,0r0,259","w":76},"M":{"d":"232,-244r18,0r8,244r-14,0r-7,-225r-87,218r-14,0r-87,-218r-6,225r-13,0r9,-244r18,0r87,220","w":289},"m":{"d":"103,-176v28,0,39,24,49,44v23,-66,109,-58,109,19r0,113r-15,0v-6,-59,22,-163,-40,-163v-64,1,-53,95,-53,163r-14,0v-5,-60,21,-162,-41,-163v-64,0,-53,95,-53,163r-14,0r0,-173r13,0v1,11,-1,26,2,35v12,-24,30,-38,57,-38","w":288},"N":{"d":"213,-244r0,244r-19,0r-152,-230r1,230r-13,0r0,-244r20,0r151,230r-1,-230r13,0","w":243},"O":{"d":"126,4v-66,0,-110,-60,-110,-126v0,-66,44,-126,110,-126v66,0,111,60,111,126v0,66,-45,126,-111,126xm126,-9v58,0,95,-54,95,-113v0,-59,-37,-113,-95,-113v-58,0,-94,54,-94,113v0,59,36,113,94,113","w":252},"o":{"d":"17,-86v0,-55,34,-90,79,-90v45,0,79,35,79,90v0,55,-34,90,-79,90v-45,0,-79,-35,-79,-90xm33,-86v0,46,24,77,63,77v39,0,63,-31,63,-77v0,-46,-24,-78,-63,-78v-39,0,-63,32,-63,78","w":191},"P":{"d":"45,-231r0,114v53,9,103,-10,103,-60v0,-50,-51,-62,-103,-54xm31,0r0,-241v62,-15,136,3,133,60v-3,62,-57,86,-119,77r0,104r-14,0","w":177,"k":{"q":8,"o":8,"J":22,"g":8,"e":8,"d":8,"c":8,"a":9}},"p":{"d":"45,-139v38,-66,137,-39,137,49v0,89,-101,126,-137,57r0,104r-14,0r0,-244r13,0xm104,-164v-48,0,-59,42,-59,95v0,36,27,60,59,60v35,0,62,-29,62,-78v0,-46,-22,-77,-62,-77","w":199},"q":{"d":"154,-33v-39,67,-137,37,-137,-50v0,-89,101,-125,137,-56r1,-34r13,0r0,244r-14,0r0,-104xm95,-9v48,0,59,-41,59,-94v0,-36,-27,-61,-59,-61v-35,0,-62,29,-62,78v0,46,22,77,62,77","w":199},"Q":{"d":"237,-122v0,53,-29,102,-75,119r13,51r-14,4r-12,-51v-79,17,-133,-50,-133,-123v0,-66,44,-126,110,-126v66,0,111,60,111,126xm126,-9v58,0,95,-54,95,-113v0,-59,-37,-113,-95,-113v-58,0,-94,54,-94,113v0,59,36,113,94,113","w":252},"R":{"d":"45,-123v56,4,105,-5,105,-57v0,-48,-56,-61,-105,-49r0,106xm155,0v-15,-44,-9,-112,-66,-111r-44,0r0,111r-14,0r0,-240v61,-16,135,-1,135,56v0,36,-28,57,-52,66v46,10,40,76,58,118r-17,0","w":183},"r":{"d":"93,-177r-1,17v-58,5,-46,93,-47,160r-14,0r0,-174r13,0v1,14,-1,33,2,45v9,-28,26,-46,47,-48","w":97,"k":{"y":-4,"v":-4,"t":-8}},"s":{"d":"104,-42v7,-38,-87,-43,-78,-89v-3,-44,56,-54,87,-37r-1,12v-22,-13,-71,-12,-71,22v0,46,90,48,79,88v3,49,-65,61,-102,40r1,-12v30,15,86,14,85,-24","w":140},"S":{"d":"137,-60v0,-62,-109,-60,-109,-126v0,-59,72,-74,116,-53r-2,13v-33,-18,-102,-9,-98,37v-8,63,118,61,109,125v5,60,-79,82,-135,59r2,-14v43,19,117,13,117,-41","w":176},"T":{"d":"165,-244r0,13r-72,0r0,231r-15,0r0,-231r-73,0r0,-13r160,0","w":170,"k":{"n":28,"z":28,"y":19,"x":26,"w":21,"v":23,"u":28,"s":28,"r":28,"q":26,"o":26,"m":28,"J":31,"g":26,"e":26,"d":26,"c":26,"a":29,"A":27}},"t":{"d":"88,-173r0,13r-40,0r0,119v0,34,22,37,45,28r1,12v-27,11,-60,5,-60,-35r0,-124r-26,0r0,-13r26,0r0,-36r14,0r0,36r40,0","w":109},"U":{"d":"185,-82v0,55,-34,86,-79,86v-45,0,-78,-34,-78,-81r0,-167r14,0r0,163v0,46,28,72,65,72v95,0,56,-145,64,-235r14,0r0,162","w":211},"u":{"d":"143,-35v-14,26,-37,39,-62,39v-77,-1,-47,-106,-53,-177r14,0v6,62,-23,164,44,164v32,0,57,-28,57,-62r0,-102r15,0r0,173r-14,0","w":188},"v":{"d":"146,-173r14,0r-69,173r-15,0r-69,-173r15,0r62,157","w":165},"V":{"d":"91,0r-85,-244r15,0r78,226r78,-226r15,0r-86,244r-15,0","w":195,"k":{"z":17,"s":22,"q":14,"o":14,"J":22,"e":14,"d":14,"c":14,"a":19,"A":24}},"W":{"d":"293,-244r14,0r-75,244r-14,0r-61,-224r-61,224r-15,0r-74,-244r15,0r67,225r61,-225r15,0r61,225","w":312,"k":{"z":15,"s":21,"q":12,"o":12,"J":21,"g":12,"e":12,"d":12,"c":12,"a":17,"A":22}},"w":{"d":"242,-173r14,0r-60,173r-15,0r-49,-154r-48,154r-16,0r-60,-173r16,0r53,155r49,-155r15,0r49,155","w":263},"x":{"d":"147,-173r-60,84r65,89r-18,0r-56,-77r-56,77r-16,0r64,-89r-61,-84r18,0v19,23,32,52,53,73r51,-73r16,0","w":159},"X":{"d":"167,-244r-72,119r77,125r-17,0r-68,-113r-66,113r-16,0r76,-125r-73,-119r16,0r65,107r63,-107r15,0","w":174},"Y":{"d":"163,-244r16,0r-79,137r0,107r-14,0r0,-105r-80,-139r17,0r71,125","w":183,"k":{"n":27,"z":27,"u":27,"s":28,"r":27,"q":24,"o":24,"m":27,"J":27,"g":24,"d":24,"c":24,"a":26,"A":28}},"y":{"d":"91,1v-19,46,-40,66,-74,73r-1,-13v27,-5,49,-25,61,-61r-70,-173r15,0r63,157r62,-157r14,0","w":163},"z":{"d":"128,-160r-95,147r100,0r0,13r-116,0r0,-13r95,-147r-87,0r0,-13r103,0r0,13","w":149},"Z":{"d":"179,-13r0,13r-163,0r0,-13r141,-218r-130,0r0,-13r146,0r0,13r-141,218r147,0","w":195},"{":{"d":"29,-105r0,-11v45,0,20,-49,20,-81v0,-44,18,-59,53,-59r0,11v-61,-2,-39,57,-35,99v2,24,-6,28,-20,36v57,15,-34,138,55,134r0,11v-35,0,-53,-15,-53,-59v0,-32,25,-81,-20,-81","w":118},"|":{"d":"49,90r-12,0r0,-360r12,0r0,360","w":85},"}":{"d":"89,-105v-45,0,-20,49,-20,81v0,44,-18,59,-53,59r0,-11v61,2,40,-56,36,-99v-3,-24,6,-28,20,-36v-57,-15,34,-138,-56,-134r0,-11v35,0,53,15,53,59v0,32,-25,81,20,81r0,11","w":118},"~":{"d":"190,-107v-4,75,-103,7,-135,7v-13,0,-19,7,-19,23r-10,0v3,-75,104,-7,134,-7v13,0,19,-7,19,-23r11,0","w":215},"_":{"d":"172,31r-163,0r0,-11r163,0r0,11","w":181},"^":{"d":"103,-235r65,140r-12,0r-60,-129r-59,129r-13,0r66,-140r13,0","w":192},"]":{"d":"17,-241r0,-11r53,0r0,283r-53,0r0,-10r42,0r0,-262r-42,0","w":106},"\\":{"d":"11,-252r112,265r-12,0r-113,-265r13,0","w":121},"[":{"d":"90,-241r-42,0r0,262r42,0r0,10r-53,0r0,-283r53,0r0,11","w":106},";":{"d":"49,-166v0,15,-23,13,-23,0v0,-6,5,-12,11,-12v6,0,12,6,12,12xm26,-10v1,-8,11,-6,19,-6v-8,25,-18,53,-27,73r-14,2v8,-23,18,-52,22,-69","w":72},":":{"d":"47,-166v0,15,-23,13,-23,0v0,-6,5,-12,11,-12v6,0,12,6,12,12xm35,-19v6,0,12,5,12,11v0,17,-23,14,-23,0v0,-6,5,-11,11,-11","w":70},"9":{"d":"91,-240v40,0,73,35,73,96v0,79,-55,143,-114,148r-1,-13v55,-8,95,-61,99,-122v-25,62,-128,43,-128,-30v0,-48,31,-79,71,-79xm91,-106v32,0,56,-22,56,-52v0,-37,-26,-70,-57,-70v-28,0,-54,24,-54,65v0,33,22,57,55,57"},"8":{"d":"163,-62v2,87,-142,86,-142,5v0,-36,26,-53,56,-69v-24,-11,-46,-29,-46,-59v0,-32,28,-55,64,-55v33,0,63,23,63,53v0,30,-24,49,-49,60v34,16,54,34,54,65xm46,-185v0,28,21,43,48,53v56,-9,68,-94,1,-96v-29,0,-49,19,-49,43xm92,-9v29,0,56,-18,56,-50v0,-31,-23,-49,-57,-62v-33,13,-55,31,-55,60v0,31,25,52,56,52"},"7":{"d":"163,-237r0,13r-94,224r-15,0r94,-224r-122,0r0,-13r137,0"},"6":{"d":"93,4v-41,0,-72,-36,-72,-97v0,-79,54,-142,113,-147r2,12v-54,7,-99,63,-99,122v25,-63,128,-42,128,30v0,48,-32,80,-72,80xm94,-131v-32,0,-56,23,-56,52v0,38,25,70,56,70v28,0,55,-23,55,-64v0,-33,-22,-58,-55,-58"},"5":{"d":"48,-132v50,-22,112,3,112,59v0,65,-77,95,-134,66r1,-13v49,25,115,6,117,-49v2,-55,-56,-70,-96,-49r-13,-1r3,-118r110,0r0,13r-97,0"},"4":{"d":"144,-76r32,0r0,13r-32,0r0,63r-14,0r0,-63r-115,0r0,-12r114,-162r15,0r0,161xm130,-76r0,-140r-98,140r98,0"},"3":{"d":"159,-65v0,65,-79,84,-136,57r2,-13v45,23,117,14,118,-41v0,-31,-22,-50,-68,-52r0,-14v31,-2,63,-25,63,-56v0,-46,-61,-54,-100,-32r-2,-13v42,-23,117,-10,117,40v0,33,-29,53,-55,64v32,6,61,27,61,60"},"2":{"d":"157,-13r0,13r-133,0r0,-11v29,-40,127,-151,114,-169v4,-48,-64,-60,-101,-34r-2,-13v48,-29,122,-9,118,45v13,23,-72,120,-110,169r114,0"},"1":{"d":"44,-210v23,-8,40,-23,68,-27r0,237r-15,0r0,-218r-51,20"},"0":{"d":"93,-240v45,0,76,45,76,122v0,77,-31,122,-76,122v-45,0,-77,-45,-77,-122v0,-77,32,-122,77,-122xm93,-9v33,0,60,-39,60,-109v0,-70,-27,-110,-60,-110v-33,0,-61,40,-61,110v0,70,28,109,61,109"},"\/":{"d":"111,-252r12,0r-112,265r-13,0","w":121},".":{"d":"35,-19v6,0,12,5,12,11v0,17,-23,14,-23,0v0,-6,5,-11,11,-11","w":70},"-":{"d":"101,-98r0,11r-73,0r0,-11r73,0","w":129},",":{"d":"26,-10v1,-8,11,-6,19,-6v-8,25,-18,53,-27,73r-14,2v8,-23,18,-52,22,-69","w":69},"+":{"d":"116,-98r80,0r0,11r-80,0r0,87r-12,0r0,-87r-80,0r0,-11r80,0r0,-86r12,0r0,86","w":219},"*":{"d":"73,-243r14,0v0,17,-4,37,-2,52r47,-19r4,13v-16,5,-36,7,-50,14r33,39r-11,8r-28,-43r-28,43r-11,-8v10,-14,23,-25,32,-40r-49,-13r4,-13r48,19","w":159},")":{"d":"74,-111v0,59,-21,114,-43,145r-11,0v53,-68,54,-221,0,-289r11,0v22,31,43,85,43,144","w":105},"'":{"d":"45,-180r-11,0r-2,-66v0,-8,9,-7,17,-7","w":68},"%":{"d":"272,-58v0,34,-19,62,-50,62v-31,0,-50,-28,-50,-62v0,-34,19,-61,50,-61v31,0,50,27,50,61xm260,-58v0,-32,-16,-50,-38,-50v-22,0,-37,18,-37,50v0,32,15,51,37,51v22,0,38,-19,38,-51xm125,-179v0,34,-19,61,-50,61v-31,0,-49,-27,-49,-61v0,-34,18,-61,49,-61v31,0,50,27,50,61xm113,-179v0,-32,-16,-51,-38,-51v-22,0,-37,19,-37,51v0,32,15,50,37,50v22,0,38,-18,38,-50xm225,-248r13,0r-165,255r-14,0","w":297},"$":{"d":"53,-176v-10,48,110,59,97,107v0,31,-22,53,-54,57r0,34r-11,0r0,-33v-19,0,-36,-4,-52,-10r3,-13v35,17,101,16,99,-30v11,-48,-98,-56,-98,-109v0,-30,21,-47,48,-51r0,-35r12,0r0,34v18,0,31,4,42,9r-2,13v-28,-15,-87,-13,-84,27"},"&":{"d":"220,0r-20,0v-8,-8,-13,-18,-22,-25v-41,44,-157,41,-158,-35v-1,-37,27,-55,62,-80v-17,-20,-32,-37,-32,-59v0,-32,28,-49,51,-49v30,0,48,21,48,47v1,29,-21,43,-47,64r79,92v14,-18,22,-45,23,-76r14,0v-2,37,-13,66,-29,85xm100,-235v-46,0,-42,61,-6,88v25,-17,39,-28,39,-52v0,-21,-14,-36,-33,-36xm36,-62v-2,60,101,67,134,27r-80,-95v-34,22,-54,38,-54,68","w":231},"(":{"d":"32,-111v0,-59,21,-113,43,-144r11,0v-53,68,-54,221,0,289r-11,0v-22,-31,-43,-86,-43,-145","w":105},"<":{"d":"152,-29r0,13r-134,-73r0,-13r134,-72r0,13r-123,66","w":178},"=":{"d":"195,-49r-163,0r0,-11r163,0r0,11xm195,-124r-163,0r0,-11r163,0r0,11","w":226},">":{"d":"150,-95r-124,-66r0,-13r134,72r0,13r-134,73r0,-13","w":178},"?":{"d":"46,-50v-9,-65,52,-101,56,-151v3,-35,-54,-47,-84,-26r-1,-13v39,-21,101,-9,101,38v0,40,-71,93,-58,152r-14,0xm53,4v17,0,14,-23,0,-23v-6,0,-11,5,-11,11v0,6,5,12,11,12","w":138},"\u2019":{"d":"42,-248v2,-8,12,-4,20,-5v-8,25,-18,52,-27,72r-14,3v8,-23,17,-53,21,-70","w":85},"\u2018":{"d":"43,-184v-2,8,-11,6,-20,6v8,-25,18,-53,27,-73r14,-2v-8,23,-17,52,-21,69","w":85},"\u201c":{"d":"78,-184v-2,8,-11,6,-20,6v8,-25,18,-53,27,-73r14,-2v-8,23,-17,52,-21,69xm43,-184v-2,8,-11,6,-20,6v8,-25,18,-53,27,-73r14,-2v-8,23,-17,52,-21,69","w":120},"\u201d":{"d":"42,-248v2,-8,12,-4,20,-5v-8,25,-18,52,-27,72r-14,3v8,-23,17,-53,21,-70xm77,-248v2,-8,12,-4,20,-5v-8,25,-18,52,-27,72r-14,3v8,-23,17,-53,21,-70","w":120},"n":{"d":"44,-174v1,11,-1,27,2,36v13,-25,36,-39,62,-39v76,1,48,106,53,177r-14,0v-6,-62,24,-164,-44,-164v-33,0,-58,28,-58,62r0,102r-14,0r0,-174r13,0","w":188},"\u00a0":{"w":85}}});Cufon.registerFont({"w":200,"face":{"font-family":"Vegur","font-weight":700,"font-stretch":"normal","units-per-em":"360","panose-1":"0 0 0 0 0 0 0 0 0 0","ascent":"277","descent":"-83","bbox":"-22 -270 330 90","underline-thickness":"18","underline-position":"-18","unicode-range":"U+0020-U+201D"},"glyphs":{" ":{"w":70},"`":{"d":"8,-253v17,2,39,-6,46,7v8,14,23,39,35,57r-37,1v-13,-16,-33,-46,-44,-65","w":112},"@":{"d":"184,-215v65,0,109,46,109,103v0,61,-33,94,-75,94v-23,0,-38,-8,-43,-25v-18,45,-90,31,-90,-24v0,-75,78,-105,142,-78r-11,72v-3,22,3,29,16,29v18,0,32,-26,32,-58v0,-51,-30,-86,-93,-86v-62,0,-122,46,-122,115v0,90,94,120,166,79r3,25v-86,47,-197,10,-198,-95v0,-92,77,-151,164,-151xm147,-50v24,7,33,-40,35,-69v-30,-8,-54,10,-54,46v0,15,9,23,19,23","w":323},"a":{"d":"30,-168v53,-23,134,-12,134,51r0,117r-47,0v-1,-7,1,-17,-2,-22v-22,43,-104,29,-104,-33v0,-47,54,-65,105,-57v2,-38,-51,-34,-81,-20xm85,-33v20,1,32,-16,31,-50v-23,-5,-55,-1,-55,25v0,14,9,25,24,25","w":185},"B":{"d":"191,-75v3,74,-90,86,-167,72r0,-237v71,-14,160,-6,160,55v0,26,-18,46,-41,54v31,9,48,28,48,56xm72,-144v32,2,60,-1,60,-31v0,-28,-27,-36,-60,-31r0,62xm139,-70v0,-33,-30,-40,-67,-37r0,69v34,4,67,0,67,-32","w":205},"!":{"d":"81,-25v0,16,-13,29,-29,29v-16,0,-28,-13,-28,-29v0,-16,12,-28,28,-28v16,0,29,12,29,28xm72,-71r-40,0r-3,-173r46,0","w":104},"\"":{"d":"53,-152r-35,0r-2,-88v-1,-16,28,-13,45,-13xm123,-152r-35,0r-2,-88v-1,-16,28,-13,46,-13","w":144},"#":{"d":"182,-138r-37,0r-6,39r33,0r0,27r-37,0r-10,59r-30,0r10,-59r-31,0r-9,59r-30,0r9,-59r-32,0r0,-27r37,0r6,-39r-33,0r0,-27r37,0r10,-59r30,0r-10,59r31,0r10,-59r29,0r-9,59r32,0r0,27xm109,-99r7,-39r-31,0r-6,39r30,0","w":194},"$":{"d":"111,-143v83,14,79,120,2,131r0,37r-35,0r0,-36v-18,-1,-37,-6,-51,-14r5,-37v21,9,43,14,61,14v19,0,30,-9,30,-24v0,-15,-11,-24,-34,-28v-72,-12,-77,-106,-9,-121r0,-41r36,0r0,38v19,1,36,7,47,13r-5,38v-18,-13,-72,-23,-78,5v0,13,8,21,31,25"},"%":{"d":"227,-119v34,0,61,25,61,61v0,36,-27,62,-61,62v-34,0,-61,-26,-61,-62v0,-36,27,-61,61,-61xm227,-32v11,0,20,-9,20,-26v0,-17,-9,-26,-20,-26v-11,0,-21,9,-21,26v0,17,10,26,21,26xm79,-240v34,0,61,25,61,61v0,36,-27,61,-61,61v-34,0,-61,-25,-61,-61v0,-36,27,-61,61,-61xm79,-153v11,0,21,-9,21,-26v0,-17,-10,-26,-21,-26v-11,0,-20,9,-20,26v0,17,9,26,20,26xm218,-248r35,0r-165,255r-35,0","w":306},"&":{"d":"253,0r-65,0v-5,-5,-7,-12,-13,-16v-50,38,-162,21,-162,-51v0,-33,22,-55,58,-74v-13,-12,-27,-29,-27,-53v0,-33,31,-54,69,-54v39,0,67,26,67,55v1,27,-18,43,-43,60r46,53v6,-9,11,-25,12,-42r48,0v-1,33,-13,57,-30,76xm112,-210v-27,2,-18,38,-1,45v19,-5,28,-44,1,-45xm65,-70v0,37,62,44,84,22r-52,-63v-18,9,-32,20,-32,41","w":261},"'":{"d":"53,-152r-35,0r-2,-88v-1,-16,28,-13,45,-13","w":74},"(":{"d":"99,-255v-42,97,-42,191,0,289r-35,0v-20,-33,-39,-88,-39,-145v0,-57,19,-111,39,-144r35,0","w":111},")":{"d":"13,34v42,-98,42,-192,0,-289r35,0v20,33,39,87,39,144v0,57,-19,112,-39,145r-35,0","w":111},"*":{"d":"73,-243r39,0v-1,18,-10,43,-6,57r50,-24r12,36v-18,5,-39,6,-55,12r39,41r-32,23v-10,-16,-17,-35,-28,-50r-27,50r-32,-23v13,-14,27,-27,39,-42r-55,-11r12,-36v18,8,33,18,52,24","w":185},"+":{"d":"127,-110r71,0r0,35r-71,0r0,75r-40,0r0,-75r-71,0r0,-35r71,0r0,-74r40,0r0,74","w":213},",":{"d":"22,-27v5,-21,30,-18,55,-18v-10,30,-23,67,-37,100r-43,4v11,-34,21,-67,25,-86","w":93},"-":{"d":"120,-110r0,35r-99,0r0,-35r99,0","w":141},".":{"d":"45,-53v16,0,28,12,28,28v0,16,-12,29,-28,29v-16,0,-28,-13,-28,-29v0,-16,12,-28,28,-28","w":90},"\/":{"d":"111,-252r44,0r-113,265r-44,0","w":153},"0":{"d":"100,-240v57,0,94,47,94,122v0,75,-37,122,-94,122v-57,0,-93,-47,-93,-122v0,-75,36,-122,93,-122xm100,-35v29,0,42,-26,42,-83v0,-57,-13,-84,-42,-84v-29,0,-41,27,-41,84v0,57,12,83,41,83"},"1":{"d":"36,-202v35,-11,57,-36,104,-35r0,237r-48,0r0,-182r-51,17"},"2":{"d":"181,-176v7,47,-64,100,-99,137r100,0r0,39r-161,0r0,-38v31,-32,122,-116,108,-133v0,-37,-56,-37,-89,-20r-5,-38v58,-25,149,-9,146,53"},"3":{"d":"181,-69v0,70,-104,90,-165,59r5,-39v33,17,108,26,108,-17v0,-21,-20,-32,-54,-34r0,-37v57,6,62,-66,8,-65v-14,0,-32,4,-47,10r-5,-38v54,-20,143,-11,143,46v0,33,-27,51,-54,57v35,5,61,25,61,58"},"4":{"d":"164,-237r0,150r35,0r0,38r-35,0r0,49r-48,0r0,-49r-112,0r0,-39r89,-149r71,0xm116,-87r1,-109v-9,22,-32,55,-63,109r62,0"},"5":{"d":"74,-145v52,-22,111,12,111,66v0,82,-101,99,-166,69r5,-38v41,19,106,23,109,-27v2,-31,-38,-48,-63,-29r-43,-1r5,-132r142,0r0,39r-98,0"},"6":{"d":"98,4v-45,0,-83,-31,-83,-96v0,-83,62,-144,139,-148r5,38v-45,3,-82,32,-90,70v42,-38,117,-2,117,55v0,54,-42,81,-88,81xm134,-72v6,-47,-63,-51,-67,-11v-4,56,66,64,67,11"},"7":{"d":"186,-237r0,39r-96,198r-49,0r97,-198r-116,0r0,-39r164,0"},"8":{"d":"185,-66v0,48,-42,70,-85,70v-48,0,-85,-25,-85,-67v-1,-30,23,-46,51,-59v-67,-28,-45,-118,37,-118v85,0,102,89,35,115v32,15,47,35,47,59xm102,-203v-37,5,-33,48,1,60v31,-7,39,-59,-1,-60xm100,-35v21,0,34,-13,34,-31v0,-18,-9,-29,-34,-40v-44,7,-45,71,0,71"},"9":{"d":"103,-240v45,0,82,31,82,96v0,83,-62,144,-139,148r-5,-38v45,-3,83,-32,91,-70v-41,40,-117,3,-117,-54v0,-54,42,-82,88,-82xm67,-164v-6,47,63,53,67,12v4,-57,-66,-66,-67,-12"},":":{"d":"45,-53v16,0,28,12,28,28v0,16,-12,29,-28,29v-16,0,-28,-13,-28,-29v0,-16,12,-28,28,-28xm45,-121v-16,0,-28,-12,-28,-28v0,-16,12,-29,28,-29v16,0,28,13,28,29v0,16,-12,28,-28,28","w":90},"<":{"d":"50,-96v31,19,67,32,100,49r0,45r-139,-70r0,-46r139,-70r0,45","w":169},";":{"d":"22,-27v5,-21,30,-18,55,-18v-10,30,-23,67,-37,100r-43,4v11,-34,21,-67,25,-86xm52,-121v-16,0,-28,-12,-28,-28v0,-16,12,-29,28,-29v16,0,29,13,29,29v0,16,-13,28,-29,28","w":97},"[":{"d":"115,-217r-45,0r0,213r45,0r0,35r-85,0r0,-283r85,0r0,35","w":125},"\\":{"d":"42,-252r113,265r-44,0r-113,-265r44,0","w":153},"]":{"d":"10,-217r0,-35r86,0r0,283r-86,0r0,-35r45,0r0,-213r-45,0","w":125},"^":{"d":"125,-243r63,141r-44,0r-42,-98r-42,98r-43,0r63,-141r45,0","w":204},"_":{"d":"199,51r-190,0r0,-35r190,0r0,35","w":208},"~":{"d":"194,-53v-19,8,-115,-47,-123,-41v-9,0,-17,9,-17,33r-36,0v0,-43,22,-68,60,-68v19,-8,115,47,123,41v9,0,17,-9,17,-33r35,0v0,44,-21,68,-59,68","w":271},"}":{"d":"35,-70v-3,-24,14,-35,35,-41v-42,-3,-37,-45,-30,-82v2,-17,-9,-27,-31,-27r0,-36v45,0,77,17,72,58v-4,30,-15,75,24,70r0,35v-39,-5,-28,40,-24,70v5,41,-27,58,-72,58r0,-36v43,2,30,-38,26,-69","w":127},"|":{"d":"70,90r-40,0r0,-360r40,0r0,360","w":99},"{":{"d":"57,-111v20,6,38,16,35,41v-4,31,-17,71,26,69r0,36v-45,0,-77,-17,-72,-58v4,-30,15,-75,-24,-70r0,-35v39,5,28,-40,24,-70v-5,-41,27,-58,72,-58r0,36v-43,-2,-29,38,-26,69v3,23,-12,37,-35,40","w":127},"z":{"d":"21,-176r131,0r0,37r-83,102r85,0r0,37r-143,0r0,-36r83,-103r-73,0r0,-37","w":164},"y":{"d":"122,-13v-25,65,-54,83,-99,87r-5,-37v29,-3,42,-14,50,-36r-68,-177r51,0r43,134v11,-48,28,-89,42,-134r49,0","w":183},"Z":{"d":"63,-38v39,4,86,0,128,1r0,37r-182,0r0,-40r121,-167r-110,0r0,-37r164,0r0,40","w":198},"=":{"d":"215,-113r-190,0r0,-35r190,0r0,35xm215,-36r-190,0r0,-35r190,0r0,35","w":239},">":{"d":"19,-47r101,-49r-101,-47r0,-45r139,70r0,46r-139,70r0,-45","w":169},"?":{"d":"94,-25v0,-16,-13,-28,-29,-28v-16,0,-28,12,-28,28v0,16,12,29,28,29v16,0,29,-13,29,-29xm41,-71v-11,-45,53,-76,53,-113v0,-30,-56,-30,-80,-14r-5,-37v50,-26,141,-13,137,48v10,37,-59,70,-58,116r-47,0","w":159},"\u201d":{"d":"39,-236v5,-22,31,-16,55,-17v-10,30,-23,66,-37,99r-43,5v11,-34,21,-68,25,-87xm116,-236v5,-22,32,-17,56,-17v-10,30,-24,66,-38,99r-43,5v11,-34,20,-68,25,-87","w":187},"\u2019":{"d":"39,-236v5,-22,31,-16,55,-17v-10,30,-23,66,-37,99r-43,5v11,-34,21,-68,25,-87","w":110},"\u201c":{"d":"149,-167v-5,22,-31,18,-56,18v10,-30,24,-67,38,-100r43,-4v-11,34,-21,67,-25,86xm72,-167v-5,22,-31,18,-56,18v10,-30,24,-67,38,-100r42,-4v-11,34,-20,67,-24,86","w":187},"\u2018":{"d":"72,-167v-5,22,-31,18,-56,18v10,-30,24,-67,38,-100r42,-4v-11,34,-20,67,-24,86","w":110},"q":{"d":"145,-21v-47,52,-133,17,-133,-64v0,-80,82,-124,133,-70r1,-21r47,0r0,247r-48,0r0,-92xm105,-33v29,0,40,-25,40,-59v0,-31,-15,-50,-40,-50v-28,0,-43,22,-43,55v0,33,14,54,43,54","w":217},"Q":{"d":"261,-122v0,53,-30,96,-74,115r14,51r-47,12r-13,-53v-76,6,-131,-53,-131,-125v0,-71,52,-125,125,-125v73,0,126,54,126,125xm135,-35v41,0,73,-30,73,-87v0,-57,-32,-87,-73,-87v-41,0,-72,30,-72,87v0,57,31,87,72,87","w":270},"S":{"d":"26,-176v0,-71,90,-83,145,-63r-5,38v-25,-10,-90,-17,-90,20v0,21,15,29,38,35v40,12,66,29,66,71v0,75,-97,93,-164,69r5,-39v39,13,108,21,108,-22v0,-20,-13,-30,-36,-36v-37,-10,-67,-29,-67,-73","w":196},"R":{"d":"72,-136v35,2,63,-3,63,-36v0,-33,-30,-39,-63,-34r0,70xm143,0v-16,-42,-3,-112,-71,-99r0,99r-48,0r0,-240v25,-4,54,-6,74,-6v107,0,115,103,45,124v38,14,36,79,53,122r-53,0"},"r":{"d":"128,-179r-1,47v-41,5,-54,11,-55,66r0,66r-48,0r0,-176r47,0v1,10,-1,24,2,32v10,-19,32,-34,55,-35","w":128,"k":{"v":-8,"t":-4,"y":-8}},"s":{"d":"67,-67v-30,-8,-48,-22,-48,-55v0,-50,65,-69,111,-49r-5,36v-14,-7,-54,-14,-56,8v0,9,5,16,17,19v37,10,52,23,52,53v0,56,-77,71,-127,49r5,-36v22,10,72,17,72,-7v0,-9,-8,-14,-21,-18","w":149},"T":{"d":"207,-244r0,38r-77,0r0,206r-48,0r0,-206r-77,0r0,-38r202,0","w":212,"k":{"A":30,"c":33,"d":33,"e":33,"g":33,"J":35,"m":35,"n":35,"o":33,"x":26,"w":25,"v":26,"u":35,"s":35,"r":35,"q":33,"y":22,"z":32,"a":31}},"t":{"d":"131,-176r0,37r-45,0v3,44,-18,124,44,103r5,35v-43,12,-97,6,-97,-50r0,-88r-30,0r0,-37r30,0r0,-40r48,0r0,40r45,0","w":145},"u":{"d":"96,-35v54,0,33,-88,37,-141r48,0r0,176r-47,0v-1,-7,1,-17,-2,-22v-30,45,-111,30,-111,-41r0,-113r48,0r0,106v0,24,8,35,27,35","w":205},"U":{"d":"210,-84v0,58,-42,88,-94,88v-52,0,-93,-30,-93,-81r0,-167r48,0r0,163v0,31,22,46,46,46v25,0,48,-13,48,-46r0,-163r45,0r0,160","w":231},"V":{"d":"168,-244r49,0r-85,244r-49,0r-84,-244r51,0r32,100v9,24,16,61,28,98v19,-81,37,-127,58,-198","w":213,"k":{"A":27,"c":15,"d":15,"e":15,"g":15,"J":22,"o":15,"s":20,"q":15,"z":13,"a":19}},"v":{"d":"136,-176r49,0r-68,176r-50,0r-67,-176r51,0r43,134v11,-48,28,-89,42,-134","w":183},"W":{"d":"282,-244r48,0r-73,244r-49,0v-16,-70,-33,-113,-43,-196v-11,82,-27,126,-44,196r-48,0r-73,-244r50,0v16,68,37,119,47,198r16,-81r29,-117r48,0v16,68,35,118,44,197v13,-69,31,-133,48,-197","w":327,"k":{"A":24,"c":13,"d":13,"e":13,"g":13,"J":21,"o":13,"s":18,"q":13,"z":11,"a":17}},"w":{"d":"232,-176r49,0r-60,176r-50,0v-11,-45,-25,-82,-30,-134v-7,50,-19,90,-30,134r-50,0r-60,-176r52,0v11,42,29,93,34,137v5,-42,20,-95,31,-137r49,0r32,137v4,-45,23,-95,33,-137","w":280},"x":{"d":"116,-92r65,92r-59,0v-13,-18,-20,-41,-35,-57r-33,57r-55,0r63,-90r-62,-86r59,0v11,17,19,36,31,52r31,-52r56,0","w":181},"X":{"d":"195,-244r-70,118r76,126r-57,0r-47,-85r-45,85r-53,0r73,-123r-72,-121r57,0r43,78r42,-78r53,0","w":197},"Y":{"d":"153,-244r52,0r-78,139r0,105r-49,0r0,-101r-79,-143r55,0r50,99","w":201,"k":{"A":32,"c":28,"d":28,"e":28,"g":28,"J":26,"m":22,"n":22,"o":28,"u":22,"s":31,"q":28,"a":31}},"P":{"d":"72,-206r0,80v36,2,63,-5,64,-41v0,-35,-29,-44,-64,-39xm24,0r0,-240v78,-17,167,-2,164,68v-2,65,-53,92,-116,85r0,87r-48,0","w":192,"k":{"c":4,"d":4,"e":4,"g":4,"J":27,"o":4,"q":4,"a":10}},"p":{"d":"72,-155v47,-51,134,-16,134,64v0,81,-84,126,-134,70r0,92r-48,0r0,-247r47,0xm112,-142v-29,0,-40,24,-40,58v0,31,15,51,40,51v28,0,43,-22,43,-55v0,-33,-14,-54,-43,-54","w":217},"N":{"d":"235,-244r0,244r-68,0v-35,-69,-69,-119,-100,-197r1,197r-45,0r0,-244r68,0v35,70,68,118,100,197r-1,-197r45,0","w":257},"O":{"d":"135,-247v73,0,126,54,126,125v0,71,-53,126,-126,126v-73,0,-125,-55,-125,-126v0,-71,52,-125,125,-125xm135,-35v41,0,73,-30,73,-87v0,-57,-32,-87,-73,-87v-41,0,-72,30,-72,87v0,57,31,87,72,87","w":270},"o":{"d":"101,-179v56,0,90,40,90,91v0,51,-34,92,-90,92v-56,0,-89,-41,-89,-92v0,-51,33,-91,89,-91xm101,-33v27,0,39,-24,39,-55v0,-31,-12,-54,-39,-54v-27,0,-39,23,-39,54v0,31,12,55,39,55","w":202},"n":{"d":"109,-141v-54,0,-33,88,-37,141r-48,0r0,-176r47,0v1,7,-1,18,2,23v30,-46,112,-30,112,41r0,112r-49,0r0,-105v0,-24,-8,-36,-27,-36","w":205},"M":{"d":"215,-235r59,0r9,235r-49,0r-2,-118v-1,-22,2,-40,1,-57v-12,58,-39,114,-57,168r-51,0v-17,-53,-44,-112,-56,-167r-1,174r-45,0r8,-235r59,0v20,62,48,119,62,187v18,-65,41,-126,63,-187","w":306},"m":{"d":"72,-153v20,-34,87,-35,101,6v28,-52,109,-40,109,33r0,114r-49,0r0,-107v0,-22,-8,-34,-26,-34v-42,-2,-28,94,-30,141r-48,0r0,-107v0,-22,-8,-34,-26,-34v-41,-2,-30,93,-31,141r-48,0r0,-176r47,0","w":302},"L":{"d":"24,-244r48,0r0,207r110,0r0,37r-158,0r0,-244","w":184},"l":{"d":"72,0r-48,0r0,-259r48,0r0,259","w":95},"k":{"d":"190,-176r-74,74r79,102r-61,0v-18,-21,-32,-48,-52,-67v-16,9,-8,43,-10,67r-48,0r0,-259r48,0r1,151v17,-24,35,-45,53,-68r64,0","w":187},"K":{"d":"215,-244r-104,114r111,130r-66,0r-77,-96r-7,9r0,87r-48,0r0,-244r48,0r1,100r81,-100r61,0","w":214},"J":{"d":"119,-86v2,78,-59,101,-125,85r5,-38v39,12,72,-2,72,-45r0,-160r48,0r0,158","w":137},"j":{"d":"53,-191v-15,0,-28,-13,-28,-28v0,-15,13,-27,28,-27v15,0,28,12,28,27v0,15,-13,28,-28,28xm77,-14v0,64,-41,84,-94,88r-5,-37v31,-4,51,-15,51,-49r0,-164r48,0r0,162","w":100},"i":{"d":"24,0r0,-176r48,0r0,176r-48,0xm48,-191v-15,0,-28,-13,-28,-28v0,-15,13,-27,28,-27v15,0,28,12,28,27v0,15,-13,28,-28,28","w":95},"I":{"d":"72,0r-48,0r0,-244r48,0r0,244","w":95},"H":{"d":"183,-244r48,0r0,244r-48,0r0,-107r-111,0r0,107r-48,0r0,-244r48,0r0,99r111,0r0,-99","w":254},"h":{"d":"109,-141v-54,0,-33,88,-37,141r-48,0r0,-259r48,0r1,106v30,-46,112,-30,112,41r0,112r-49,0r0,-105v0,-24,-8,-36,-27,-36","w":205},"g":{"d":"193,-176r0,150v4,90,-89,119,-167,88r5,-37v49,24,120,16,113,-48v-47,51,-132,16,-132,-63v0,-79,83,-123,132,-69r1,-21r48,0xm104,-142v-27,0,-42,20,-42,53v0,33,15,53,43,53v28,0,39,-23,39,-56v0,-31,-15,-50,-40,-50","w":216},"G":{"d":"211,-198v-68,-25,-149,-10,-149,76v0,74,53,99,113,82r0,-54r-44,0r0,-38r92,0r0,121v-98,34,-213,14,-213,-107v0,-111,113,-153,206,-118","w":242},"F":{"d":"72,0r-48,0r0,-244r142,0r0,38r-94,0r0,65r82,0r0,38r-82,0r0,103","w":169},"f":{"d":"37,-176v-3,-67,52,-100,113,-82r-5,36v-31,-12,-64,3,-59,46r43,0r0,37r-43,0r0,139r-49,0r0,-139r-29,0r0,-37r29,0","w":135},"E":{"d":"72,-39r97,0r0,39r-145,0r0,-244r142,0r0,38r-94,0r0,61r82,0r0,38r-82,0r0,68","w":179},"e":{"d":"103,-179v54,0,80,50,70,105r-114,0v1,47,63,48,99,30r5,36v-62,29,-151,7,-151,-75v0,-58,36,-96,91,-96xm98,-142v-19,0,-33,15,-37,35r68,0v-1,-18,-10,-35,-31,-35","w":187},"d":{"d":"145,-21v-47,52,-133,17,-133,-64v0,-80,82,-124,133,-70r0,-104r48,0r0,259r-47,0xm105,-33v29,0,40,-25,40,-59v0,-31,-15,-50,-40,-50v-28,0,-43,22,-43,55v0,33,14,54,43,54","w":217},"D":{"d":"24,-240v105,-19,223,3,223,108v0,117,-108,149,-223,129r0,-237xm72,-205r0,167v70,7,121,-11,123,-87v2,-66,-54,-90,-123,-80","w":256},"C":{"d":"10,-120v0,-108,115,-151,207,-116r-5,38v-68,-24,-150,-12,-150,76v0,86,81,102,147,75r5,39v-91,32,-204,3,-204,-112","w":225},"c":{"d":"63,-87v0,56,54,63,92,45r5,36v-64,26,-148,3,-148,-77v0,-85,84,-112,150,-86r-5,36v-40,-18,-94,-10,-94,46","w":170},"b":{"d":"72,-155v47,-51,134,-16,134,64v0,81,-84,126,-134,70r-1,21r-47,0r0,-259r48,0r0,104xm112,-142v-29,0,-40,24,-40,58v0,31,15,51,40,51v28,0,43,-22,43,-55v0,-33,-14,-54,-43,-54","w":217},"A":{"d":"172,0r-23,-72r-73,0r-23,72r-48,0r84,-244r50,0r84,244r-51,0xm113,-199r-26,89r51,0v-8,-24,-15,-48,-25,-89","w":227,"k":{"Y":32,"w":14,"W":24,"v":16,"V":27,"T":30,"y":9}},"\u00a0":{"w":70}}}); >+ >+ >+/*! >+ * The following copyright notice may not be removed under any circumstances. >+ * >+ * Copyright: >+ * Copyright (c) 2003 by This Font is designed by Ralph Oliver du Carrois. All >+ * rights reserved. >+ * >+ * Trademark: >+ * Colaborate Light is a trademark of This Font is designed by Ralph Oliver du >+ * Carrois. >+ * >+ * Description: >+ * Copyright (c) 2003 by This Font is designed by Ralph Oliver du Carrois. All >+ * rights reserved. >+ * >+ * Manufacturer: >+ * This Font is designed by Ralph Oliver du Carrois >+ */ >+Cufon.registerFont({"w":488,"face":{"font-family":"ColaborateLight","font-weight":400,"font-stretch":"normal","units-per-em":"1000","panose-1":"2 0 5 3 4 0 0 2 0 4","ascent":"800","descent":"-200","x-height":"11","bbox":"-26 -746 1001 209","underline-thickness":"50","underline-position":"-50","stemh":"54","stemv":"65","unicode-range":"U+0020-U+2122"},"glyphs":{" ":{"w":244},"\u00d7":{"d":"440,-74r-44,44r-151,-152r-152,152r-44,-44r152,-152r-152,-151r44,-44r152,152r151,-152r44,44r-152,151"},"!":{"d":"155,-170r-66,0r0,-477r66,0r0,477xm162,0r-80,0r0,-84r80,0r0,84","w":244},"\"":{"d":"282,-647r-8,217r-50,0r-8,-217r66,0xm145,-647r-8,217r-51,0r-8,-217r67,0","w":360},"#":{"d":"475,-396r-106,0r-27,153r94,0r0,52r-103,0r-33,191r-61,0r33,-191r-111,0r-33,191r-61,0r33,-191r-87,0r0,-52r97,0r26,-153r-84,0r0,-52r94,0r35,-199r61,0r-35,199r111,0r35,-199r61,0r-35,199r96,0r0,52xm308,-396r-111,0r-26,153r110,0"},"$":{"d":"437,-168v0,119,-74,168,-167,181r0,85r-59,0r0,-81v-58,0,-110,-14,-166,-29r25,-64v50,19,87,35,141,36r0,-267v-82,-31,-167,-67,-167,-182v0,-107,73,-156,167,-167r0,-90r59,0r0,88v43,2,93,10,140,26r-25,64v-33,-14,-63,-29,-115,-32r0,238v82,31,167,71,167,194xm212,-385r0,-212v-58,10,-94,44,-94,108v0,57,42,83,94,104xm363,-166v0,-64,-42,-94,-93,-117r0,235v48,-13,93,-46,93,-118"},"%":{"d":"684,-167v0,89,-17,178,-128,178v-110,0,-125,-89,-125,-178v0,-85,24,-171,126,-171v110,0,127,82,127,171xm583,-629r-363,629r-63,0r362,-629r64,0xm307,-487v0,89,-17,178,-128,178v-110,0,-125,-89,-125,-178v0,-85,24,-171,126,-171v110,0,127,82,127,171xm635,-167v0,-73,-6,-134,-78,-134v-68,0,-76,73,-76,134v0,74,7,141,75,141v72,0,79,-66,79,-141xm258,-487v0,-73,-6,-134,-78,-134v-68,0,-76,73,-76,134v0,74,7,141,75,141v72,0,79,-66,79,-141","w":738},"&":{"d":"442,0r-58,0r-14,-54v-26,38,-70,68,-125,68v-110,0,-199,-58,-199,-187v0,-76,30,-144,119,-187v-34,-26,-99,-60,-99,-135v0,-91,41,-166,159,-166v100,0,159,48,159,157v0,80,-58,125,-150,164v-72,31,-120,70,-120,165v0,62,35,138,135,138v46,0,90,-36,116,-78r0,-122r-103,0r0,-49r168,0r0,146v0,54,10,112,12,140xm317,-505v0,-62,-20,-105,-94,-105v-66,0,-89,47,-89,114v0,56,54,88,81,109v48,-20,102,-50,102,-118"},"'":{"d":"155,-647r-8,217r-50,0r-8,-217r66,0","w":244},"(":{"d":"223,128r-60,0v-85,-147,-106,-232,-106,-382v0,-183,31,-267,101,-393r60,0v-71,131,-91,224,-91,393v0,139,15,234,96,382","w":275},")":{"d":"219,-254v0,150,-21,235,-106,382r-60,0v81,-148,96,-243,96,-382v0,-169,-20,-262,-91,-393r60,0v70,126,101,210,101,393","w":275},"*":{"d":"377,-494r-143,35r-1,6r93,119r-45,32r-80,-124r-7,0r-83,124r-45,-33r94,-118r-3,-6r-144,-36r19,-55r138,52r6,-5r-7,-145r56,0r-8,147r6,4r137,-52","w":390},"+":{"d":"452,-187r-177,0r0,187r-63,0r0,-187r-176,0r0,-55r176,0r0,-182r63,0r0,182r177,0r0,55"},",":{"d":"161,-75r-81,178r-52,0r56,-178r77,0","w":244},"-":{"d":"298,-214r-269,0r0,-58r269,0r0,58","w":327},".":{"d":"161,0r-78,0r0,-83r78,0r0,83","w":244,"k":{"y":62,"w":86,"v":62,"Y":62,"W":62,"V":62}},"\/":{"d":"264,-658r-213,668r-62,0r214,-668r61,0","w":254},"0":{"d":"450,-308v0,163,-23,323,-208,323v-183,0,-205,-162,-205,-323v0,-155,36,-311,206,-311v183,0,207,149,207,311xm375,-308v0,-139,-8,-255,-132,-255v-118,0,-131,137,-131,255v0,141,9,267,130,267v129,0,133,-133,133,-267"},"1":{"d":"325,1r-73,0r0,-528r-115,99r-25,-59r144,-120r69,0r0,608"},"2":{"d":"437,0r-375,0r-24,-61v92,-86,311,-253,311,-375v0,-93,-45,-128,-125,-128v-52,0,-90,18,-147,46r-25,-63v74,-30,119,-39,174,-39v110,0,197,49,197,180v0,143,-195,295,-291,382r305,0r0,58"},"3":{"d":"413,-158v0,132,-106,173,-214,173v-68,0,-106,-4,-164,-24r25,-63v38,14,76,31,142,31v71,0,136,-33,136,-118v0,-112,-81,-133,-191,-133r0,-54v102,0,176,-17,176,-114v0,-82,-49,-104,-112,-104v-48,0,-95,22,-140,44r-25,-63v44,-22,116,-37,166,-37v114,0,186,50,186,158v0,92,-63,133,-134,142v70,11,149,52,149,162"},"4":{"d":"467,-168r-96,0r0,168r-73,0r0,-168r-242,0r-26,-60r269,-379r72,0r0,383r96,0r0,56xm298,-224r0,-296r-208,296r208,0"},"5":{"d":"438,-191v0,131,-87,206,-217,206v-61,0,-112,-4,-167,-22r24,-63v45,18,96,29,144,29v98,0,143,-59,143,-152v0,-92,-46,-139,-116,-139v-51,0,-92,22,-125,39r-55,-22r0,-292r344,0r0,56r-271,0r0,184v31,-8,59,-21,109,-21v121,0,187,73,187,197"},"6":{"d":"443,-192v0,112,-77,207,-192,207v-173,0,-206,-150,-206,-298v0,-160,72,-337,241,-337v37,0,85,6,126,17r-24,63v-33,-13,-59,-24,-97,-24v-114,0,-178,113,-178,266v28,-59,84,-100,142,-100v124,0,188,82,188,206xm368,-192v0,-81,-24,-151,-115,-151v-81,0,-117,64,-131,100v0,155,46,202,130,202v69,0,116,-57,116,-151"},"7":{"d":"425,-552r-228,552r-81,0r243,-550r-315,0r0,-57r355,0"},"8":{"d":"451,-148v0,137,-114,163,-210,163v-94,0,-204,-30,-204,-163v0,-89,58,-146,146,-172v-28,-13,-125,-48,-125,-143v0,-104,71,-157,188,-157v120,0,190,43,190,156v0,93,-97,137,-133,145v95,30,148,83,148,171xm364,-462v0,-74,-41,-103,-118,-103v-74,0,-117,30,-117,104v0,65,68,102,113,116v49,-11,122,-53,122,-117xm378,-149v0,-87,-74,-124,-134,-143v-62,19,-135,52,-135,143v0,72,51,109,132,109v79,0,137,-33,137,-109"},"9":{"d":"442,-322v0,160,-72,337,-241,337v-37,0,-85,-6,-126,-17r25,-63v33,13,58,24,96,24v114,0,178,-113,178,-266v-28,59,-84,100,-142,100v-124,0,-187,-82,-187,-206v0,-112,78,-207,191,-207v174,0,206,150,206,298xm365,-362v0,-155,-46,-202,-130,-202v-69,0,-116,57,-116,151v0,81,24,151,115,151v81,0,117,-64,131,-100"},":":{"d":"161,-369r-78,0r0,-83r78,0r0,83xm161,0r-78,0r0,-83r78,0r0,83","w":244},";":{"d":"158,-369r-78,0r0,-83r78,0r0,83xm161,-75r-81,178r-52,0r52,-178r81,0","w":244},"<":{"d":"452,-21r-417,-168r0,-79r417,-169r0,70r-350,139r350,138r0,69"},"=":{"d":"452,-270r-417,0r0,-58r417,0r0,58xm452,-97r-417,0r0,-58r417,0r0,58"},">":{"d":"452,-189r-417,168r0,-69r350,-140r-350,-137r0,-70r417,169r0,79"},"?":{"d":"380,-503v0,119,-162,141,-162,247r0,92r-69,0r0,-97v0,-136,159,-147,159,-242v0,-70,-33,-97,-107,-97v-37,0,-96,17,-132,35r-18,-62v43,-15,102,-30,150,-30v92,0,179,28,179,154xm224,0r-80,0r0,-84r80,0r0,84","w":410},"@":{"d":"759,-382v0,183,-134,257,-297,257v-124,0,-213,-68,-213,-195v0,-104,71,-192,195,-192v40,0,71,9,86,15r0,193r35,-5r20,52r-114,14r0,-213v-6,-2,-18,-5,-29,-5v-70,0,-126,44,-126,139v0,109,72,147,148,147v133,0,227,-52,227,-206v0,-164,-118,-226,-241,-226v-149,0,-301,78,-301,287v0,212,153,286,300,286v79,0,131,-9,212,-36r24,55v-82,25,-165,32,-239,32v-219,0,-364,-121,-364,-337v0,-221,160,-338,368,-338v146,0,309,84,309,276","w":841},"A":{"d":"600,0r-82,0r-69,-193r-266,0r-73,193r-77,0r263,-647r60,0xm430,-248r-108,-307r-118,307r226,0","w":632,"k":{"y":52,"w":52,"v":52,"u":12,"t":12,"q":12,"o":12,"e":12,"d":12,"c":12,"a":12,"Y":52,"W":52,"V":52,"T":52,"Q":12,"O":12,"G":12,"C":12,"A":-1,"@":24,"&":24}},"B":{"d":"522,-184v0,148,-97,184,-215,184r-209,0r0,-647r176,0v126,0,218,30,218,169v0,68,-43,118,-103,139v80,16,133,66,133,155xm417,-477v0,-90,-45,-113,-143,-113r-103,0r0,229r117,0v71,0,129,-34,129,-116xm446,-184v0,-101,-71,-121,-156,-121r-119,0r0,248r130,0v85,0,145,-20,145,-127","w":580,"k":{"V":8}},"C":{"d":"503,-12v-57,20,-107,29,-170,29v-198,0,-270,-143,-270,-340v0,-180,65,-335,276,-335v56,0,108,8,157,24r-25,64v-42,-18,-84,-31,-132,-31v-157,0,-200,127,-200,277v0,159,45,284,194,284v50,0,93,-15,145,-36","w":543},"D":{"d":"565,-326v0,235,-90,326,-309,326r-158,0r0,-647r158,0v224,0,309,88,309,321xm489,-325v0,-202,-65,-265,-233,-265r-85,0r0,533r94,0v152,0,224,-81,224,-268","w":628,"k":{"V":8,"J":20}},"E":{"d":"465,0r-367,0r0,-647r358,0r0,57r-285,0r0,227r264,0r0,57r-264,0r0,249r294,0r0,57","w":536},"F":{"d":"456,-589r-285,0r0,230r273,0r0,56r-273,0r0,303r-73,0r0,-647r358,0r0,58","w":512},"G":{"d":"533,-39v-67,34,-117,56,-198,56v-216,0,-272,-166,-272,-341v0,-199,79,-334,281,-334v45,0,103,12,149,24r-25,64v-39,-17,-79,-31,-123,-31v-140,0,-206,89,-206,277v0,156,39,284,199,284v48,0,91,-19,129,-40r0,-182r-143,0r0,-58r209,0r0,281","w":596},"H":{"d":"549,0r-73,0r0,-305r-305,0r0,305r-73,0r0,-647r73,0r0,284r305,0r0,-284r73,0r0,647","w":647},"I":{"d":"159,0r-73,0r0,-647r73,0r0,647","w":245},"J":{"d":"300,-204v0,212,-152,242,-262,268r-20,-64v90,-18,209,-24,209,-194r0,-453r73,0r0,443","w":398},"K":{"d":"573,0r-96,0r-306,-312r0,312r-73,0r0,-647r73,0r0,294r287,-294r80,0r-298,307","w":589,"k":{"y":52,"w":52,"v":52,"u":24,"q":24,"o":24,"e":24,"d":24,"c":24,"a":24,"U":12,"Q":24,"O":24,"G":24,"C":24,"@":24,"&":12}},"L":{"d":"467,0r-369,0r0,-647r73,0r0,587r296,0r0,60","w":475,"k":{"Y":96,"W":64,"V":72,"T":64,"O":20}},"M":{"d":"740,0r-71,0r0,-568r-221,568r-60,0r-223,-568r0,568r-67,0r0,-647r112,0r211,545r213,-545r106,0r0,647","w":838},"N":{"d":"576,0r-106,0r-305,-561r0,561r-67,0r0,-647r104,0r303,561r0,-561r71,0r0,647","w":674},"O":{"d":"617,-321v0,192,-70,338,-275,338v-215,0,-279,-145,-279,-338v0,-191,73,-337,280,-337v210,0,274,143,274,337xm541,-321v0,-172,-46,-280,-199,-280v-154,0,-203,109,-203,280v0,171,49,281,203,281v156,0,199,-115,199,-281","w":680,"k":{"Z":12,"Y":24,"X":24,"W":24,"V":24,"J":20,"A":12}},"P":{"d":"501,-463v0,134,-75,190,-205,190r-125,0r0,273r-73,0r0,-647r187,0v132,0,216,48,216,184xm426,-463v0,-104,-56,-127,-143,-127r-112,0r0,260r117,0v88,0,138,-29,138,-133","w":555,"k":{"J":80,"A":48}},"Q":{"d":"617,-321v0,192,-70,338,-275,338v-215,0,-279,-145,-279,-338v0,-191,72,-337,280,-337v210,0,274,143,274,337xm556,57r-26,57r-213,-31r27,-44xm541,-321v0,-172,-46,-280,-199,-280v-154,0,-203,109,-203,280v0,171,49,281,203,281v156,0,199,-115,199,-281","w":680},"R":{"d":"542,0r-90,0r-213,-289r-68,0r0,289r-73,0r0,-647r202,0v103,0,206,39,206,174v0,94,-43,176,-182,182xm431,-473v0,-76,-45,-117,-126,-117r-134,0r0,244r135,0v94,0,125,-55,125,-127","w":587},"S":{"d":"478,-168v0,144,-109,185,-236,185v-56,0,-119,-14,-174,-29r25,-64v48,18,97,36,150,36v77,0,160,-26,160,-126v0,-87,-80,-112,-163,-142v-86,-31,-172,-68,-172,-181v0,-122,109,-169,228,-169v44,0,107,8,160,26r-25,64v-37,-16,-74,-33,-136,-33v-92,0,-152,36,-152,112v0,64,59,89,127,114v96,34,208,68,208,207","w":549},"T":{"d":"482,-589r-192,0r0,589r-73,0r0,-589r-191,0r0,-58r456,0r0,58","w":508,"k":{"z":86,"y":86,"x":86,"w":86,"v":86,"u":86,"s":86,"r":86,"q":86,"p":86,"o":86,"n":86,"m":86,"j":24,"i":24,"g":86,"e":86,"d":86,"c":86,"a":86,"Q":24,"O":24,"J":52,"G":24,"C":24,"A":52,"@":24,";":86,":":86,".":86,",":86}},"U":{"d":"580,-237v0,172,-75,254,-234,254v-176,0,-248,-83,-248,-256r0,-408r73,0r0,398v0,165,56,209,175,209v111,0,161,-55,161,-209r0,-398r73,0r0,410","w":678},"V":{"d":"575,-647r-236,647r-64,0r-245,-647r81,0r198,548r188,-548r78,0","w":604,"k":{"z":24,"y":24,"x":24,"w":24,"v":24,"u":52,"s":52,"r":52,"q":52,"p":24,"o":52,"n":52,"m":52,"j":24,"i":24,"g":52,"e":52,"d":52,"c":52,"a":52,"Q":24,"O":24,"J":52,"G":24,"C":24,"A":86,";":24,":":24,".":52,",":52}},"W":{"d":"843,-647r-172,647r-85,0r-146,-514r-154,514r-87,0r-163,-647r77,0r138,550r152,-523r85,0r143,524r142,-551r70,0","w":879,"k":{"z":24,"y":24,"x":24,"w":12,"v":12,"u":24,"s":24,"r":24,"q":24,"p":24,"o":24,"n":24,"m":24,"j":8,"i":8,"g":24,"e":24,"d":24,"c":24,"a":24,"Q":24,"O":24,"J":52,"G":24,"C":24,"A":86,";":52,":":52,".":52,",":52}},"X":{"d":"541,0r-89,0r-165,-278r-176,278r-79,0r216,-334r-189,-313r85,0r148,249r156,-249r79,0r-198,307","w":579,"k":{"y":24,"w":24,"v":24,"Q":24,"O":24,"G":24,"C":24}},"Y":{"d":"546,-647r-225,356r0,291r-73,0r0,-287r-232,-360r83,0r189,292r181,-292r77,0","w":562,"k":{"s":24,"q":24,"o":24,"g":24,"e":24,"d":24,"c":24,"a":24,"O":24,"J":52,"G":24,"C":24,"A":52,".":52,",":52}},"Z":{"d":"494,-585r-370,527r362,0r0,58r-418,0r-23,-62r369,-527r-332,0r0,-58r388,0","w":539,"k":{"O":12}},"[":{"d":"226,127r-142,0r0,-803r142,0r0,50r-79,0r0,700r79,0r0,53","w":272},"\\":{"d":"264,10r-62,0r-213,-668r62,0","w":254},"]":{"d":"192,126r-142,0r0,-53r79,0r0,-701r-79,0r0,-49r142,0r0,803","w":272},"^":{"d":"454,-269r-69,0r-142,-299r-142,299r-66,0r181,-378r53,0"},"_":{"d":"501,102r-502,0r0,-51r502,0r0,51","w":500},"`":{"d":"189,-530r-52,0r-118,-117r74,0","w":208},"a":{"d":"416,0r-58,0v-1,-7,-16,-44,-17,-54v-23,33,-70,65,-128,65v-92,0,-166,-39,-166,-131v0,-93,51,-158,245,-158r44,0r0,-35v0,-61,-21,-104,-91,-104v-63,0,-113,19,-156,40r-23,-56v53,-20,111,-35,180,-35v94,0,156,47,156,147r0,181v0,36,8,84,14,140xm337,-101r0,-128r-31,0v-144,0,-190,33,-190,107v0,51,38,82,104,82v53,0,96,-24,117,-61","w":479},"b":{"d":"444,-231v0,131,-57,242,-193,242v-56,0,-98,-33,-119,-65r-14,54r-57,0v6,-57,9,-82,9,-140r0,-517r65,0r0,268v21,-35,73,-79,133,-79v129,0,176,110,176,237xm376,-229v0,-137,-52,-188,-120,-188v-75,0,-109,68,-123,98r0,209v27,47,65,70,112,70v89,0,131,-68,131,-189","w":491},"c":{"d":"395,-19v-35,17,-111,30,-146,30v-140,0,-202,-96,-202,-236v0,-148,61,-243,205,-243v41,0,108,17,141,30r-23,55v-34,-17,-85,-34,-119,-34v-101,0,-136,75,-136,192v0,107,35,185,135,185v31,0,83,-14,122,-34","w":433},"d":{"d":"431,0r-57,0r-15,-54v-21,32,-63,65,-119,65v-144,0,-193,-111,-193,-242v0,-128,63,-237,183,-237v61,0,105,42,126,77r0,-266r65,0r0,517v0,58,4,83,10,140xm358,-110r0,-209v-15,-32,-46,-98,-119,-98v-67,0,-124,54,-124,188v0,121,38,189,131,189v47,0,85,-23,112,-70","w":491},"e":{"d":"432,-206r-315,0v3,97,38,167,133,167v50,0,95,-14,142,-39r20,54v-53,25,-113,35,-170,35v-138,0,-195,-108,-195,-235v0,-106,42,-244,191,-244v151,0,194,107,194,262xm367,-257v-2,-109,-42,-160,-128,-160v-71,0,-118,55,-123,160r251,0","w":481},"f":{"d":"279,-614v-82,5,-130,42,-130,103r0,54r104,0r0,51r-104,0r0,406r-65,0r0,-406r-69,0r0,-51r69,0r0,-48v0,-106,98,-159,178,-165","w":279},"g":{"d":"463,68v0,91,-99,130,-210,130v-160,0,-214,-49,-214,-126v0,-51,54,-86,90,-95v-35,-15,-61,-40,-61,-77v0,-33,22,-55,44,-74v-14,-16,-50,-53,-50,-125v0,-53,34,-169,183,-169v34,0,57,5,76,12v37,-3,93,-9,141,-11r-20,50r-65,0v24,19,54,63,54,116v0,85,-52,175,-184,175v-26,0,-77,-10,-96,-21v-12,16,-24,25,-24,43v0,23,20,41,136,51v167,14,200,57,200,121xm363,-300v0,-74,-39,-117,-116,-117v-80,0,-117,53,-117,120v0,70,38,120,118,120v86,0,115,-64,115,-123xm395,68v0,-40,-57,-57,-215,-72v-48,11,-73,48,-73,75v0,46,47,77,146,77v101,0,142,-30,142,-80","w":496},"h":{"d":"419,0r-65,0r0,-280v0,-78,-14,-137,-100,-137v-63,0,-106,59,-119,97r0,320r-65,0r0,-657r65,0r0,268v19,-33,65,-79,129,-79v123,0,155,82,155,175r0,293","w":489},"i":{"d":"140,-569r-72,0r0,-78r72,0r0,78xm137,0r-65,0r0,-457r65,0r0,457","w":208},"j":{"d":"136,-569r-73,0r0,-78r73,0r0,78xm132,-6v0,92,-47,139,-137,165r-21,-56v70,-15,93,-41,93,-100r0,-460r65,0r0,451","w":204},"k":{"d":"426,0r-79,0r-212,-239r0,239r-65,0r0,-657r65,0r0,388r194,-188r73,0r-207,198","w":441,"k":{"o":24}},"l":{"d":"135,0r-65,0r0,-657r65,0r0,657","w":205},"m":{"d":"700,0r-65,0r0,-290v0,-68,-16,-127,-100,-127v-58,0,-103,55,-120,102r0,315r-65,0r0,-290v0,-83,-32,-127,-99,-127v-56,0,-101,56,-116,96r0,321r-65,0r0,-352v0,-38,-6,-71,-9,-105r57,0r15,68v19,-28,67,-79,128,-79v82,0,116,38,140,91v26,-42,75,-91,141,-91v105,0,158,54,158,176r0,292","w":770},"n":{"d":"419,0r-65,0r0,-284v0,-70,-12,-133,-101,-133v-60,0,-102,55,-118,97r0,320r-65,0r0,-360v0,-38,-6,-61,-9,-97r57,0r14,68v18,-21,58,-79,130,-79v122,0,157,75,157,180r0,288","w":489},"o":{"d":"450,-231v0,132,-49,242,-201,242v-152,0,-202,-109,-202,-242v0,-126,50,-237,202,-237v153,0,201,105,201,237xm382,-231v0,-112,-31,-186,-133,-186v-96,0,-134,74,-134,186v0,109,31,191,134,191v104,0,133,-79,133,-191","w":497,"k":{"v":24}},"p":{"d":"444,-226v0,128,-57,237,-184,237v-59,0,-100,-29,-125,-63r0,232r-65,0r0,-500v0,-50,-3,-88,-9,-137r57,0r16,69v22,-35,70,-80,127,-80v139,0,183,112,183,242xm376,-228v0,-118,-35,-189,-128,-189v-55,0,-98,52,-114,97r0,211v23,31,51,69,122,69v69,0,120,-54,120,-188","w":491},"q":{"d":"431,-457v-6,49,-10,87,-10,137r0,500r-65,0r0,-232v-25,34,-66,63,-125,63v-130,0,-184,-109,-184,-237v0,-130,53,-242,187,-242v57,0,101,45,123,80r17,-69r57,0xm357,-109r0,-211v-16,-45,-58,-97,-113,-97v-87,0,-129,71,-129,189v0,134,52,188,121,188v71,0,98,-38,121,-69","w":491},"r":{"d":"330,-446r-23,55v-16,-14,-45,-26,-72,-26v-55,0,-86,91,-100,120r0,297r-65,0r0,-355v0,-45,-7,-79,-9,-102r57,0r14,93v17,-33,61,-104,116,-104v38,0,66,12,82,22","w":343,"k":{".":52}},"s":{"d":"370,-123v0,94,-82,134,-170,134v-53,0,-114,-10,-157,-29r23,-55v56,23,81,33,136,33v65,0,99,-30,99,-82v0,-50,-51,-65,-107,-83v-70,-23,-149,-50,-149,-134v0,-97,84,-129,168,-129v45,0,80,8,142,31r-23,55v-46,-21,-66,-35,-118,-35v-57,0,-100,20,-100,75v0,40,45,55,97,71v72,22,159,47,159,148","w":415},"t":{"d":"272,0r-21,59v-111,-22,-167,-83,-167,-170r0,-295r-69,0r0,-51r69,0r0,-117r65,0r0,117r105,0r0,51r-105,0r0,296v0,70,41,98,123,110","w":254},"u":{"d":"422,0r-57,0r-15,-68v-18,21,-54,79,-126,79v-117,0,-154,-75,-154,-180r0,-288r65,0r0,284v0,70,12,133,98,133v60,0,98,-55,114,-97r0,-320r65,0r0,360v0,38,7,61,10,97","w":483},"v":{"d":"450,-457r-176,457r-57,0r-177,-457r70,0r138,372r135,-372r67,0","w":489,"k":{"s":12,"q":12,"o":12,"g":12,"e":12,"d":12,"c":12,"a":12,"Y":24,"T":24,"J":24,"A":24,".":52,",":52}},"w":{"d":"674,-457r-156,457r-65,0r-98,-322r-106,322r-67,0r-144,-457r69,0r114,374r107,-330r60,0r100,328r121,-372r65,0","w":712,"k":{"s":12,"q":12,"o":12,"g":12,"e":12,"d":12,"c":12,"a":12,"Y":24,"T":24,"J":24,"A":24,".":86,",":86}},"x":{"d":"425,0r-79,0r-121,-186r-129,186r-71,0r164,-231r-153,-226r78,0r115,175r119,-175r69,0r-155,219","w":450},"y":{"d":"446,-457r-191,530v-26,71,-57,107,-139,136r-21,-57v55,-15,78,-38,88,-65r40,-106r-183,-438r70,0r146,363r124,-363r66,0","w":486,"k":{"s":12,"q":12,"o":12,"g":12,"e":12,"d":12,"c":12,"a":12,"T":24,"J":24,"A":24,".":52,",":52}},"z":{"d":"373,-402r-262,351r250,0r0,51r-301,0r-23,-55r263,-351r-239,0r0,-51r289,0","w":410},"{":{"d":"303,118v-275,-7,-99,-345,-255,-356r0,-55v152,-5,-24,-345,255,-354r0,54v-201,0,-56,267,-193,329v140,51,-4,328,193,328r0,54","w":357},"|":{"d":"151,166r-59,0r0,-868r59,0r0,868","w":244},"}":{"d":"309,-238v-156,11,20,349,-255,356r0,-54v197,0,53,-277,193,-328v-137,-62,8,-329,-193,-329r0,-54v279,9,103,349,255,354r0,55","w":357},"~":{"d":"462,-256v0,66,-54,105,-119,105v-80,0,-144,-78,-194,-78v-44,0,-67,21,-67,72r-56,-28v0,-67,49,-105,116,-105v79,0,142,77,194,77v44,0,70,-24,70,-71"},"\u2122":{"d":"796,-292r-45,0r0,-308r-133,308r-36,0r-133,-308r0,308r-43,0r0,-355r69,0r127,295r128,-295r66,0r0,355xm356,-611r-114,0r0,320r-47,0r0,-320r-112,0r0,-36r273,0r0,36","w":902},"\u2026":{"d":"648,0r-78,0r0,-83r78,0r0,83xm404,0r-77,0r0,-83r77,0r0,83xm161,0r-78,0r0,-83r78,0r0,83","w":731},"\u2013":{"d":"501,-210r-502,0r0,-58r502,0r0,58","w":500},"\u2014":{"d":"1001,-207r-1002,0r0,-61r1002,0r0,61","w":1000},"\u201c":{"d":"324,-648r-85,188r-64,0r98,-188r51,0xm189,-648r-85,188r-64,0r99,-188r50,0","w":364},"\u201d":{"d":"324,-647r-99,188r-51,0r85,-188r65,0xm189,-647r-98,188r-51,0r85,-188r64,0","w":364},"\u2018":{"d":"194,-648r-85,188r-64,0r99,-188r50,0","w":244},"\u2019":{"d":"197,-647r-97,188r-52,0r84,-188r65,0","w":244},"\u00a0":{"w":244}}}); >+ >+ >diff --git a/koha-tmpl/opac-tmpl/prog/en/js/custom.js b/koha-tmpl/opac-tmpl/prog/en/js/custom.js >new file mode 100644 >index 0000000..e80c90d >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/prog/en/js/custom.js >@@ -0,0 +1,58 @@ >+ >+ >+ >+ >+ >+ >+ >+ >+$(document).ready( function() { >+ >+ >+ Cufon.replace('.footer-one-third h2', { fontFamily: 'ColaborateLight', fontSize: '20px', color:'#c2aea8' } ); >+ Cufon.replace('.footer-one-third h3', { fontFamily: 'ColaborateLight', fontSize: '20px', color:'#c2aea8' } ); >+ >+ >+}); >+ >+// slideshow settings >+$(document).ready(function() { >+ $('.slideshow').cycle({ >+ fx: 'fade' // transition type : fade, scrollUp, shuffle, etc... >+ }); >+ >+}); >+ >+// slider settings >+$(document).ready(function() { >+ $('#slider1').s3Slider({ >+ timeOut: 6000 >+ }); >+}); >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+ >+$(document).ready( function() { >+ >+ >+ Cufon.replace('#content h1', { fontFamily: 'Vegur', fontSize: '40px', color:'#000000', fontWeight:'normal' } ); >+ Cufon.replace('#content h2', { fontFamily: 'Vegur', fontSize: '22px', color:'#000000', fontWeight:'normal' } ); >+ Cufon.replace('#content h3', { fontFamily: 'Vegur', fontSize: '18px', color:'#000000', fontWeight:'normal' } ); >+ Cufon.replace('h3.post-title', { fontFamily: 'Vegur', fontSize: '30px', color:'#000000', fontWeight:'normal' } ); >+ Cufon.replace('h2.date-header', { fontFamily: 'Vegur', fontSize: '10px', color:'#000000', fontWeight:'normal' } ); >+ >+ >+ $('.rounded').corner(); >+ >+ $('#sidebar .widget').corner(); >+ >+ >+}); >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/mainindex.tt b/koha-tmpl/opac-tmpl/prog/en/modules/mainindex.tt >new file mode 100644 >index 0000000..23253a4 >--- /dev/null >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/mainindex.tt >@@ -0,0 +1,183 @@ >+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> >+ >+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> >+ <head> >+ <title>Scooter Online Library System</title> >+ >+ <meta name="MSSmartTagsPreventParsing" content="true" /> >+ <link id="theme" rel="stylesheet" type="text/css" href="[% themelang %]/css/style.css" title="theme" /> >+<script type="text/javascript" language="javascript" src="[% themelang %]/js/addon.js"></script> >+<script type="text/javascript" language="javascript" src="[% themelang %]/js/custom.js"></script> >+ >+<script> >+function Choice() >+{ >+ var formToSend = document.getElementById("auth"); >+formToSend.userid.value = formToSend.library.value; >+formToSend.password.value = "123456"; >+} >+ >+ >+</script> >+ </head> >+ <body bgcolor="#E0E0E"> >+ <!-- top wrapper --> >+ >+ <div id="topSlideshowWrapper"> >+ <div id="sliderContainer"> >+ <!-- YOUR SLIDESHOW IMAGES HERE (recommended size 920x300) --> >+ <div id="slider1"> >+ <ul id="slider1Content"> >+ <li class="slider1Image"> >+ <a href="http://www.oslo.ie" title="Koha Customisation" target="_blank" shape="rect"> >+ <img height=150 src="http://lh3.ggpht.com/_d6vKxl1jKWk/TB3zMhUnzMI/AAAAAAABdS4/nemUV17L-Hs/modern-living-room3.jpg" /> >+ <span class="bottom" style="display: inline;"> >+ <strong><marquee BEHAVIOR=SLIDE scrollamount=20>Scooter - The ILS System for Schools</marquee></strong> >+ <br clear="none" /> Welcome to the Scooter College and School Library System<br/>Please log in or choose a library below. >+ </span> >+ </a> >+ </li> >+ >+ <li class="slider1Image"> >+ <a href="http://www.oslo.ie" title="Koha Customisation" target="_blank" shape="rect"> >+ <img height=150 src="http://lh3.ggpht.com/_d6vKxl1jKWk/TB3zMnU7nHI/AAAAAAABdS0/myp5MJEdwpg/modern-living-room2.jpg" /> >+ <span class="bottom" style="display: inline;"> >+ <strong><marquee BEHAVIOR=SLIDE scrollamount=20>Scooter - The ILS System for Schools</marquee></strong> >+ <br clear="none" /> Welcome to the Scooter College and School Library System<br/>Please log in or choose a library below. >+ </span> >+ </a> >+ </li> >+ <li class="slider1Image"> >+ <a href="http://www.oslo.ie" title="Koha Customisation" target="_blank" shape="rect"> >+ <img height=150 src="http://lh4.ggpht.com/_d6vKxl1jKWk/TB3zMTbFkvI/AAAAAAABdSw/gGYdOwDX2SQ/modern-living-room1.jpg" /> >+ <span class="bottom" style="display: inline;"> >+ <strong><marquee BEHAVIOR=SLIDE scrollamount=20>Scooter - The ILS System for Schools</marquee></strong> >+ <br clear="none" /> Welcome to the Scooter College and School Library System<br/>Please log in or choose a library below. >+ </span> >+ </a> >+ </li> >+ >+ <li class="slider1Image" style="clear:both"></li> >+ </ul> >+ <div id="sliderLeftMask"></div> >+ <div id="sliderRightMask"></div> >+ </div> >+ </div> >+ </div> >+ </div> >+ <!-- end top wrapper --> >+ <div id="wrapper"> >+ <div id="container"> >+ <!-- content --> >+ <div id="content"> >+ <div style="margin-top:20px;"> >+ <div id="main"> >+ <div align="center"> >+ <h1>Welcome to Scooter</h1> >+ <p> >+ <p><!--<img SRC="http://www.gonzaga.ie/images/stories/simpleslideshow/jackfitzpatrick.jpg">--> </p> >+ <h2>Please choose a library Below</h2> >+ <p> >+ <p> >+ >+ >+ <!-- >+ <FORM METHOD="POST" ACTION="http://scooterdev.local/cgi-bin/koha/opac-main.pl"> >+ --> >+ >+ <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="auth"> >+ <SELECT NAME = "library" onChange="Choice()"> >+ <option value="">Please Choose ...</option> >+ <option value="AVO">Avondale Community College</option> >+ <option value="GON">Gonzaga College S.J.</option> >+ <option value="SPG">Saint Paul's School, Greenhills</option> >+ >+ </p> >+ >+ <!-- >+ <input type="submit" name="submit" value="Choose"> >+ </form> >+ --> >+ >+ >+ </p> >+ >+ <P> >+ >+ <input type="hidden" name="koha_login_context" value="opac" /> <br/> >+ >+ <P><H1>OR</H1></P> >+ <fieldset class="brief"> >+ <legend>Log in to Your Account:</legend> >+ <ol> >+ <li><label for="userid">Login:</label><input type="text" id="userid" size="10" name="userid" /></li> >+ <li><label for="password">Password:</label><input type="password" id="password" size="10" name="password" /></li> >+ </ol> <fieldset class="action"> >+ <input type="submit" value="Log In" class="submit" /> >+ </fieldset></fieldset> >+ </form> >+ >+ </P></div> >+ >+ </div> >+ <div id="sidebar" style='float:right'> >+ <!-- >+ <div class="bloc rounded" style="margin-top:20px;"> >+ <h3>Scooter Library system</h3> >+ <p> >+ </p> >+ <br/><br/> >+ Please choose your library or log in below<br/> >+ <form name=login method=post>Username: <input name=user><br>Password: <input type=password><br> >+ <input type=submit name = login value = 'LogIn'></form> >+ </div> >+ --> >+ <div class="bloc rounded" style="margin-top:20px;"> >+ <h3>Latest news</h3> >+ <p><b>Koha 3.4 Released<br> >+<em>by Chris Cormack</em></b><br/> >+<br/> >+Kia ora tatou >+<br/><br/> >+"<i><quote>The Koha development team is happy to announce the release of Koha 3.4.0.</quote></i>" >+ >+<br/> >+Koha 3.4.0 is a major feature release that contains major changes to underlying architecture (adoption of Template::Toolkit for templating) and performance enhancements (removal of item data from biblio records). >+<br/> >+These changes, in addition to the inclusion of many new features, mean a lot of new strings for translators to translate. >+<br/> >+For these reasons we recommend that people who are already running Koha inproduction delay their upgrade until 3.4.1, due May 22, to give the translators time to finish, and for the removing of item data to be streamlined. If you do wish to upgrade please make sure you read the UPGRADE section of the INSTALL document. >+<br/> >+The development team would like to thank all the people who have made this release possible. Please take time to read the release notes. >+ >+</div> >+ <div class="clear"></div> >+ </div> >+ <!-- end content --> >+ <div class="clear" style="height:40px"></div> >+ </div> >+ <!-- end container --> >+ </div> >+ <div id="bottomWrapper"> >+ <div id="footer"> >+ >+ >+ >+ <a href="#" shape="rect">Who are we</a> >+ >+ | >+ <a href="#" shape="rect">What we do</a> >+ | >+ <a href="#" shape="rect">Contact</a> >+ | >+ <a href="#" shape="rect">Partners</a> >+ | >+ <a href="#" shape="rect">Links</a> >+ >+ >+ >+ >+ </div> >+ </body> >+ >+</html> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >index 9d7a2a7..4a7054b 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-user.tt >@@ -49,6 +49,9 @@ $.tablesorter.addParser({ > }); > //]]> > </script> >+[% IF (redirect) %] >+<script>location.href='/cgi-bin/koha/opac-main.pl'</script> >+[% END %] > </head> > <body id="opac-user"> > <div id="doc3" class="yui-t1"> >diff --git a/mainpage.pl b/mainpage.pl >index 25ee475..c5cbf3f 100755 >--- a/mainpage.pl >+++ b/mainpage.pl >@@ -27,6 +27,9 @@ use C4::Auth; > use C4::AuthoritiesMarc; > use C4::Koha; > use C4::NewsChannels; >+use Data::Dumper::Simple; >+ >+ > my $query = new CGI; > my $authtypes = getauthtypes; > my @authtypesloop; >@@ -68,3 +71,6 @@ $template->param( > ); > > output_html_with_http_headers $query, $cookie, $template->output; >+ >+ >+ >diff --git a/members/member.pl b/members/member.pl >index 724c996..b839386 100755 >--- a/members/member.pl >+++ b/members/member.pl >@@ -32,7 +32,7 @@ use C4::Members; > use C4::Branch; > use C4::Category; > use File::Basename; >- >+use Data::Dumper::Simple; > my $input = new CGI; > my $quicksearch = $input->param('quicksearch'); > my $startfrom = $input->param('startfrom')||1; >@@ -124,6 +124,7 @@ if($count == 1){ > my @resultsdata; > $to=($count>$to?$to:$count); > my $index=$from; >+ > foreach my $borrower(@$results[$from..$to-1]){ > #find out stats > my ($od,$issue,$fines)=GetMemberIssuesAndFines($$borrower{'borrowernumber'}); >@@ -139,8 +140,20 @@ foreach my $borrower(@$results[$from..$to-1]){ > odissue => "$od/$issue", > fines => sprintf("%.2f",$fines), > ); >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ if (%row->{branchcode} eq C4::Branch->mybranch()) >+ { > push(@resultsdata, \%row); >-} >+ } >+ } >+ else { >+ push(@resultsdata, \%row); >+ } >+ } >+ >+ > > if ($$patron{categorycode}){ > foreach my $category (grep{$_->{categorycode} eq $$patron{categorycode}}@categories){ >@@ -161,6 +174,7 @@ my $base_url = > > my @letters = map { {letter => $_} } ( 'A' .. 'Z'); > >+ > $template->param( > letters => \@letters, > paginationbar => pagination_bar( >@@ -183,3 +197,4 @@ $template->param( > ); > > output_html_with_http_headers $input, $cookie, $template->output; >+ >diff --git a/members/memberentry.pl b/members/memberentry.pl >index f01261e..51d26d0 100755 >--- a/members/memberentry.pl >+++ b/members/memberentry.pl >@@ -430,9 +430,18 @@ if ($ethnicitycategoriescount>=0) { > > my @typeloop; > my $no_categories = 1; >-my $no_add; >+my ($action,$no_add); >+my $ownbranch = C4::Branch->mybranch(); >+ > foreach (qw(C A S P I X)) { >- my $action="WHERE category_type=?"; >+ >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ $action="WHERE category_type=? and categorycode like '$ownbranch%'"; >+ } >+ else { >+ $action="WHERE category_type=?"; >+ } > ($categories,$labels)=GetborCatFromCatType($_,$action); > if(scalar(@$categories) > 0){ $no_categories = 0; } > my @categoryloop; >@@ -548,8 +557,19 @@ my $onlymine=(C4::Context->preference('IndependantBranches') && > my $branches=GetBranches($onlymine); > my $default; > my $CGIbranch; >+my $ownbranch = C4::Branch->mybranch(); >+ > for my $branch (sort { $branches->{$a}->{branchname} cmp $branches->{$b}->{branchname} } keys %$branches) { >+ if ( C4::Context->preference("searchMyLibraryOnly") ) >+ { >+ if ($branch eq $ownbranch) >+ { > push @select_branch,$branch; >+ } >+ } >+ else { >+ push @select_branch,$branch; >+ } > $select_branches{$branch} = $branches->{$branch}->{'branchname'}; > $default = C4::Context->userenv->{'branch'} if (C4::Context->userenv && C4::Context->userenv->{'branch'}); > } >diff --git a/members/moremember.pl b/members/moremember.pl >index bfaa402..ae889e8 100755 >--- a/members/moremember.pl >+++ b/members/moremember.pl >@@ -31,7 +31,7 @@ > needs html removed and to use the C4::Output more, but its tricky > > =cut >- >+ > use strict; > #use warnings; FIXME - Bug 2505 > use CGI; >diff --git a/misc/cronjobs/crontab.example b/misc/cronjobs/crontab.example >index 3c5030d..72d5882 100644 >--- a/misc/cronjobs/crontab.example >+++ b/misc/cronjobs/crontab.example >@@ -22,7 +22,7 @@ PERL5LIB=/usr/share/koha/lib > KOHA_CONF=/etc/koha/koha-conf.xml > > # Some additional variables to save you typing >-KOHA_CRON_PATH = /usr/share/koha/bin/cronjobs >+KOHA_CRON_PATH = /home/peter/kohaclone/bin/cronjobs > # > # MULTIPLE KOHA SUPPORT: > # You can still run jobs for this user's additional koha installs, >diff --git a/misc/cronjobs/statstank.pl b/misc/cronjobs/statstank.pl >new file mode 100755 >index 0000000..3a66388 >--- /dev/null >+++ b/misc/cronjobs/statstank.pl >@@ -0,0 +1,121 @@ >+#! /usr/bin/perl >+ >+use C4::Context; >+use Data::Dumper::Simple; >+ >+our $dbh = C4::Context->dbh; >+ >+my @borrowerData = (); >+my @itemData = (); >+my @bibData = (); >+my $borrowernumber = 0; >+my $itemnumber = 0; >+ >+ >+my $query = "SELECT borrowernumber, itemnumber FROM scooter_stats_tank WHERE processed IS NULL"; >+my $sth = $dbh->prepare($query); >+$sth->execute; >+ >+ while (my @row = $sth->fetchrow_array) >+ { >+ $borrowernumber = $row[0]; >+ $itemnumber = $row[1]; >+ $bibItemNo = bibFromItem($dbh,$itemnumber); >+ >+ @borrowerData = dataFromBorrowers($dbh,$borrowernumber); >+ @itemData = dataFromItems($dbh,$itemnumber); >+ @bibData = dataFromBibs($dbh,$bibItemNo); >+ >+ # borrowerdata: [0]or[2] = sex, [1] = ROLLCLASS, [3] = YEARGROUP >+ # itemdata: [0] = callnumber, [1] = ccode, [2] = itype, [3] biblionumber, [4] itembranchcode >+ # bibdata: [0] = isbn, [1] = author, [2] = title >+ >+ >+ my $updateQuery = " UPDATE scooter_stats_tank SET >+ sex = ?, rollclass = ?, year = ?, itemcallnumber = ?, >+ ccode = ?, itype = ?, biblionumber = ?, itembranchcode = ?, >+ isbn = ?, author = ?, title = ?, processed = ? >+ WHERE borrowernumber = ? AND itemnumber = ?"; >+ $updsth = $dbh->prepare($updateQuery); >+ $updsth->execute($borrowerData[0][0],$borrowerData[0][1],$borrowerData[0][3],$itemData[0][0],$itemData[0][1],$itemData[0][2],$itemData[0][3],$itemData[0][4],$bibData[0][0],$bibData[0][1],$bibData[0][2],1,$borrowernumber,$itemnumber); >+ >+ } >+ >+ >+# Returns Borrower data >+sub dataFromBorrowers { >+my ($dbh,$borrowernumber) = @_; >+my @data = (); >+my $query = "SELECT borrowers.sex, borrower_attributes.attribute >+ FROM borrowers, borrower_attributes >+ WHERE borrowers.borrowernumber=borrower_attributes.borrowernumber >+ AND borrowers.borrowernumber = ? AND (code = ? or code = ?)"; >+my $sth = $dbh->prepare($query); >+$sth->execute($borrowernumber,'ROLLCLASS','YEARGROUP'); >+ >+while (my @row = $sth->fetchrow_array) >+{ >+ push @data, @row; >+} >+ >+return \@data; >+} >+ >+# Returns Item data >+sub dataFromItems { >+my ($dbh,$itemnumber) = @_; >+my @data = (); >+my $query = "SELECT items.itemcallnumber, items.ccode, items.itype, items.biblionumber, items.homebranch >+ FROM items >+ WHERE items.itemnumber = ?"; >+ >+my $sth = $dbh->prepare($query); >+$sth->execute($itemnumber); >+ >+while (my @row = $sth->fetchrow_array) >+{ >+ push @row, bibFromItem($dbh,$itemnumber); >+ push @data, @row; >+} >+ >+return \@data; >+} >+ >+# Returns Bibdata >+sub dataFromBibs { >+ my ($dbh,$biblioitemnumber) = @_; >+my @data = (); >+my $query = "SELECT biblioitems.isbn, biblio.author, biblio.title >+ FROM biblioitems, biblio >+ WHERE biblio.biblionumber=biblioitems.biblioitemnumber >+ AND biblioitems.biblioitemnumber = ?"; >+ >+my $sth = $dbh->prepare($query); >+$sth->execute($biblioitemnumber); >+ >+while (my @row = $sth->fetchrow_array) >+{ >+ push @data, @row; >+} >+ >+return \@data; >+} >+ >+# Returns biblioitemnumer based on itemnumber >+sub bibFromItem { >+my ($dbh,$itemnumber) = @_; >+my @data = (); >+my $query = "SELECT biblioitemnumber >+ FROM items >+ WHERE itemnumber = ?"; >+ >+ >+my $sth = $dbh->prepare($query); >+$sth->execute($itemnumber); >+ >+$biblioitemnumber = $sth->fetchrow; >+ >+ >+return $biblioitemnumber; >+ >+} >\ No newline at end of file >diff --git a/opac/mainindex.pl b/opac/mainindex.pl >new file mode 100755 >index 0000000..9d18e77 >--- /dev/null >+++ b/opac/mainindex.pl >@@ -0,0 +1,23 @@ >+#!/usr/bin/perl >+use strict; >+#use warnings; FIXME - Bug 2505 >+use C4::Auth; >+use C4::Output; >+use CGI; >+use C4::Dates qw/format_date/; >+use C4::Members; >+ >+my $query = new CGI; >+ >+ >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+ { >+ template_name => "mainindex.tmpl", >+ query => $query, >+ type => "opac", >+ >+ } >+); >+ >+output_html_with_http_headers $query, $cookie, $template->output; >+ >\ No newline at end of file >diff --git a/opac/opac-main.pl b/opac/opac-main.pl >index 177d812..aeba92b 100755 >--- a/opac/opac-main.pl >+++ b/opac/opac-main.pl >@@ -19,6 +19,7 @@ > use strict; > use warnings; > use CGI; >+use CGI::Session; > use C4::Auth; # get_template_and_user > use C4::Output; > use C4::VirtualShelves; >@@ -27,9 +28,13 @@ use C4::Members; # GetMember > use C4::NewsChannels; # get_opac_news > use C4::Acquisition; # GetRecentAcqui > use C4::Languages qw(getTranslatedLanguages accept_language); >+use Data::Dumper::Simple; >+ >+ >+my $input = new CGI; >+my $dbh = C4::Context->dbh; >+my $branch; # = C4::Context->userenv->{branch}; > >-my $input = new CGI; >-my $dbh = C4::Context->dbh; > > my ( $template, $borrowernumber, $cookie ) = get_template_and_user( > { >@@ -47,6 +52,8 @@ $template->param( > ); > > >+ >+ > my $borrower = GetMember( borrowernumber=>$borrowernumber ); > $template->param( > textmessaging => $borrower->{textmessaging}, >@@ -95,4 +102,28 @@ if (C4::Context->preference('GoogleIndicTransliteration')) { > $template->param('GoogleIndicTransliteration' => 1); > } > >+ >+if (defined $input->param("library")) >+{ >+ C4::Context->userenv->{branch} = $input->param("library"); >+ $template->param(branch=>C4::Context->userenv->{branch}); >+ my $session = C4::Auth::get_session(""); >+ C4::Context->set_userenv($session->param('branch',$input->param("library"))); >+ >+} >+ >+my $xx; >+if ($template->{VARS}{loggedinusername} eq '') >+{ >+ >+ print $input->redirect("/index.htm"); >+} >+ >+ > output_html_with_http_headers $input, $cookie, $template->output; >+ >+ >+ >+ >+ >+ >diff --git a/opac/opac-search.pl b/opac/opac-search.pl >index 81b7ce6..67fa262 100755 >--- a/opac/opac-search.pl >+++ b/opac/opac-search.pl >@@ -39,6 +39,7 @@ use C4::Branch; # GetBranches > use POSIX qw(ceil floor strftime); > use URI::Escape; > use Storable qw(thaw freeze); >+use Data::Dumper::Simple; > > > my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold"); >@@ -46,6 +47,7 @@ my $DisplayMultiPlaceHold = C4::Context->preference("DisplayMultiPlaceHold"); > # FIXME: no_undef_params needs to be tested > use CGI qw('-no_undef_params'); > my $cgi = new CGI; >+my @newresults1; > > BEGIN { > if (C4::Context->preference('BakerTaylorEnabled')) { >@@ -475,6 +477,7 @@ for (my $i=0;$i<@servers;$i++) { > @newresults = searchResults('opac', $query_desc, $hits, $results_per_page, $offset, $scan, > @{$results_hashref->{$server}->{"RECORDS"}},, C4::Context->preference('hidelostitems')); > } >+ @newresults1 = @newresults; > my $tag_quantity; > if (C4::Context->preference('TagsEnabled') and > $tag_quantity = C4::Context->preference('TagsShowOnList')) { >@@ -699,3 +702,19 @@ if (C4::Context->preference('GoogleIndicTransliteration')) { > } > > output_with_http_headers $cgi, $cookie, $template->output, $content_type; >+ >+#print Dumper(@newresults1); >+ >+foreach (@newresults1) { >+ my $bibnum = $_->{biblionumber} or next; >+ $_->{itemsissued} = CountItemsIssued( $bibnum ); >+ $_ ->{'TagLoop'} = get_tags({biblionumber=>$bibnum, approved=>1, 'sort'=>'-weight', >+ }); >+ >+ } >+ >+ print C4::Branch->mybranch(); >+ #print Dumper($template); >+ >+ >+ #print Dumper($template); >\ No newline at end of file >diff --git a/opac/opac-user.pl b/opac/opac-user.pl >index e99e557..12d6b42 100755 >--- a/opac/opac-user.pl >+++ b/opac/opac-user.pl >@@ -35,6 +35,7 @@ use C4::Items; > use C4::Dates qw/format_date/; > use C4::Letters; > use C4::Branch; # GetBranches >+use Data::Dumper::Simple; > > use constant ATTRIBUTE_SHOW_BARCODE => 'SHOW_BCODE'; > >@@ -64,6 +65,8 @@ my $patronupdate = $query->param('patronupdate'); > # get borrower information .... > my ( $borr ) = GetMemberDetails( $borrowernumber ); > >+ >+ > for (qw(dateenrolled dateexpiry dateofbirth)) { > ($borr->{$_}) and $borr->{$_} = format_date($borr->{$_}); > } >@@ -333,5 +336,16 @@ $template->param( > dateformat => C4::Context->preference("dateformat"), > ); > >+ >+ >+ >+if ($borr->{userid} eq $borr->{branchcode}) >+{ >+ $template->param(redirect=>1); >+ #print $query->redirect('/cgi-bin/koha/opac-main.pl'); >+} >+ >+ > output_html_with_http_headers $query, $cookie, $template->output; > >+ >diff --git a/statstank.pl b/statstank.pl >new file mode 100755 >index 0000000..e289233 >--- /dev/null >+++ b/statstank.pl >@@ -0,0 +1,122 @@ >+#! /usr/bin/perl >+ >+use lib "/home/peter/kohaclone"; >+use C4::Context; >+use Data::Dumper::Simple; >+ >+our $dbh = C4::Context->dbh; >+ >+my @borrowerData = (); >+my @itemData = (); >+my @bibData = (); >+my $borrowernumber = 0; >+my $itemnumber = 0; >+ >+ >+my $query = "SELECT borrowernumber, itemnumber FROM scooter_stats_tank WHERE processed IS NULL"; >+my $sth = $dbh->prepare($query); >+$sth->execute; >+ >+ while (my @row = $sth->fetchrow_array) >+ { >+ $borrowernumber = $row[0]; >+ $itemnumber = $row[1]; >+ $bibItemNo = bibFromItem($dbh,$itemnumber); >+ >+ @borrowerData = dataFromBorrowers($dbh,$borrowernumber); >+ @itemData = dataFromItems($dbh,$itemnumber); >+ @bibData = dataFromBibs($dbh,$bibItemNo); >+ >+ # borrowerdata: [0]or[2] = sex, [1] = ROLLCLASS, [3] = YEARGROUP >+ # itemdata: [0] = callnumber, [1] = ccode, [2] = itype, [3] biblionumber, [4] itembranchcode >+ # bibdata: [0] = isbn, [1] = author, [2] = title >+ >+ >+ my $updateQuery = " UPDATE scooter_stats_tank SET >+ sex = ?, rollclass = ?, year = ?, itemcallnumber = ?, >+ ccode = ?, itype = ?, biblionumber = ?, itembranchcode = ?, >+ isbn = ?, author = ?, title = ?, processed = ? >+ WHERE borrowernumber = ? AND itemnumber = ?"; >+ $updsth = $dbh->prepare($updateQuery); >+ $updsth->execute($borrowerData[0][0],$borrowerData[0][1],$borrowerData[0][3],$itemData[0][0],$itemData[0][1],$itemData[0][2],$itemData[0][3],$itemData[0][4],$bibData[0][0],$bibData[0][1],$bibData[0][2],1,$borrowernumber,$itemnumber); >+ >+ } >+ >+ >+# Returns Borrower data >+sub dataFromBorrowers { >+my ($dbh,$borrowernumber) = @_; >+my @data = (); >+my $query = "SELECT borrowers.sex, borrower_attributes.attribute >+ FROM borrowers, borrower_attributes >+ WHERE borrowers.borrowernumber=borrower_attributes.borrowernumber >+ AND borrowers.borrowernumber = ? AND (code = ? or code = ?)"; >+my $sth = $dbh->prepare($query); >+$sth->execute($borrowernumber,'ROLLCLASS','YEARGROUP'); >+ >+while (my @row = $sth->fetchrow_array) >+{ >+ push @data, @row; >+} >+ >+return \@data; >+} >+ >+# Returns Item data >+sub dataFromItems { >+my ($dbh,$itemnumber) = @_; >+my @data = (); >+my $query = "SELECT items.itemcallnumber, items.ccode, items.itype, items.biblionumber, items.homebranch >+ FROM items >+ WHERE items.itemnumber = ?"; >+ >+my $sth = $dbh->prepare($query); >+$sth->execute($itemnumber); >+ >+while (my @row = $sth->fetchrow_array) >+{ >+ push @row, bibFromItem($dbh,$itemnumber); >+ push @data, @row; >+} >+ >+return \@data; >+} >+ >+# Returns Bibdata >+sub dataFromBibs { >+ my ($dbh,$biblioitemnumber) = @_; >+my @data = (); >+my $query = "SELECT biblioitems.isbn, biblio.author, biblio.title >+ FROM biblioitems, biblio >+ WHERE biblio.biblionumber=biblioitems.biblioitemnumber >+ AND biblioitems.biblioitemnumber = ?"; >+ >+my $sth = $dbh->prepare($query); >+$sth->execute($biblioitemnumber); >+ >+while (my @row = $sth->fetchrow_array) >+{ >+ push @data, @row; >+} >+ >+return \@data; >+} >+ >+# Returns biblioitemnumer based on itemnumber >+sub bibFromItem { >+my ($dbh,$itemnumber) = @_; >+my @data = (); >+my $query = "SELECT biblioitemnumber >+ FROM items >+ WHERE itemnumber = ?"; >+ >+ >+my $sth = $dbh->prepare($query); >+$sth->execute($itemnumber); >+ >+$biblioitemnumber = $sth->fetchrow; >+ >+ >+return $biblioitemnumber; >+ >+} >\ No newline at end of file >-- >1.7.4.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 5806
: 5237