commit 7937ab972ef33f9a4b579d90438f497f39ca20f5 Author: Andreas Luxbauer Date: Tue Jul 6 10:03:36 2021 +0200 first git diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..1ff0c42 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,63 @@ +############################################################################### +# Set default behavior to automatically normalize line endings. +############################################################################### +* text=auto + +############################################################################### +# Set default behavior for command prompt diff. +# +# This is need for earlier builds of msysgit that does not have it on by +# default for csharp files. +# Note: This is only used by command line +############################################################################### +#*.cs diff=csharp + +############################################################################### +# Set the merge driver for project and solution files +# +# Merging from the command prompt will add diff markers to the files if there +# are conflicts (Merging from VS is not affected by the settings below, in VS +# the diff markers are never inserted). Diff markers may cause the following +# file extensions to fail to load in VS. An alternative would be to treat +# these files as binary and thus will always conflict and require user +# intervention with every merge. To do so, just uncomment the entries below +############################################################################### +#*.sln merge=binary +#*.csproj merge=binary +#*.vbproj merge=binary +#*.vcxproj merge=binary +#*.vcproj merge=binary +#*.dbproj merge=binary +#*.fsproj merge=binary +#*.lsproj merge=binary +#*.wixproj merge=binary +#*.modelproj merge=binary +#*.sqlproj merge=binary +#*.wwaproj merge=binary + +############################################################################### +# behavior for image files +# +# image files are treated as binary by default. +############################################################################### +#*.jpg binary +#*.png binary +#*.gif binary + +############################################################################### +# diff behavior for common document formats +# +# Convert binary document formats to text before diffing them. This feature +# is only available from the command line. Turn it on by uncommenting the +# entries below. +############################################################################### +#*.doc diff=astextplain +#*.DOC diff=astextplain +#*.docx diff=astextplain +#*.DOCX diff=astextplain +#*.dot diff=astextplain +#*.DOT diff=astextplain +#*.pdf diff=astextplain +#*.PDF diff=astextplain +#*.rtf diff=astextplain +#*.RTF diff=astextplain diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3c4efe2 --- /dev/null +++ b/.gitignore @@ -0,0 +1,261 @@ +## Ignore Visual Studio temporary files, build results, and +## files generated by popular Visual Studio add-ons. + +# User-specific files +*.suo +*.user +*.userosscache +*.sln.docstates + +# User-specific files (MonoDevelop/Xamarin Studio) +*.userprefs + +# Build results +[Dd]ebug/ +[Dd]ebugPublic/ +[Rr]elease/ +[Rr]eleases/ +x64/ +x86/ +bld/ +[Bb]in/ +[Oo]bj/ +[Ll]og/ + +# Visual Studio 2015 cache/options directory +.vs/ +# Uncomment if you have tasks that create the project's static files in wwwroot +#wwwroot/ + +# MSTest test Results +[Tt]est[Rr]esult*/ +[Bb]uild[Ll]og.* + +# NUNIT +*.VisualState.xml +TestResult.xml + +# Build Results of an ATL Project +[Dd]ebugPS/ +[Rr]eleasePS/ +dlldata.c + +# DNX +project.lock.json +project.fragment.lock.json +artifacts/ + +*_i.c +*_p.c +*_i.h +*.ilk +*.meta +*.obj +*.pch +*.pdb +*.pgc +*.pgd +*.rsp +*.sbr +*.tlb +*.tli +*.tlh +*.tmp +*.tmp_proj +*.log +*.vspscc +*.vssscc +.builds +*.pidb +*.svclog +*.scc + +# Chutzpah Test files +_Chutzpah* + +# Visual C++ cache files +ipch/ +*.aps +*.ncb +*.opendb +*.opensdf +*.sdf +*.cachefile +*.VC.db +*.VC.VC.opendb + +# Visual Studio profiler +*.psess +*.vsp +*.vspx +*.sap + +# TFS 2012 Local Workspace +$tf/ + +# Guidance Automation Toolkit +*.gpState + +# ReSharper is a .NET coding add-in +_ReSharper*/ +*.[Rr]e[Ss]harper +*.DotSettings.user + +# JustCode is a .NET coding add-in +.JustCode + +# TeamCity is a build add-in +_TeamCity* + +# DotCover is a Code Coverage Tool +*.dotCover + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# MightyMoose +*.mm.* +AutoTest.Net/ + +# Web workbench (sass) +.sass-cache/ + +# Installshield output folder +[Ee]xpress/ + +# DocProject is a documentation generator add-in +DocProject/buildhelp/ +DocProject/Help/*.HxT +DocProject/Help/*.HxC +DocProject/Help/*.hhc +DocProject/Help/*.hhk +DocProject/Help/*.hhp +DocProject/Help/Html2 +DocProject/Help/html + +# Click-Once directory +publish/ + +# Publish Web Output +*.[Pp]ublish.xml +*.azurePubxml +# TODO: Comment the next line if you want to checkin your web deploy settings +# but database connection strings (with potential passwords) will be unencrypted +#*.pubxml +*.publishproj + +# Microsoft Azure Web App publish settings. Comment the next line if you want to +# checkin your Azure Web App publish settings, but sensitive information contained +# in these scripts will be unencrypted +PublishScripts/ + +# NuGet Packages +*.nupkg +# The packages folder can be ignored because of Package Restore +**/packages/* +# except build/, which is used as an MSBuild target. +!**/packages/build/ +# Uncomment if necessary however generally it will be regenerated when needed +#!**/packages/repositories.config +# NuGet v3's project.json files produces more ignoreable files +*.nuget.props +*.nuget.targets + +# Microsoft Azure Build Output +csx/ +*.build.csdef + +# Microsoft Azure Emulator +ecf/ +rcf/ + +# Windows Store app package directories and files +AppPackages/ +BundleArtifacts/ +Package.StoreAssociation.xml +_pkginfo.txt + +# Visual Studio cache files +# files ending in .cache can be ignored +*.[Cc]ache +# but keep track of directories ending in .cache +!*.[Cc]ache/ + +# Others +ClientBin/ +~$* +*~ +*.dbmdl +*.dbproj.schemaview +*.jfm +*.pfx +*.publishsettings +node_modules/ +orleans.codegen.cs + +# Since there are multiple workflows, uncomment next line to ignore bower_components +# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622) +#bower_components/ + +# RIA/Silverlight projects +Generated_Code/ + +# Backup & report files from converting an old project file +# to a newer Visual Studio version. Backup files are not needed, +# because we have git ;-) +_UpgradeReport_Files/ +Backup*/ +UpgradeLog*.XML +UpgradeLog*.htm + +# SQL Server files +*.mdf +*.ldf + +# Business Intelligence projects +*.rdl.data +*.bim.layout +*.bim_*.settings + +# Microsoft Fakes +FakesAssemblies/ + +# GhostDoc plugin setting file +*.GhostDoc.xml + +# Node.js Tools for Visual Studio +.ntvs_analysis.dat + +# Visual Studio 6 build log +*.plg + +# Visual Studio 6 workspace options file +*.opt + +# Visual Studio LightSwitch build output +**/*.HTMLClient/GeneratedArtifacts +**/*.DesktopClient/GeneratedArtifacts +**/*.DesktopClient/ModelManifest.xml +**/*.Server/GeneratedArtifacts +**/*.Server/ModelManifest.xml +_Pvt_Extensions + +# Paket dependency manager +.paket/paket.exe +paket-files/ + +# FAKE - F# Make +.fake/ + +# JetBrains Rider +.idea/ +*.sln.iml + +# CodeRush +.cr/ + +# Python Tools for Visual Studio (PTVS) +__pycache__/ +*.pyc \ No newline at end of file diff --git a/App_Code/cClasses.vb b/App_Code/cClasses.vb new file mode 100644 index 0000000..8117b7a --- /dev/null +++ b/App_Code/cClasses.vb @@ -0,0 +1,49 @@ +Imports Microsoft.VisualBasic + +Public Class cNavigation + Property id As Integer = -1 + Property bezeichnung As String = "" + Property slogan As String = "" + Property menu_logo As String = "" + Property subnavigation As List(Of cNavigation) = Nothing +End Class + + + +Public Class cBlock + Property block_ID As Integer = -1 + Property block_order As Integer = -1 + Property blockfields As List(Of cBlockField) = Nothing +End Class + +Public Class cBlockField + Property bfld_id As Integer = -1 + Property bart_breiteProz As Integer = -1 + Property bart_desc As String = "" + Property bart_beginParam As String = "" + Property bart_endParam As String = "" + Property blockfieldargumentcontents As List(Of cBlockFieldArgumentContent) = Nothing +End Class +Public Class cBlockFieldArgumentContent + Property bfac_ID As Integer = -1 + Property bfac_bargID_Ref As Integer = -1 + Property bfac_default As String = "" + Property bfac_de As String = "" + Property bfac_en As String = "" + Property bfac_tr As String = "" + Property bfac_yu As String = "" + Property bfac_ro As String = "" + Property bfac_bg As String = "" + Property bfac_order As Integer = -1 + +End Class + +Public Class hp_content + Property hp_id As Integer = 1 + Property hp_title As String = "" + Property hp_content As String = "" + Property hp_instance As String = "" + Property hp_slogan As String = "" + Property hp_imgPath As String = "" + Property hp_refIdToUpperMenue As String = "" +End Class \ No newline at end of file diff --git a/App_Code/cDBFunctions.vb b/App_Code/cDBFunctions.vb new file mode 100644 index 0000000..1c56551 --- /dev/null +++ b/App_Code/cDBFunctions.vb @@ -0,0 +1,506 @@ +Imports Microsoft.VisualBasic +Imports System.Data.SqlClient + +'Imports SQL.Data.SQLClient + + +Public Class cDBFunctions + Public Shared Function GetNewOpenConnection() As SqlConnection + + + 'MyProviderDbConn + Dim cn As New SqlConnection() + ' cn.ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;" + If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then + cn.ConnectionString = "Server=FMZOLL\SQLFMZOLL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956" + 'Else + ' cn.ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;" + End If + + + cn.Open() + Return cn + End Function + + ' Public Function qry_menu_tags(Optional laenderkuerzel As String = "de", Optional ref As String = "de") As List(Of cNavigation) + ' Using con As SQLConnection = GetNewOpenConnection() + + ' End Using + ' End Function + Public errorAusg As String = "" + Public Function qry_menu_tags(Optional laenderkuerzel As String = "de", Optional ref As String = "") As List(Of cNavigation) + If laenderkuerzel = "" Then laenderkuerzel = "de" + Dim navigation As New List(Of cNavigation) + Using con As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand + cmd.Connection = con + Dim sql As String = " SELECT * FROM menu_tags WHERE " ' ORDER BY menu_tags.order ASC" + If ref <> "" Then + sql &= " ref_id='" & ref & "' " + Else + sql &= " instance='0' " + End If + ' sql &= " ORDER BY menu_tags.order ASC " + cmd.CommandText = sql + Dim reader As SqlDataReader = cmd.ExecuteReader + + Try + 'reader = cmd.ExecuteReader + While reader.Read() + Dim n As New cNavigation + If Not reader.Item("desc_" & laenderkuerzel) Is DBNull.Value Then n.bezeichnung = reader.Item("desc_" & laenderkuerzel) + If Not reader.Item("id") Is DBNull.Value Then n.id = reader.Item("id") + If Not reader.Item("menu_slogan_" & laenderkuerzel) Is DBNull.Value Then n.slogan = reader.Item("menu_slogan_" & laenderkuerzel) + If Not reader.Item("menu_logo") Is DBNull.Value Then n.menu_logo = reader.Item("menu_logo") + n.subnavigation = qry_menu_tags(laenderkuerzel, n.id) + navigation.Add(n) + End While + reader.Close() + Catch ex As Exception + 'MsgBox("Fehler: " & ex.Message) + Console.WriteLine(ex.Message) + errorAusg = ex.Message + End Try + con.Close() + End Using + End Using + Return navigation + End Function + + Public Function qry_content(menuID As String, Optional laenderkuerzel As String = "de") As String + If laenderkuerzel = "" Then laenderkuerzel = "de" + Dim str As String = "" + Using con As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand + cmd.Connection = con + Dim sql As String = " SELECT block_id " & + " FROM tbl_blocks " & + " INNER JOIN menu_tags " & + " ON tbl_blocks.block_pageID_Ref=menu_tags.id " & + " WHERE menu_tags.id = '" & menuID & "'" & + " ORDER BY block_id ASC " + cmd.CommandText = sql + Dim reader As SqlDataReader = cmd.ExecuteReader + Try + 'reader = cmd.ExecuteReader + While reader.Read() + + str &= "
" & qry_blockfields(reader.Item("block_id"), laenderkuerzel) & "
" + + End While + reader.Close() + Catch ex As Exception + MsgBox("Fehler: " & ex.Message) + End Try + con.Close() + End Using + End Using + Return str + End Function + + Function getSpaltenBezeichnung(laenderkuerzel As String) As String + Dim spalte = "hp_de" + Select Case laenderkuerzel + Case "de" : spalte = "hp_de" + Case "bg" : spalte = "hp_bg" + Case "yu" : spalte = "hp_yu" + Case "ro" : spalte = "hp_ro" + Case "tr" : spalte = "hp_tr" + Case "en" : spalte = "hp_en" + End Select + Return spalte + End Function + + Public Function qry_contentNew(menuID As String, Optional laenderkuerzel As String = "de") As String + If laenderkuerzel = "" Then laenderkuerzel = "de" + Dim spalte As String = getSpaltenBezeichnung(laenderkuerzel) + Dim str As String = "" + Using con As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand + cmd.Connection = con + Dim sql As String = " SELECT " & spalte & " " & + " FROM homepage_content " & + " WHERE hp_refId = '" & menuID & "'" + cmd.CommandText = sql + + Dim reader As SqlDataReader = cmd.ExecuteReader + Try + 'reader = cmd.ExecuteReader + While reader.Read() + + str &= "
" & reader.Item(spalte) & "
" + + End While + reader.Close() + Catch ex As Exception + MsgBox("Fehler: " & ex.Message) + End Try + con.Close() + End Using + End Using + Return str + End Function + + Public Function qry_blockfields(block_id As String, Optional laenderkuerzel As String = "de") As String + If laenderkuerzel = "" Then laenderkuerzel = "de" + Dim str As String = "" + Using con As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand + cmd.Connection = con + Dim sql As String = " SELECT bfld_ID, block_ID, bart_id, bart_desc, bart_beginParam, bart_endParam" & + " FROM " & + " tbl_blocks as t1, " & + " tbl_blockfields as t2, " & + " tbl_blockfieldart as t3 " & + " WHERE " & + " t1.block_ID=" & block_id & "" & + " AND " & + " t2.bfld_blockID_Ref=t1.block_ID " & + " AND " & + " t3.bart_ID=t2.bfld_bartID_Ref " & + " ORDER BY t2.bfld_ID ASC " + cmd.CommandText = sql + Dim reader As SqlDataReader = cmd.ExecuteReader + Try + 'reader = cmd.ExecuteReader + While reader.Read() + str &= reader.Item("bart_beginParam") & qry_blockfield_content(reader.Item("bfld_ID"), laenderkuerzel) & reader.Item("bart_endParam") + End While + reader.Close() + Catch ex As Exception + MsgBox("Fehler: " & ex.Message) + End Try + con.Close() + End Using + End Using + Return str + End Function + + Public Function qry_blockfield_content(bf_ID As String, Optional laenderkuerzel As String = "de") As String + If laenderkuerzel = "" Then laenderkuerzel = "de" + Dim str As String = "" + Using con As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand + cmd.Connection = con + Dim sql As String = " SELECT *" & + " FROM tbl_blockfieldargumentcontent " & + " INNER JOIN tbl_blockfieldarguments " & + " ON tbl_blockfieldargumentcontent.bfac_bargID_Ref=tbl_blockfieldarguments.barg_ID " & + " WHERE " & + " bfac_bfldID_Ref = " & bf_ID & " " & + " ORDER BY tbl_blockfieldargumentcontent.bfac_order ASC" + cmd.CommandText = sql + Dim reader As SqlDataReader = cmd.ExecuteReader + Try + 'reader = cmd.ExecuteReader + While reader.Read() + str &= reader.Item("barg_beginArgument") & reader.Item("bfac_" & laenderkuerzel) & reader.Item("barg_endArgument") + End While + reader.Close() + Catch ex As Exception + MsgBox("Fehler: " & ex.Message) + End Try + con.Close() + End Using + End Using + Return str + End Function +End Class + + + + +Public Class cDBADMINFunctions + + + + Public Shared Function GetNewOpenConnection() As SqlConnection + Return cDBFunctions.GetNewOpenConnection + End Function + + Public Function qry_menu_tags(Optional laenderkuerzel As String = "de", Optional ref As String = "") As List(Of cNavigation) + If laenderkuerzel = "" Then laenderkuerzel = "de" + Dim navigation As New List(Of cNavigation) + Using con As SQLConnection = GetNewOpenConnection() + Using cmd As New SQLCommand + cmd.Connection = con + Dim sql As String = "SELECT * FROM menu_tags WHERE " ' ORDER BY `menu_tags`.`order` ASC" + If ref <> "" Then + sql &= " ref_id='" & ref & "' " + Else + sql &= " instance='0' " + End If + sql &= " ORDER BY `menu_tags`.`order` ASC " + cmd.CommandText = sql + Dim reader As SQLDataReader = cmd.ExecuteReader + Try + 'reader = cmd.ExecuteReader + While reader.Read() + Dim n As New cNavigation + n.bezeichnung = reader.Item("desc_" & laenderkuerzel) + n.id = reader.Item("id") + n.slogan = reader.Item("menu_slogan_" & laenderkuerzel) + n.menu_logo = reader.Item("menu_logo") + n.subnavigation = qry_menu_tags(laenderkuerzel, n.id) + navigation.Add(n) + End While + reader.Close() + Catch ex As Exception + MsgBox("Fehler 01: " & ex.Message) + End Try + con.Close() + End Using + End Using + Return navigation + End Function + + + + + Public Function qry_contentNew(menuID As String, laenderkuerzel As String) As hp_content + + Try + Dim hp_content As New hp_content + Using con As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand + cmd.Connection = con + Dim sql As String = " SELECT * FROM verag_homepage.dbo.menu_tags LEFT JOIN verag_homepage.dbo.homepage_content ON menu_tags.id=homepage_content.hp_refId WHERE menu_tags.id = '" & menuID & "'" + + cmd.CommandText = sql + Dim reader As SqlDataReader = cmd.ExecuteReader + Try + While reader.Read() + Dim b As New cBlock + hp_content.hp_id = reader.Item("id") + If reader.Item(getSpaltenBezeichnung(laenderkuerzel)) IsNot DBNull.Value Then hp_content.hp_content = reader.Item(getSpaltenBezeichnung(laenderkuerzel)) + If reader.Item(getSlogan(laenderkuerzel)) IsNot DBNull.Value Then hp_content.hp_slogan = reader.Item(getSlogan(laenderkuerzel)) + If reader.Item(getTitle(laenderkuerzel)) IsNot DBNull.Value Then hp_content.hp_title = reader.Item(getTitle(laenderkuerzel)) + If reader.Item("menu_logo") IsNot DBNull.Value Then hp_content.hp_imgPath = reader.Item("menu_logo") + If reader.Item("instance") IsNot DBNull.Value Then hp_content.hp_instance = reader.Item("instance") + If reader.Item("ref_id") IsNot DBNull.Value Then hp_content.hp_refIdToUpperMenue = reader.Item("ref_id") + Return hp_content + End While + reader.Close() + Catch ex As Exception + System.Web.HttpContext.Current.Response.Write("") + End Try + con.Close() + End Using + End Using + Catch ex As Exception + System.Web.HttpContext.Current.Response.Write("") + System.Web.HttpContext.Current.Response.Write("") + End Try + Return Nothing + End Function + + + + + + + Function getSpaltenBezeichnung(laenderkuerzel As String) As String + Dim spalte = "hp_de" + Select Case laenderkuerzel + Case "de" : spalte = "hp_de" + Case "bg" : spalte = "hp_bg" + Case "yu" : spalte = "hp_yu" + Case "ro" : spalte = "hp_ro" + Case "tr" : spalte = "hp_tr" + Case "en" : spalte = "hp_en" + End Select + Return spalte + End Function + + Function getSlogan(laenderkuerzel As String) As String + Dim spalte = "hp_de" + Select Case laenderkuerzel + Case "de" : spalte = "menu_slogan_de" + Case "bg" : spalte = "menu_slogan_bg" + Case "yu" : spalte = "menu_slogan_yu" + Case "ro" : spalte = "menu_slogan_ro" + Case "tr" : spalte = "menu_slogan_tr" + Case "en" : spalte = "menu_slogan_en" + End Select + Return spalte + End Function + + Function getTitle(laenderkuerzel As String) As String + Dim spalte = "hp_de" + Select Case laenderkuerzel + Case "de" : spalte = "desc_de" + Case "bg" : spalte = "desc_bg" + Case "yu" : spalte = "desc_yu" + Case "ro" : spalte = "desc_ro" + Case "tr" : spalte = "desc_tr" + Case "en" : spalte = "desc_en" + End Select + Return spalte + End Function + + + Public Sub update_HPContentNew(hp_content As hp_content, laenderkuerzel As String) + + Dim sql As String = " begin tran" & + " if NOT exists (select * from homepage_content with (updlock,serializable) where hp_refId=@hp_refId ) " & + " begin " & + "INSERT INTO homepage_content " & + " (hp_refId) " & + " VALUES(@hp_refId) " & + " End " & + " UPDATE homepage_content " & + " SET [" & getSpaltenBezeichnung(laenderkuerzel) & "]=@hp WHERE hp_refId=@hp_refId " & + " UPDATE menu_tags " & + "SET " & getSlogan(laenderkuerzel) & "=@slogan, " & getTitle(laenderkuerzel) & "=@title, menu_logo=@img WHERE id=@id " & + " commit tran " + ' MsgBox(sql) + Using conn As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand(sql, conn) + cmd.Parameters.AddWithValue("@hp", hp_content.hp_content) + cmd.Parameters.AddWithValue("@hp_refId", hp_content.hp_id) + cmd.Parameters.AddWithValue("@slogan", hp_content.hp_slogan) + cmd.Parameters.AddWithValue("@title", hp_content.hp_title) + cmd.Parameters.AddWithValue("@img", hp_content.hp_imgPath) + cmd.Parameters.AddWithValue("@id", hp_content.hp_id) + Try + cmd.ExecuteNonQuery() + + Catch ex As SqlException + MsgBox(System.Reflection.MethodInfo.GetCurrentMethod.Name & ": ERR01 Datensatz kann nicht gespeichert werden!" & vbCrLf & vbCrLf & ex.Message, vbExclamation, "Fehler beim Speichern Programm") + End Try + End Using + conn.Close() + End Using + If False Then + + Dim sql2 As String = " UPDATE homepage_content " & + " SET [" & getSpaltenBezeichnung(laenderkuerzel) & "]=@hp WHERE hp_refId=@hp_refId " + + sql2 &= " UPDATE menu_tags " & + "SET " & getSlogan(laenderkuerzel) & "=@slogan, " & getTitle(laenderkuerzel) & "=@title, menu_logo=@img WHERE id=@id " + Using conn As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand(sql2, conn) + cmd.Parameters.AddWithValue("@slogan", hp_content.hp_slogan) + cmd.Parameters.AddWithValue("@title", hp_content.hp_title) + cmd.Parameters.AddWithValue("@img", hp_content.hp_imgPath) + cmd.Parameters.AddWithValue("@id", hp_content.hp_id) + cmd.Parameters.AddWithValue("@hp", hp_content.hp_content) + cmd.Parameters.AddWithValue("@hp_refId", hp_content.hp_id) + Try + cmd.ExecuteNonQuery() + + Catch ex As SqlException + MsgBox(System.Reflection.MethodInfo.GetCurrentMethod.Name & ": ERR02 Datensatz kann nicht gespeichert werden!" & vbCrLf & vbCrLf & ex.Message, vbExclamation, "Fehler beim Speichern Programm") + End Try + End Using + conn.Close() + End Using + + End If + + End Sub + + + Public Sub doTheSql(sql As String) + Using conn As SqlConnection = GetNewOpenConnection() + Using cmd As New SqlCommand(sql, conn) + Try + cmd.ExecuteNonQuery() + Catch ex As SqlException + MsgBox(System.Reflection.MethodInfo.GetCurrentMethod.Name & ": ERROR: " & vbCrLf & vbCrLf & ex.Message, vbExclamation, "Fehler beim SQL") + End Try + End Using + conn.Close() + End Using + + End Sub + + Public Function getInstance(id As String) As Integer + Dim instance As Integer = -1 + Try + Dim hp_content As New hp_content + Using con As SQLConnection = GetNewOpenConnection() + Using cmd As New SQLCommand + cmd.Connection = con + Dim sql As String = " SELECT instance FROM menu_tags WHERE id='" & id & "' " + + cmd.CommandText = sql + Dim reader As SQLDataReader = cmd.ExecuteReader + Try + 'reader = cmd.ExecuteReader + If reader.HasRows Then + reader.Read() + instance = CInt(reader.Item("instance")) + 1 + End If + reader.Close() + Catch ex As Exception + MsgBox("Fehler 03: " & ex.Message) + End Try + con.Close() + End Using + End Using + Catch ex As Exception + MsgBox(ex.Message) + End Try + Return instance + End Function + + + + Public Function insert_HPContentNew(hp_content As hp_content, laenderkuerzel As String, title As String, refId As String, instance As String) As Integer + Dim newID As Integer = -1 + Dim sql As String = " INSERT INTO menu_tags ( " & getTitle(laenderkuerzel) & " , ref_id, instance) VALUES( @title,@refId,'" & (instance + 1) & "' ); Select Scope_Identity()" 'ON DUPLICATE KEY UPDATE hp_de = VALUES(@hp_de)" + 'dedet_abt + '; SELECT LAST_INSERT_ID() + Using conn As SQLConnection = GetNewOpenConnection() + Using cmd As New SQLCommand(sql, conn) + cmd.Parameters.AddWithValue("@title", title) + cmd.Parameters.AddWithValue("@refId", refId) + Try + ' cmd.ExecuteNonQuery() + newID = CInt(cmd.ExecuteScalar()) + + Catch ex As SQLException + MsgBox(System.Reflection.MethodInfo.GetCurrentMethod.Name & ": Datensatz kann nicht gespeichert werden!" & vbCrLf & vbCrLf & ex.Message, vbExclamation, "Fehler beim Speichern Programm") + End Try + End Using + conn.Close() + End Using + + + Dim sql2 As String = " INSERT INTO homepage_content (hp_refId) VALUES( @hp_refId) " 'ON DUPLICATE KEY UPDATE hp_de = VALUES(@hp_de)" + + Using conn As SQLConnection = GetNewOpenConnection() + Using cmd As New SQLCommand(sql2, conn) + cmd.Parameters.AddWithValue("@hp_refId", newID) + Try + cmd.ExecuteNonQuery() + + Catch ex As SQLException + MsgBox(System.Reflection.MethodInfo.GetCurrentMethod.Name & ": Datensatz kann nicht gespeichert werden!" & vbCrLf & vbCrLf & ex.Message, vbExclamation, "Fehler beim Speichern Programm") + End Try + End Using + conn.Close() + End Using + Return newID + End Function + + Public Sub deleteHpMenueAndContent(id) + Dim sql As String = " DELETE FROM menu_tags WHERE id=@id; DELETE FROM homepage_content WHERE hp_refId=@id " 'ON DUPLICATE KEY UPDATE hp_de = VALUES(@hp_de)" + 'dedet_abt + Using conn As SQLConnection = GetNewOpenConnection() + Using cmd As New SQLCommand(sql, conn) + cmd.Parameters.AddWithValue("@id", id) + + Try + cmd.ExecuteNonQuery() + + Catch ex As SQLException + MsgBox(System.Reflection.MethodInfo.GetCurrentMethod.Name & ": Datensatz kann nicht gelöscht werden!" & vbCrLf & vbCrLf & ex.Message, vbExclamation, "Fehler beim Speichern Programm") + End Try + End Using + End Using + End Sub + +End Class + diff --git a/App_Data/PublishProfiles/Homepage Produktiv _ ATILLA TEST.pubxml b/App_Data/PublishProfiles/Homepage Produktiv _ ATILLA TEST.pubxml new file mode 100644 index 0000000..cd119fd --- /dev/null +++ b/App_Data/PublishProfiles/Homepage Produktiv _ ATILLA TEST.pubxml @@ -0,0 +1,21 @@ + + + + + FTP + Debug + Any CPU + + True + False + home593200484.1and1-data.host + False + True + + u78876837 + <_SavePWD>True + + \ No newline at end of file diff --git a/App_Data/PublishProfiles/login.verag.ag.pubxml b/App_Data/PublishProfiles/login.verag.ag.pubxml new file mode 100644 index 0000000..86c6c9f --- /dev/null +++ b/App_Data/PublishProfiles/login.verag.ag.pubxml @@ -0,0 +1,17 @@ + + + + + FileSystem + Debug + Any CPU + + True + False + \\192.168.3.101\g\Websites\login.verag.ag\ + False + + \ No newline at end of file diff --git a/App_Data/PublishProfiles/loginTEST.verag.ag.pubxml b/App_Data/PublishProfiles/loginTEST.verag.ag.pubxml new file mode 100644 index 0000000..4bfbb77 --- /dev/null +++ b/App_Data/PublishProfiles/loginTEST.verag.ag.pubxml @@ -0,0 +1,17 @@ + + + + + FileSystem + Debug + Any CPU + + True + False + \\192.168.3.101\g\Websites\loginTEST.verag.ag + False + + \ No newline at end of file diff --git a/AvisoTV.aspx b/AvisoTV.aspx new file mode 100644 index 0000000..1a981d2 --- /dev/null +++ b/AvisoTV.aspx @@ -0,0 +1,245 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="AvisoTV.aspx.vb" Inherits="_Default" %> + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + + VERAG Spedition AG + + + + + + + + + + + + + + + + + + + + + + diff --git a/AvisoTV.aspx.vb b/AvisoTV.aspx.vb new file mode 100644 index 0000000..62c95d4 --- /dev/null +++ b/AvisoTV.aspx.vb @@ -0,0 +1,7 @@ + +Partial Class _Default + Inherits System.Web.UI.Page + Sub test() + + End Sub +End Class diff --git a/VERAG_Homepage.sln b/VERAG_Homepage.sln new file mode 100644 index 0000000..b32f6e9 --- /dev/null +++ b/VERAG_Homepage.sln @@ -0,0 +1,51 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.28307.106 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{E24C65DC-7377-472B-9ABA-BC803B73C61A}") = "VERAG_Homepage", "http://localhost:56551", "{11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}" + ProjectSection(WebsiteProperties) = preProject + UseIISExpress = "true" + TargetFrameworkMoniker = ".NETFramework,Version%3Dv4.7" + ProjectReferences = "{a3b497bd-842c-4a2b-b398-ed1976849df1}|VERAG_PROG_ALLGEMEIN.dll;" + Debug.AspNetCompiler.VirtualPath = "/localhost_56551" + Debug.AspNetCompiler.PhysicalPath = "..\VERAG_Homepage\" + Debug.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_56551\" + Debug.AspNetCompiler.Updateable = "true" + Debug.AspNetCompiler.ForceOverwrite = "true" + Debug.AspNetCompiler.FixedNames = "false" + Debug.AspNetCompiler.Debug = "True" + Release.AspNetCompiler.VirtualPath = "/localhost_56551" + Release.AspNetCompiler.PhysicalPath = "..\VERAG_Homepage\" + Release.AspNetCompiler.TargetPath = "PrecompiledWeb\localhost_56551\" + Release.AspNetCompiler.Updateable = "true" + Release.AspNetCompiler.ForceOverwrite = "true" + Release.AspNetCompiler.FixedNames = "false" + Release.AspNetCompiler.Debug = "False" + SlnRelativePath = "..\VERAG_Homepage\" + EndProjectSection +EndProject +Project("{F184B08F-C81C-45F6-A57F-5ABD9991F28F}") = "VERAG_PROG_ALLGEMEIN", "..\..\VB\SDL\SDL\VERAG_PROG_ALLGEMEIN\VERAG_PROG_ALLGEMEIN.vbproj", "{A3B497BD-842C-4A2B-B398-ED1976849DF1}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}.Debug|Any CPU.Build.0 = Debug|Any CPU + {11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}.Release|Any CPU.ActiveCfg = Debug|Any CPU + {11EF0CDA-BC19-40FB-91C4-25C81F3A27AC}.Release|Any CPU.Build.0 = Debug|Any CPU + {A3B497BD-842C-4A2B-B398-ED1976849DF1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {A3B497BD-842C-4A2B-B398-ED1976849DF1}.Debug|Any CPU.Build.0 = Debug|Any CPU + {A3B497BD-842C-4A2B-B398-ED1976849DF1}.Release|Any CPU.ActiveCfg = Release|Any CPU + {A3B497BD-842C-4A2B-B398-ED1976849DF1}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {88EFE1FF-5474-4F04-8980-13C1513F7D0F} + EndGlobalSection +EndGlobal diff --git a/Web.Debug.config b/Web.Debug.config new file mode 100644 index 0000000..804c7ee --- /dev/null +++ b/Web.Debug.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Web.config b/Web.config new file mode 100644 index 0000000..862e54e --- /dev/null +++ b/Web.config @@ -0,0 +1,93 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/admin/addHp.aspx b/admin/addHp.aspx new file mode 100644 index 0000000..721fd0b --- /dev/null +++ b/admin/addHp.aspx @@ -0,0 +1,39 @@ +<%@ Page Language="VB" AutoEventWireup="false" CodeFile="addHp.aspx.vb" Inherits="admin_InputBox" EnableEventValidation="false" %> + + + + + + + + + + + + + + + + + + + +
Neue Seite erstellen
+
+
+ Bitte geben Sie den deutschen Bezeichner für die neue Homepage ein:
+

+ +    + + +
+
+ diff --git a/admin/addHp.aspx.vb b/admin/addHp.aspx.vb new file mode 100644 index 0000000..1c4df2e --- /dev/null +++ b/admin/addHp.aspx.vb @@ -0,0 +1,66 @@ + +Partial Class admin_InputBox + Inherits System.Web.UI.Page + Public laenderkuerzel As String = "de" + Public menueId As Integer = 1 + Private DB As New cDBADMINFunctions + + Dim hp_content As hp_content = Nothing + + + + Public Overrides Sub VerifyRenderingInServerForm(control As Control) + + End Sub + 'PreviousPage ???? + + Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load + If Not IsPostBack Then 'ERSTES MAL + Page.Session("parentReload") = Nothing + Page.Session("close") = Nothing + ' Page.Session("navParent") = "admin" + + If Not Request.QueryString("lan") Is Nothing Then + laenderkuerzel = Request.QueryString("lan") + Else + laenderkuerzel = "de" + End If + + + + If Not Request.QueryString("menuID") Is Nothing Then + menueId = Request.QueryString("menuID") + Else + menueId = 1 + End If + + hp_content = DB.qry_contentNew(menueId, laenderkuerzel) + + Page.Session("hp_content") = hp_content + + + End If + End Sub + + + Protected Sub addPage_Click(sender As Object, e As EventArgs) Handles addPage.Click + + Dim hp_content As hp_content = Nothing + hp_content = Page.Session("hp_content") 'sonst gehs ned, weil werte nicht geladfen sind + ' Dim title = InputBox("Bitte geben Sie den deutschen Menü-Titel an:") + ' System.Web.HttpContext.Current.Response.Write("") + Dim title As String = input.Text + + If title <> "" Then + 'Request.QueryString("menuID") + Dim menueId As Integer = -1 + menueId = DB.insert_HPContentNew(hp_content, laenderkuerzel, title, hp_content.hp_id, hp_content.hp_instance) + 'Page.Parent.Page.Response.Redirect("admin.aspx?menuId=" & menueId & "&lan=" & laenderkuerzel) + + Page.Session("parentReload") = "admin.aspx?menuID=" & menueId & "&lan=" & laenderkuerzel + + Else + MsgBox("Der Titel darf nicht leer sein!") + End If + End Sub +End Class diff --git a/admin/admin.aspx b/admin/admin.aspx new file mode 100644 index 0000000..6769df4 --- /dev/null +++ b/admin/admin.aspx @@ -0,0 +1,137 @@ +<%@ Page Language="VB" Debug="true" ValidateRequest="false" AutoEventWireup="false" CodeFile="admin.aspx.vb" Inherits="admin_admin" %> + + + + + + + HOMEPAGE ADMIN + + + + + + + + + + + + + + + + + + + + + +
+
+ + +
+
+
+ + +
+

ADMIN - HOMEPAGE BEARBEITUNG

+
+
+ + + + + + + + + + + + + + + + + + + + + +
Menü-Bezeichnung:Slogan (nur bei Hauptmenü):Bild-Pfad:
+ + + + + + +   + +
+ Sprache: + + + + + + + + + +
   
+
+ + + +
+
+
+
+
+ +
+
+
+ +
+
+
+
+ SQL:
+ + + +
+ + + +
+
+ +
+
+
+
+ +
+ + diff --git a/admin/admin.aspx.vb b/admin/admin.aspx.vb new file mode 100644 index 0000000..eb34a55 --- /dev/null +++ b/admin/admin.aspx.vb @@ -0,0 +1,166 @@ + +Partial Class admin_admin + Inherits System.Web.UI.Page + + Private DB As New cDBADMINFunctions + + Dim blocks As New List(Of cBlock) + Private margin_top As Integer = 20 + Private margin_left As Integer = 20 + Private top_value As Integer = 0 + Private left_value As Integer = 0 + Private rowmaxheight As Integer = 0 + Private screenwidth As Integer = 1200 + ' Dim WithEvents fctbHTML As New FastColoredTextBox + Dim hp_content As hp_content = Nothing + + Public laenderkuerzel As String = "de" + Dim hp_test As String = "" + Public menueId As Integer = 1 + + Dim WithEvents fctbHTML As New TextBox + + Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load + If Not Me.Page.User.Identity.IsAuthenticated Then + FormsAuthentication.RedirectToLoginPage() + End If + + If Not Request.IsSecureConnection Then + ' Response.Redirect(Request.Url.AbsoluteUri.Replace("http://", "https://").Replace("56551", "44300")) + + End If + + + + If Not IsPostBack Then 'ERSTES MAL + Page.Session("navParent") = "admin" + + If Not Request.QueryString("lan") Is Nothing AndAlso Request.QueryString("lan").ToString <> "" Then + laenderkuerzel = Request.QueryString("lan") + Else + If laenderkuerzel = "" Then laenderkuerzel = "de" + End If + + + If Not Request.QueryString("menuID") Is Nothing AndAlso Request.QueryString("menuID").ToString <> "" Then + menueId = Request.QueryString("menuID") + Else + menueId = 1 + End If + + initHomepage() + Page.Session("hp_content") = hp_content + Try + Me.Sprache.SelectedValue = laenderkuerzel.ToUpper + Catch ex As Exception + + End Try + + End If + + + End Sub + + Protected Sub Update_Click(sender As Object, e As EventArgs) Handles btnUpdate.Click ' Handles btnUpdate.Click + + Dim hp_content As hp_content = Nothing + hp_content = Page.Session("hp_content") 'sonst gehs ned, weil werte nicht geladfen sind + hp_content.hp_content = txtContent.Text + hp_content.hp_imgPath = txtMenueIMGPfad.Text + hp_content.hp_title = txtMenueBez.Text + hp_content.hp_slogan = txtMenueSlogan.Text + + laenderkuerzel = Request.QueryString("lan") + 'If hp_content.hp_id >= 0 Then + DB.update_HPContentNew(hp_content, laenderkuerzel) + 'Else + + 'End If + ' initHomepage() + End Sub + + + Protected Sub SpracheChanged(sender As Object, e As EventArgs) Handles Sprache.SelectedIndexChanged + Response.Redirect("admin.aspx?menuId=" & Request.QueryString("menuID") & "&lan=" & Sprache.Text.ToLower) + End Sub + + + Protected Sub btnDoSql_Click(sender As Object, e As EventArgs) Handles btnDoSql.Click ' Handles btnUpdate.Click + + If sqlText.Text <> "" Then + DB.doTheSql(sqlText.Text) + Else + + End If + End Sub + + + + Sub initHomepage() + Try + + laenderkuerzel = Request.QueryString("lan") + hp_content = DB.qry_contentNew(menueId, laenderkuerzel) + If hp_content Is Nothing Then + hp_content = New hp_content + hp_content.hp_content = "" + hp_content.hp_id = menueId + + ' hp_content.hp_id = -1 + End If + Catch ex As Exception + ' MsgBox("ERR") + System.Web.HttpContext.Current.Response.Write("") + End Try + ' Exit Sub + txtContent.Text = hp_content.hp_content.Replace("\r\n", vbNewLine) + txtMenueIMGPfad.Text = hp_content.hp_imgPath + txtMenueBez.Text = hp_content.hp_title + txtMenueSlogan.Text = hp_content.hp_slogan + + Try + If hp_content.hp_imgPath <> "" Then + picMenue.ImageUrl = "../" & hp_content.hp_imgPath + End If + Catch ex As Exception + + End Try + + ' btnDel.Enabled = False 'del + ' BtnAdd.Enabled = False 'unter + If hp_content.hp_instance <> "" Then + ' If hp_content.hp_instance > 0 Then btnDel.Enabled = True + ' If hp_content.hp_instance < 2 Then BtnAdd.Enabled = True + End If + + End Sub + + + Protected Sub BtnAdd_Click(sender As Object, e As EventArgs) 'Handles BtnAdd.Click + Exit Sub + Dim hp_content As hp_content = Nothing + + hp_content = Page.Session("hp_content") 'sonst gehs ned, weil werte nicht geladfen sind + Dim title = InputBox("Bitte geben Sie den deutschen Menü-Titel an:") + ' System.Web.HttpContext.Current.Response.Write("") + + If title <> "" Then + MsgBox(laenderkuerzel) + 'Request.QueryString("menuID") + menueId = DB.insert_HPContentNew(hp_content, laenderkuerzel, title, hp_content.hp_id, hp_content.hp_instance) + Response.Redirect("admin.aspx?menuId=" & menueId & "&lan=" & laenderkuerzel) + 'initHomepage() + Else + MsgBox("Der Titel darf nicht leer sein!") + End If + End Sub + + Protected Sub btnDel_Click(sender As Object, e As EventArgs) 'Handles btnDel.Click + Dim hp_content As hp_content = Nothing + hp_content = Page.Session("hp_content") 'sonst gehs ned, weil werte nicht geladfen sind + If vbYes = MsgBox("Möchten Sie wirklich diese Seite und allen Sprachen löschen?" & vbNewLine & "'" & hp_content.hp_title & "'", vbYesNoCancel) Then 'alle Unterseiten in + DB.deleteHpMenueAndContent(hp_content.hp_id) + End If + Response.Redirect("admin.aspx?menuId=1&lan=" & laenderkuerzel) + End Sub +End Class diff --git a/admin/delHp.aspx b/admin/delHp.aspx new file mode 100644 index 0000000..4dc3705 --- /dev/null +++ b/admin/delHp.aspx @@ -0,0 +1,41 @@ +<%@ Page Language="VB" AutoEventWireup="false" CodeFile="delHp.aspx.vb" Inherits="admin_InputBox" EnableEventValidation="false" %> + + + + + + + + + + + + + + + + + + + + + + +
Möchten Sie diese Seite wirklich löschen?
+
+
+ +    + + + +
+
+ diff --git a/admin/delHp.aspx.vb b/admin/delHp.aspx.vb new file mode 100644 index 0000000..2fd6e4f --- /dev/null +++ b/admin/delHp.aspx.vb @@ -0,0 +1,51 @@ + +Partial Class admin_InputBox + Inherits System.Web.UI.Page + Public laenderkuerzel As String = "de" + Public menueId As Integer = 1 + Private DB As New cDBADMINFunctions + + Dim hp_content As hp_content = Nothing + + + + Public Overrides Sub VerifyRenderingInServerForm(control As Control) + + End Sub + + + Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load + If Not IsPostBack Then 'ERSTES MAL + Page.Session("parentReload") = Nothing + Page.Session("close") = Nothing + ' Page.Session("navParent") = "admin" + + If Not Request.QueryString("lan") Is Nothing Then + laenderkuerzel = Request.QueryString("lan") + Else + laenderkuerzel = "de" + End If + + + If Not Request.QueryString("menuID") Is Nothing Then + menueId = Request.QueryString("menuID") + Else + menueId = 1 + End If + + hp_content = DB.qry_contentNew(menueId, laenderkuerzel) + + Page.Session("hp_content") = hp_content + + End If + End Sub + + Protected Sub addPage_Click(sender As Object, e As EventArgs) Handles addPage.Click + + Dim hp_content As hp_content = Nothing + hp_content = Page.Session("hp_content") 'sonst gehs ned, weil werte nicht geladfen sind + DB.deleteHpMenueAndContent(hp_content.hp_id) + Page.Session("parentReload") = "admin.aspx?menuID=1&lan=" & laenderkuerzel + + End Sub +End Class diff --git a/css/cssmap-europe/Neuer Ordner/eu-1280.png b/css/cssmap-europe/Neuer Ordner/eu-1280.png new file mode 100644 index 0000000..49ad04a Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-1280.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-1450.png b/css/cssmap-europe/Neuer Ordner/eu-1450.png new file mode 100644 index 0000000..7129a38 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-1450.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-250.png b/css/cssmap-europe/Neuer Ordner/eu-250.png new file mode 100644 index 0000000..2993cc5 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-250.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-320.png b/css/cssmap-europe/Neuer Ordner/eu-320.png new file mode 100644 index 0000000..fec7d75 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-320.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-430.png b/css/cssmap-europe/Neuer Ordner/eu-430.png new file mode 100644 index 0000000..df8a77f Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-430.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-540.png b/css/cssmap-europe/Neuer Ordner/eu-540.png new file mode 100644 index 0000000..a3ed2b1 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-540.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-650.png b/css/cssmap-europe/Neuer Ordner/eu-650.png new file mode 100644 index 0000000..d96e465 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-650.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-750.png b/css/cssmap-europe/Neuer Ordner/eu-750.png new file mode 100644 index 0000000..cabbb83 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-750.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-850.png b/css/cssmap-europe/Neuer Ordner/eu-850.png new file mode 100644 index 0000000..e9c5150 Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-850.png differ diff --git a/css/cssmap-europe/Neuer Ordner/eu-960.png b/css/cssmap-europe/Neuer Ordner/eu-960.png new file mode 100644 index 0000000..280504e Binary files /dev/null and b/css/cssmap-europe/Neuer Ordner/eu-960.png differ diff --git a/css/cssmap-europe/cssmap-europe.css b/css/cssmap-europe/cssmap-europe.css new file mode 100644 index 0000000..c260249 --- /dev/null +++ b/css/cssmap-europe/cssmap-europe.css @@ -0,0 +1,157 @@ +/* default tooltip */ +.css-map > li a,.css-map > li a:hover,#map-tooltip,.cssmap-tooltip-content{ + background: #111; + background: rgba(0,0,0,.8); + color: #eee; + font: normal 12px 'Lucida Grande',Arial,sans-serif; + padding: .5em 1.2em; + text-align: center; + text-shadow: 0 1px 0 #000; + white-space: nowrap; + -moz-border-radius: .6em; + -ms-border-radius: .6em; + -webkit-border-radius: .6em; + border-radius: .6em; + } + .m1450 .css-map > li a,.m1280 .css-map > li a{ font-size: 14px } + .m650 .css-map > li a{ font-size: 11px } + .m540 .css-map > li a,.m430 .css-map > li a{ font-size: 10px } + .m320 .css-map > li a,.m250 .css-map > li a{ font-size: 9px !important } + + /* tooltip arrow; when you change its size don't forget to set tooltipArrowHeight variable in the cssMap(); function */ + .css-map > li a .tooltip-arrow{ + bottom: -5px; /* must be the same as a border-width */ + border: solid; + border-color: #111 transparent; + border-color: rgba(0,0,0,.8) transparent; + border-width: 5px 5px 0 5px; /* this's a height of the arrow */ + margin-left: -5px; /* must be the same as a border-width */ + } + .css-map > li a.tooltip-right .tooltip-arrow{ + margin-right: -5px; /* must be the same as a tooltip-arrow border-width */ + } + .css-map > li a.tooltip-top .tooltip-arrow{ /* set tooltip under the arrow */ + border-width:0 5px 5px 5px; + top: -5px; + } + + /* tooltip style when the region is activated */ + .css-map .active-region a{background-color: #111} + .css-map .active-region a .tooltip-arrow{border-color: #111 transparent} + + /* links in the visible list of regions */ + .map-visible-list a{ + /* color: #eee; */ + } + .map-visible-list a:hover,.map-visible-list a:focus,.map-visible-list li.focus a{ + /* color: #fc0; */ + } + .map-visible-list a:active,.map-visible-list li.active-region a{ + /* color: #cc3; */ + } + +/* markers tooltip style */ +.cssmap-tooltip-content{ + text-align:left; + } + +/* default pre-loader */ +.map-loader{ + background: #111; + background: rgba(0,0,0,.8); + color: #eee; + font: normal 14px 'Lucida Grande',Arial,sans-serif; + padding: .6em 1.2em; + text-shadow: 0 1px 0 #000; + -moz-border-radius: .6em; + -ms-border-radius: .6em; + -webkit-border-radius: .6em; + border-radius: .6em; + } + .m1450 .map-loader,.m1280 .map-loader{font-size:16px} + .m540 .map-loader,.m430 .map-loader{font-size:12px} + .m320 .map-loader{font-size:11px} + .m250 .map-loader{font-size:10px} + +/* link to the search engine - shown in the multipleClick mode */ +.map-search-link{ + /* your properties goes here */ + } + .map-search-link:hover,a.map-search-link:focus{ + /* selected link style */ + } + .m540 .map-search-link{ + /* style for a specific map size, ex.: + font-size: 1em; + */ + } + +/* -------------------------------------------------------- + * the maps starts here + + * DO NOT EDIT! + + * CSSMap plugin - Europe + * version: 4.4.26 + * web: http://cssmapsplugin.com/europe + * email: support@cssmapsplugin.com + * author: Łukasz Popardowski { Winston_Wolf } + * license: http://cssmapsplugin.com/license +*/ +.css-map-container{margin:0 auto !important;overflow:hidden;padding:0 !important;position:relative} .css-map-container *{-moz-box-sizing: content-box;-webkit-box-sizing: content-box;box-sizing: content-box} .css-map{display:block;left:0;margin:0 !important;list-style:none;padding:0 !important;position:relative} .css-map > li{height:0;width:0} .css-map > li a{height:auto;margin:-9999px 0 0 0;position:absolute;text-decoration:none;width:auto;z-index:89} .css-map > li a:focus{outline:0 none} .css-map-container span{display:block;height:0;left:0;position:absolute;top:-9999px;width:0} .css-map > li a.tooltip-right{left:auto;right:0;width:auto} .css-map > li a .tooltip-arrow{left:50%;top:auto} .css-map > li a.tooltip-middle .tooltip-arrow{display:none} .css-map > li a.tooltip-top .tooltip-arrow{bottom:auto} .css-map > li a.tooltip-right .tooltip-arrow{left:auto} #map-tooltip{position:absolute;z-index:999} .css-map-container .cities{top:0;z-index:88} .css-map .bg{padding:10px} .css-map .active-region .bg{z-index:87} .css-map .m{cursor:pointer;z-index:99} .css-map .m span{z-index:89} .map-visible-list{clear:both;overflow:hidden} span.map-loader{height:auto;position:absolute;text-align:center;width:auto;z-index:90} + +/* really, DO NOT EDIT THIS! */ +.eu1 .s1{height:.6em;left:8.3em;top:10.5em;width:.1em}.eu1 .s2{height:.2em;left:8.5em;top:10.9em;width:.1em}.eu1 .s3{height:.1em;left:8.5em;top:10.6em;width:.1em}.eu1 .s4{height:.7em;left:8.4em;top:10.5em;width:.1em} .eu2 .s1{height:.1em;left:5.1em;top:10.5em;width:.1em} .eu3 .s1{height:.1em;left:7.5em;top:8.9em;width:.4em}.eu3 .s2{height:.1em;left:7.2em;top:9em;width:.7em}.eu3 .s3{height:.1em;left:7.2em;top:9.1em;width:.7em}.eu3 .s4{height:.6em;left:7.4em;top:9em;width:.1em}.eu3 .s5{height:.1em;left:7em;top:9.4em;width:.7em}.eu3 .s6{height:.1em;left:6.9em;top:9.2em;width:.9em}.eu3 .s7{height:.1em;left:6.7em;top:9.4em;width:.1em}.eu3 .s8{height:.1em;left:6.6em;top:9.3em;width:1.2em} .eu4 .s1{height:.1em;left:9.8em;top:6.8em;width:.3em}.eu4 .s2{height:.2em;left:9.6em;top:6.9em;width:.8em}.eu4 .s3{height:.3em;left:9.4em;top:7.1em;width:1em}.eu4 .s4{height:.2em;left:10.6em;top:7.5em;width:.1em}.eu4 .s5{height:.1em;left:9.8em;top:8.1em;width:.5em}.eu4 .s6{height:.6em;left:9.5em;top:7.3em;width:1em}.eu4 .s7{height:.3em;left:9.3em;top:7.4em;width:1.3em}.eu4 .s8{height:.1em;left:9em;top:7.9em;width:1.5em}.eu4 .s9{height:.6em;left:9.1em;top:7.5em;width:1.3em} .eu5 .s1{height:.1em;left:5.7em;top:8.6em;width:.2em}.eu5 .s2{height:.1em;left:5.6em;top:8.5em;width:.4em}.eu5 .s3{height:.1em;left:5.5em;top:8.4em;width:.5em}.eu5 .s4{height:.2em;left:5.3em;top:8.2em;width:.6em} .eu6 .s1{height:.1em;left:8.1em;top:10.5em;width:.1em}.eu6 .s2{height:.2em;left:8em;top:10.3em;width:.2em}.eu6 .s3{height:.1em;left:7.9em;top:10.2em;width:.4em}.eu6 .s4{height:.1em;left:7.8em;top:10.1em;width:.6em}.eu6 .s5{height:.2em;left:7.7em;top:9.9em;width:.6em} .eu7 .s1{height:.2em;left:9.9em;top:10.2em;width:.1em}.eu7 .s2{height:.1em;left:9.6em;top:10.1em;width:.2em}.eu7 .s3{height:.5em;left:9.5em;top:10.2em;width:.4em}.eu7 .s4{height:.3em;left:8.9em;top:10.4em;width:.7em}.eu7 .s5{height:.6em;left:9em;top:10.2em;width:.5em}.eu7 .s6{height:.3em;left:8.9em;top:10.1em;width:.1em} .eu8 .s1{height:.1em;left:7.8em;top:9.5em;width:.1em}.eu8 .s2{height:.1em;left:7.7em;top:9.6em;width:.3em}.eu8 .s3{height:.1em;left:7.6em;top:9.7em;width:.7em}.eu8 .s4{height:.2em;left:7.7em;top:10.3em;width:.3em}.eu8 .s5{height:.1em;left:7.6em;top:10.2em;width:.3em}.eu8 .s6{height:.1em;left:7.5em;top:10.1em;width:.3em}.eu8 .s7{height:.1em;left:7.4em;top:10em;width:.3em}.eu8 .s8{height:.1em;left:7.3em;top:9.9em;width:.4em}.eu8 .s9{height:.1em;left:7.3em;top:9.8em;width:1em} .eu9 .s1{height:.1em;left:11em;top:12.1em;width:.1em}.eu9 .s2{height:.2em;left:10.7em;top:12.1em;width:.3em}.eu9 .s3{height:.2em;left:10.6em;top:12.2em;width:.3em} .eu10 .s1{height:.1em;left:7.4em;top:8.3em;width:.2em}.eu10 .s2{height:.1em;left:7.2em;top:8.4em;width:.6em}.eu10 .s3{height:.1em;left:7em;top:8.5em;width:.1em}.eu10 .s4{height:.3em;left:7.1em;top:8.5em;width:.1em}.eu10 .s5{height:.2em;left:8.1em;top:8.6em;width:.1em}.eu10 .s6{height:.3em;left:8em;top:8.6em;width:.1em}.eu10 .s7{height:.4em;left:7.2em;top:8.5em;width:.8em}.eu10 .s8{height:.6em;left:7.3em;top:8.4em;width:.2em} .eu11 .s1{height:.1em;left:6.5em;top:6.3em;width:.1em}.eu11 .s2{height:.3em;left:6.6em;top:6.2em;width:.3em}.eu11 .s3{height:.2em;left:6.8em;top:6.5em;width:.2em}.eu11 .s4{height:.8em;left:6.3em;top:6.4em;width:.5em}.eu11 .s5{height:.6em;left:6.8em;top:6.7em;width:.3em}.eu11 .s6{height:.2em;left:7.4em;top:7em;width:.2em}.eu11 .s7{height:.2em;left:3.6em;top:4.8em;width:.1em}.eu11 .s8{height:.2em;left:3.5em;top:4.6em;width:.3em} .eu12 .s1{height:.1em;left:9.3em;top:5.5em;width:.3em}.eu12 .s2{height:.1em;left:9.5em;top:6.2em;width:.3em}.eu12 .s3{height:.5em;left:8.7em;top:5.7em;width:1.1em}.eu12 .s4{height:.2em;left:9.1em;top:5.6em;width:.8em} .eu13 .s1{height:.1em;left:6.1em;top:10.3em;width:.1em}.eu13 .s2{height:.3em;left:6.1em;top:8.8em;width:.2em}.eu13 .s3{height:.4em;left:3.9em;top:8.9em;width:2.3em}.eu13 .s4{height:.6em;left:4.2em;top:8.8em;width:1.9em}.eu13 .s5{height:.9em;left:4.4em;top:8.6em;width:.1em}.eu13 .s6{height:1em;left:4.5em;top:8.6em;width:1.2em}.eu13 .s7{height:.2em;left:5.5em;top:8.5em;width:.1em}.eu13 .s8{height:.3em;left:5.1em;top:8.3em;width:.2em}.eu13 .s9{height:.1em;left:6.1em;top:10.1em;width:.1em}.eu13 .s10{height:.9em;left:5.8em;top:9.6em;width:.3em}.eu13 .s11{height:1.7em;left:4.6em;top:8.7em;width:1.4em}.eu13 .s12{height:1.9em;left:4.8em;top:8.6em;width:.4em}.eu13 .s13{height:2.2em;left:5.2em;top:8.4em;width:.3em}.eu13 .s14{height:.4em;left:6.3em;top:10.4em;width:.3em} .eu14 .s1{height:.1em;left:9.6em;top:1.2em;width:.3em}.eu14 .s2{height:.2em;left:9.5em;top:1.3em;width:.6em}.eu14 .s3{height:.4em;left:9.4em;top:1.4em;width:.6em}.eu14 .s4{height:.1em;left:9.3em;top:1.8em;width:.7em}.eu14 .s5{height:.2em;left:8.6em;top:1.6em;width:.2em}.eu14 .s6{height:.1em;left:8.7em;top:1.8em;width:.2em}.eu14 .s7{height:.1em;left:8.8em;top:1.9em;width:.2em}.eu14 .s8{height:.1em;left:9.1em;top:1.8em;width:.1em}.eu14 .s9{height:.3em;left:9em;top:1.9em;width:1em}.eu14 .s10{height:.3em;left:10.1em;top:2.2em;width:.1em}.eu14 .s11{height:1em;left:9.1em;top:2.1em;width:1em}.eu14 .s12{height:.7em;left:9.2em;top:2.9em;width:1em}.eu14 .s13{height:.3em;left:10.4em;top:4.3em;width:.1em}.eu14 .s14{height:.4em;left:10.3em;top:4.2em;width:.1em}.eu14 .s15{height:1em;left:10.2em;top:3.8em;width:.1em}.eu14 .s16{height:1.3em;left:9.1em;top:3.6em;width:1.1em}.eu14 .s17{height:1.2em;left:9em;top:3.8em;width:1.1em}.eu14 .s18{height:1.2em;left:8.9em;top:3.9em;width:1.1em}.eu14 .s19{height:1.3em;left:8.8em;top:4em;width:1.1em}.eu14 .s20{height:1.5em;left:8.6em;top:4.1em;width:.5em}.eu14 .s21{height:.2em;left:8.3em;top:5.3em;width:1.5em} .eu15 .s1{height:.1em;left:13em;top:10.8em;width:.2em}.eu15 .s2{height:.2em;left:13em;top:10.6em;width:.1em}.eu15 .s3{height:.1em;left:12.6em;top:10.8em;width:.2em}.eu15 .s4{height:.3em;left:12.2em;top:10.5em;width:.8em}.eu15 .s5{height:.2em;left:12.2em;top:10.4em;width:.5em}.eu15 .s6{height:.2em;left:12em;top:10.3em;width:.5em} .eu16 .s1{height:.3em;left:6.1em;top:7.5em;width:.1em}.eu16 .s2{height:.5em;left:7.4em;top:7.8em;width:.1em}.eu16 .s3{height:.1em;left:7.1em;top:7.2em;width:.3em}.eu16 .s4{height:.1em;left:6.8em;top:7.3em;width:.6em}.eu16 .s5{height:.2em;left:6.3em;top:7.2em;width:.5em}.eu16 .s6{height:1em;left:6.2em;top:7.4em;width:1.2em}.eu16 .s7{height:.7em;left:6.1em;top:7.8em;width:1.1em}.eu16 .s8{height:.2em;left:6.2em;top:9.1em;width:.1em}.eu16 .s9{height:.1em;left:6.6em;top:9.2em;width:.3em}.eu16 .s10{height:.1em;left:7.2em;top:8.9em;width:.1em}.eu16 .s11{height:.4em;left:7.1em;top:8.8em;width:.1em}.eu16 .s12{height:.6em;left:6.3em;top:8.6em;width:.8em}.eu16 .s13{height:.7em;left:6em;top:8.1em;width:1em} .eu17 .s1{height:.2em;left:9.5em;top:10.7em;width:.1em}.eu17 .s2{height:.2em;left:8.9em;top:10.8em;width:.6em}.eu17 .s3{height:.2em;left:8.6em;top:10.9em;width:.8em}.eu17 .s4{height:.2em;left:9em;top:12.1em;width:.8em}.eu17 .s5{height:.2em;left:8.9em;top:11.9em;width:1em}.eu17 .s6{height:.2em;left:8.8em;top:11.8em;width:1em}.eu17 .s7{height:.3em;left:8.7em;top:11.6em;width:1em}.eu17 .s8{height:.5em;left:8.6em;top:11.3em;width:1em}.eu17 .s9{height:.6em;left:8.5em;top:11.1em;width:.9em}.eu17 .s10{height:.4em;left:8.4em;top:11.2em;width:1.1em}.eu17 .s11{height:.2em;left:8.3em;top:11.1em;width:.1em} .eu18 .s1{height:.1em;left:8.9em;top:9.1em;width:.1em}.eu18 .s2{height:.2em;left:8.8em;top:9em;width:.1em}.eu18 .s3{height:.4em;left:8.5em;top:9em;width:.3em}.eu18 .s4{height:.5em;left:8.2em;top:9.1em;width:.5em}.eu18 .s5{height:.2em;left:8em;top:9.5em;width:.3em}.eu18 .s6{height:.5em;left:7.9em;top:9.1em;width:.1em}.eu18 .s7{height:.3em;left:7.8em;top:9.2em;width:.9em} .eu19 .s1{height:.5em;left:2.4em;top:3.2em;width:.1em}.eu19 .s2{height:.3em;left:2em;top:3.7em;width:.3em}.eu19 .s3{height:.1em;left:1.2em;top:4.1em;width:.5em}.eu19 .s4{height:.4em;left:.8em;top:3.7em;width:1.2em}.eu19 .s5{height:.6em;left:.5em;top:3.1em;width:1.9em}.eu19 .s6{height:.6em;left:.4em;top:2.8em;width:1.9em} .eu20 .s1{height:.1em;left:3em;top:8.1em;width:.4em}.eu20 .s2{height:.2em;left:3em;top:7.9em;width:.6em}.eu20 .s3{height:.6em;left:3.1em;top:7.4em;width:.7em}.eu20 .s4{height:.7em;left:3.6em;top:7.3em;width:.1em}.eu20 .s5{height:.5em;left:3em;top:7.2em;width:.4em}.eu20 .s6{height:.2em;left:3.2em;top:7em;width:.4em} .eu21 .s1{height:.15em;left:7.05em;top:10.1em;width:.1em} .eu22 .s2{height:.2em;left:7.15em;top:10.1em;width:.1em}.eu22 .s3{height:.1em;left:6.95em;top:11.8em;width:.1em}.eu22 .s4{height:.1em;left:7.4em;top:11.8em;width:.3em}.eu22 .s5{height:.1em;left:7.2em;top:11.7em;width:.5em}.eu22 .s6{height:.2em;left:7em;top:11.5em;width:.8em}.eu22 .s7{height:.2em;left:7.5em;top:11.4em;width:.4em}.eu22 .s8{height:.2em;left:7.6em;top:11.2em;width:.4em}.eu22 .s9{height:.3em;left:8em;top:10.9em;width:.2em}.eu22 .s10{height:.4em;left:7.5em;top:10.8em;width:.5em}.eu22 .s11{height:.2em;left:7.3em;top:10.8em;width:.6em}.eu22 .s12{height:.3em;left:7.1em;top:10.6em;width:.7em}.eu22 .s13{height:.3em;left:7em;top:10.5em;width:.5em}.eu22 .s14{height:.6em;left:6.3em;top:10.8em;width:.4em}.eu22 .s15{height:.5em;left:6.9em;top:10.25em;width:.5em}.eu22 .s16{height:.3em;left:6.6em;top:10.25em;width:.7em}.eu22 .s17{height:.2em;left:6.2em;top:10.1em;width:.6em}.eu22 .s18{height:1.1em;left:6.8em;top:9.5em;width:.25em}.eu22 .s19{height:.1em;left:6.8em;top:9.4em;width:.2em}.eu22 .s20{height:.1em;left:6.7em;top:9.5em;width:.6em}.eu22 .s21{height:.1em;left:6.3em;top:9.6em;width:.1em}.eu22 .s22{height:.2em;left:6.5em;top:9.6em;width:.8em}.eu22 .s23{height:.4em;left:6.1em;top:9.7em;width:1.1em} .eu23 .s1{height:.2em;left:8.5em;top:10.4em;width:.2em} .eu24 .s1{height:.3em;left:9.8em;top:6.5em;width:.1em}.eu24 .s2{height:.1em;left:9.5em;top:6.8em;width:.3em}.eu24 .s3{height:.5em;left:9.4em;top:6.3em;width:.4em}.eu24 .s4{height:.6em;left:9.3em;top:6.2em;width:.1em}.eu24 .s5{height:.5em;left:8.7em;top:6.2em;width:.8em}.eu24 .s6{height:.5em;left:8.6em;top:6.3em;width:.1em} .eu25 .s1{height:.1em;left:6.5em;top:9.3em;width:.1em} .eu26 .s1{height:.1em;left:9.1em;top:7.4em;width:.2em}.eu26 .s2{height:.2em;left:8.9em;top:7.1em;width:.1em}.eu26 .s3{height:.3em;left:9em;top:7.1em;width:.4em}.eu26 .s4{height:.2em;left:9.5em;top:6.9em;width:.1em}.eu26 .s5{height:.1em;left:8.7em;top:6.7em;width:.6em}.eu26 .s6{height:.3em;left:8.6em;top:6.8em;width:.9em} .eu27 .s1{height:.2em;left:5.9em;top:8.6em;width:.1em} .eu28 .s1{height:.1em;left:8.9em;top:10.7em;width:.1em}.eu28 .s2{height:.1em;left:8.6em;top:10.6em;width:.3em}.eu28 .s3{height:.2em;left:8.5em;top:10.7em;width:.4em} .eu29 .s1{height:.2em;left:7.3em;top:11.95em;width:.2em} .eu30 .s1{height:.1em;left:10.1em;top:9.4em;width:.1em}.eu30 .s2{height:.2em;left:10em;top:9.4em;width:.1em}.eu30 .s3{height:.4em;left:9.9em;top:9.4em;width:.1em}.eu30 .s4{height:.1em;left:9.8em;top:9.3em;width:.4em}.eu30 .s5{height:.2em;left:9.7em;top:9.1em;width:.4em}.eu30 .s6{height:.1em;left:9.6em;top:9em;width:.3em} .eu31 .s1{height:.1em;left:6.1em;top:10.2em;width:.1em} .eu32 .s1{height:.1em;left:8.4em;top:10.4em;width:.1em}.eu32 .s2{height:.2em;left:8.3em;top:10.3em;width:.1em}.eu32 .s3{height:.4em;left:8.2em;top:10.3em;width:.1em} .eu33 .s1{height:.1em;left:5.4em;top:8.1em;width:.1em}.eu33 .s2{height:.2em;left:5.5em;top:8em;width:.1em}.eu33 .s3{height:.4em;left:5.6em;top:7.8em;width:.1em}.eu33 .s4{height:.6em;left:5.7em;top:7.6em;width:.2em}.eu33 .s5{height:.1em;left:5.7em;top:7.7em;width:.4em}.eu33 .s6{height:.6em;left:6em;top:7.5em;width:.1em}.eu33 .s7{height:.9em;left:5.9em;top:7.5em;width:.1em} .eu34 .s1{height:.3em;left:5.7em;top:5.5em;width:.1em}.eu34 .s2{height:.2em;left:5.9em;top:6em;width:.6em}.eu34 .s3{height:1.6em;left:5.8em;top:4.4em;width:.8em}.eu34 .s4{height:.9em;left:5.7em;top:4.6em;width:1.4em}.eu34 .s5{height:1.6em;left:6em;top:4.3em;width:.7em}.eu34 .s6{height:1.8em;left:6.2em;top:4em;width:.8em}.eu34 .s7{height:.3em;left:6.4em;top:3.8em;width:.7em}.eu34 .s8{height:.2em;left:7.3em;top:3.7em;width:.1em}.eu34 .s9{height:.4em;left:6.7em;top:3.5em;width:.6em}.eu34 .s10{height:.2em;left:6.9em;top:3.4em;width:.5em}.eu34 .s11{height:.4em;left:6.9em;top:3em;width:.6em}.eu34 .s12{height:.1em;left:7em;top:2.9em;width:.6em}.eu34 .s13{height:.2em;left:7.1em;top:2.7em;width:.6em}.eu34 .s14{height:.4em;left:7.1em;top:2.3em;width:.7em}.eu34 .s15{height:.2em;left:7.1em;top:2.1em;width:.8em}.eu34 .s16{height:.2em;left:7.2em;top:2em;width:.9em}.eu34 .s17{height:.4em;left:7.4em;top:1.6em;width:1.1em}.eu34 .s18{height:.2em;left:7.6em;top:1.5em;width:1em}.eu34 .s19{height:.3em;left:7.9em;top:1.3em;width:.9em}.eu34 .s20{height:.1em;left:9.2em;top:1.8em;width:.1em}.eu34 .s21{height:.1em;left:8.9em;top:1.8em;width:.2em}.eu34 .s22{height:.4em;left:8.8em;top:1.4em;width:.6em}.eu34 .s23{height:.4em;left:8.1em;top:1em;width:1.4em}.eu34 .s24{height:.6em;left:8.7em;top:.7em;width:.9em}.eu34 .s25{height:.7em;left:9.1em;top:.5em;width:.8em}.eu34 .s26{height:.7em;left:9.9em;top:.6em;width:.2em}.eu34 .s27{height:.6em;left:10.3em;top:.8em;width:.1em}.eu34 .s28{height:.8em;left:10.1em;top:.7em;width:.2em}.eu34 .s29{height:.2em;left:10em;top:1.5em;width:.1em} .eu35 .s1{height:.1em;left:8.4em;top:8.7em;width:.5em}.eu35 .s2{height:.1em;left:8.2em;top:8.6em;width:.8em}.eu35 .s3{height:.1em;left:8em;top:8.5em;width:1.1em}.eu35 .s4{height:.2em;left:7.8em;top:8.3em;width:1.3em}.eu35 .s5{height:.4em;left:7.6em;top:8em;width:1.5em}.eu35 .s6{height:.4em;left:7.5em;top:7.9em;width:1.5em}.eu35 .s7{height:.1em;left:7.9em;top:7.1em;width:.3em}.eu35 .s8{height:.1em;left:7.7em;top:7.2em;width:.6em}.eu35 .s9{height:.1em;left:7.5em;top:7.3em;width:1.5em}.eu35 .s10{height:.1em;left:7.5em;top:7.8em;width:1.6em}.eu35 .s11{height:.4em;left:7.4em;top:7.4em;width:1.7em} .eu36 .s1{height:.4em;left:3.6em;top:10.7em;width:.1em}.eu36 .s2{height:1.2em;left:3.4em;top:10.7em;width:.2em}.eu36 .s3{height:1.3em;left:3.1em;top:10.6em;width:.3em} .eu37 .s1{height:.2em;left:10.1em;top:9.8em;width:.1em}.eu37 .s2{height:.4em;left:9.8em;top:9.8em;width:.3em}.eu37 .s3{height:.1em;left:9.3em;top:10.1em;width:.3em}.eu37 .s4{height:.1em;left:8.5em;top:9.6em;width:.1em}.eu37 .s5{height:.2em;left:8.6em;top:9.6em;width:.1em}.eu37 .s6{height:.6em;left:8.7em;top:9.4em;width:1.2em}.eu37 .s7{height:.8em;left:8.9em;top:9.3em;width:.9em}.eu37 .s8{height:.1em;left:9.5em;top:9.1em;width:.2em}.eu37 .s9{height:.8em;left:8.8em;top:9.2em;width:.9em}.eu37 .s10{height:1.1em;left:9em;top:9.1em;width:.3em} .eu38 .s1{height:.1em;left:13.3em;top:10.7em;width:.2em}.eu38 .s2{height:.1em;left:13.1em;top:10.6em;width:.5em}.eu38 .s3{height:.2em;left:13em;top:10.4em;width:.5em}.eu38 .s4{height:.3em;left:12.7em;top:10.2em;width:.7em}.eu38 .s5{height:.1em;left:11.7em;top:10.1em;width:1.7em}.eu38 .s6{height:.1em;left:11.4em;top:9.8em;width:.1em}.eu38 .s7{height:.4em;left:11.5em;top:9.7em;width:1.9em}.eu38 .s8{height:.2em;left:11.9em;top:10.1em;width:.1em}.eu38 .s9{height:.6em;left:11.6em;top:9.5em;width:.4em}.eu38 .s10{height:.5em;left:13.5em;top:9.3em;width:.1em}.eu38 .s11{height:.6em;left:11.7em;top:9.2em;width:1.8em}.eu38 .s12{height:1.3em;left:12.5em;top:9.1em;width:.8em}.eu38 .s13{height:1.6em;left:12em;top:8.7em;width:1.2em}.eu38 .s14{height:.1em;left:11.9em;top:8.6em;width:1.3em}.eu38 .s15{height:.1em;left:11.6em;top:8.5em;width:1.7em}.eu38 .s16{height:.1em;left:13.4em;top:8.5em;width:.2em}.eu38 .s17{height:.1em;left:11.2em;top:8.4em;width:2.4em}.eu38 .s18{height:.1em;left:11.2em;top:8.3em;width:2.5em}.eu38 .s19{height:.1em;left:11em;top:8.2em;width:2.8em}.eu38 .s20{height:.1em;left:11em;top:8.1em;width:2.9em}.eu38 .s21{height:.1em;left:11em;top:8em;width:4.2em}.eu38 .s22{height:.1em;left:10.9em;top:7.9em;width:4.3em}.eu38 .s23{height:.3em;left:10.5em;top:7.7em;width:.2em}.eu38 .s24{height:.4em;left:10.7em;top:7.5em;width:4.5em}.eu38 .s25{height:.2em;left:10.6em;top:7.3em;width:4.8em}.eu38 .s26{height:.3em;left:9.8em;top:5.3em;width:.1em}.eu38 .s27{height:.7em;left:9.8em;top:5.8em;width:.1em}.eu38 .s28{height:1.7em;left:9.9em;top:5.1em;width:.1em}.eu38 .s29{height:1.8em;left:10em;top:5em;width:.1em}.eu38 .s30{height:2em;left:10.1em;top:4.9em;width:.1em}.eu38 .s31{height:.4em;left:10.4em;top:6.9em;width:.1em}.eu38 .s32{height:2.1em;left:10.2em;top:4.8em;width:.1em}.eu38 .s33{height:2.3em;left:10.3em;top:4.6em;width:.2em}.eu38 .s34{height:5.6em;left:10.5em;top:1.8em;width:5em}.eu38 .s35{height:.4em;left:10.1em;top:2.5em;width:.1em}.eu38 .s36{height:.4em;left:10em;top:1.7em;width:1.7em}.eu38 .s37{height:.7em;left:10.1em;top:1.5em;width:.1em}.eu38 .s38{height:2.3em;left:10.2em;top:1.5em;width:1.3em}.eu38 .s39{height:2.8em;left:10.3em;top:1.4em;width:.9em}.eu38 .s40{height:3.1em;left:10.4em;top:1.2em;width:.6em}.eu38 .s41{height:.2em;left:8.4em;top:7.1em;width:.5em} .eu39 .s1{height:.6em;left:8.7em;top:10em;width:.2em}.eu39 .s2{height:.6em;left:8.6em;top:9.8em;width:.1em}.eu39 .s3{height:.1em;left:8.3em;top:10.2em;width:.1em}.eu39 .s4{height:.7em;left:8.4em;top:9.7em;width:.2em}.eu39 .s5{height:.5em;left:8.3em;top:9.6em;width:.2em} .eu40 .s1{height:.1em;left:8.2em;top:8.7em;width:.2em}.eu40 .s2{height:.2em;left:8.1em;top:8.8em;width:.8em}.eu40 .s3{height:.1em;left:8em;top:9.1em;width:.2em}.eu40 .s4{height:.2em;left:7.9em;top:8.9em;width:.6em} .eu41 .s1{height:.2em;left:7.7em;top:9.4em;width:.1em}.eu41 .s2{height:.2em;left:7.5em;top:9.5em;width:.2em}.eu41 .s3{height:.2em;left:7.4em;top:9.6em;width:.2em}.eu41 .s4{height:.3em;left:7.3em;top:9.5em;width:.1em} .eu42 .s1{height:.1em;left:3.8em;top:12em;width:.2em}.eu42 .s2{height:.1em;left:3.7em;top:11.9em;width:.4em}.eu42 .s3{height:.6em;left:3.6em;top:11.3em;width:1em}.eu42 .s4{height:.9em;left:3.7em;top:10.8em;width:1.1em}.eu42 .s5{height:.2em;left:3.6em;top:11.1em;width:2.1em}.eu42 .s6{height:.3em;left:5.2em;top:10.6em;width:.3em}.eu42 .s7{height:.9em;left:5.1em;top:10.6em;width:.1em}.eu42 .s8{height:1em;left:3.7em;top:10.5em;width:1.4em}.eu42 .s9{height:.3em;left:3.4em;top:10.4em;width:1.4em}.eu42 .s10{height:.4em;left:3.2em;top:10.2em;width:1.4em} .eu43 .s1{height:.3em;left:8.2em;top:6em;width:.1em}.eu43 .s2{height:.4em;left:8.1em;top:6.2em;width:.1em}.eu43 .s3{height:.2em;left:7.9em;top:6.3em;width:.4em}.eu43 .s4{height:.2em;left:7.5em;top:6.6em;width:.4em}.eu43 .s5{height:.3em;left:6.8em;top:5.8em;width:.1em}.eu43 .s6{height:.6em;left:6.9em;top:5.8em;width:.1em}.eu43 .s7{height:1.1em;left:7em;top:5.5em;width:.9em}.eu43 .s8{height:.5em;left:8.2em;top:5.3em;width:.1em}.eu43 .s9{height:.7em;left:8em;top:5.2em;width:.2em}.eu43 .s10{height:1.9em;left:7.1em;top:5.1em;width:.1em}.eu43 .s11{height:2.1em;left:7.2em;top:4.9em;width:.3em}.eu43 .s12{height:.5em;left:7em;top:4.1em;width:.1em}.eu43 .s13{height:1.2em;left:7.1em;top:3.9em;width:.3em}.eu43 .s14{height:.1em;left:7.3em;top:3.6em;width:.1em}.eu43 .s15{height:2.6em;left:7.4em;top:3.4em;width:.6em}.eu43 .s16{height:1.7em;left:7.5em;top:3em;width:.6em}.eu43 .s17{height:1.6em;left:7.6em;top:2.9em;width:.6em}.eu43 .s18{height:1.6em;left:7.7em;top:2.7em;width:.6em}.eu43 .s19{height:1.9em;left:7.8em;top:2.3em;width:.7em}.eu43 .s20{height:.2em;left:9.1em;top:3.1em;width:.1em}.eu43 .s21{height:1.1em;left:7.9em;top:2.2em;width:1.2em}.eu43 .s22{height:1.4em;left:8.1em;top:2em;width:.9em}.eu43 .s23{height:2em;left:8.7em;top:1.9em;width:.1em}.eu43 .s24{height:2.3em;left:8.6em;top:1.8em;width:.1em}.eu43 .s25{height:2.4em;left:8.5em;top:1.7em;width:.1em} .eu44 .s1{height:.1em;left:6.4em;top:9.6em;width:.1em}.eu44 .s2{height:.1em;left:6.5em;top:9.2em;width:.1em}.eu44 .s3{height:.2em;left:6.3em;top:9.2em;width:.2em}.eu44 .s4{height:.4em;left:6.1em;top:9.3em;width:.2em}.eu44 .s5{height:.2em;left:6em;top:9.4em;width:.7em} .eu45 .s1{height:.1em;left:10em;top:11.9em;width:1.4em}.eu45 .s2{height:.1em;left:9.8em;top:11.8em;width:2.2em}.eu45 .s3{height:.7em;left:12.6em;top:11.1em;width:.2em}.eu45 .s4{height:.9em;left:12.5em;top:10.8em;width:.1em}.eu45 .s5{height:.1em;left:10.6em;top:10.6em;width:.6em}.eu45 .s6{height:1em;left:9.7em;top:10.8em;width:2.8em}.eu45 .s7{height:.2em;left:9.4em;top:11em;width:.1em}.eu45 .s8{height:.4em;left:9.5em;top:10.9em;width:3.2em}.eu45 .s9{height:.9em;left:9.6em;top:10.7em;width:2.6em} .eu46 .s1{height:.1em;left:10.8em;top:10em;width:.3em}.eu46 .s2{height:.2em;left:10.8em;top:9.8em;width:.6em}.eu46 .s3{height:.2em;left:10.6em;top:9.7em;width:.6em}.eu46 .s4{height:.1em;left:10em;top:9.7em;width:.3em}.eu46 .s5{height:.1em;left:10em;top:9.6em;width:1.2em}.eu46 .s6{height:.1em;left:10.1em;top:9.5em;width:1.3em}.eu46 .s7{height:.2em;left:10.2em;top:9.3em;width:1.5em}.eu46 .s8{height:.1em;left:10.1em;top:9.2em;width:1.6em}.eu46 .s9{height:.5em;left:10.1em;top:8.7em;width:1.9em}.eu46 .s10{height:.1em;left:10.7em;top:7.9em;width:.2em}.eu46 .s11{height:1.7em;left:10.4em;top:8em;width:.6em}.eu46 .s12{height:1.5em;left:10.3em;top:8.1em;width:.7em}.eu46 .s13{height:.1em;left:9.1em;top:8.1em;width:.7em}.eu46 .s14{height:.3em;left:9.1em;top:8.2em;width:1.9em}.eu46 .s15{height:.8em;left:9.9em;top:8.3em;width:1.3em}.eu46 .s16{height:.1em;left:9.1em;top:8.5em;width:2.5em}.eu46 .s17{height:.1em;left:9.3em;top:9.1em;width:.2em}.eu46 .s18{height:.4em;left:9em;top:8.6em;width:2.9em}.eu46 .s19{height:.4em;left:8.9em;top:8.7em;width:.7em} .eu47 .s1{height:.6em;left:5.1em;top:7.7em;width:.1em}.eu47 .s2{height:.7em;left:5em;top:7.7em;width:.1em}.eu47 .s3{height:.8em;left:4.9em;top:7.6em;width:.1em}.eu47 .s4{height:1.1em;left:4.8em;top:7.3em;width:.1em}.eu47 .s5{height:1.3em;left:4.5em;top:7.2em;width:.3em}.eu47 .s6{height:.6em;left:3.8em;top:6.9em;width:.9em}.eu47 .s7{height:.2em;left:3.4em;top:7.2em;width:.2em}.eu47 .s8{height:.5em;left:3.6em;top:6.8em;width:1em}.eu47 .s9{height:.3em;left:4.5em;top:6.2em;width:.1em}.eu47 .s10{height:.5em;left:3.5em;top:6.1em;width:.1em}.eu47 .s11{height:.7em;left:3.6em;top:6em;width:.1em}.eu47 .s12{height:1.5em;left:3.7em;top:5.9em;width:.2em}.eu47 .s13{height:.2em;left:3.8em;top:8.5em;width:.2em}.eu47 .s14{height:2.7em;left:3.9em;top:5.9em;width:.4em}.eu47 .s15{height:2.8em;left:4.2em;top:5.7em;width:.3em}.eu47 .s16{height:.5em;left:4.5em;top:5.1em;width:.3em} .eu48 .s1{height:.1em;left:4.4em;top:6.9em;width:.2em}.eu48 .s2{height:.2em;left:4.3em;top:7em;width:.4em}.eu48 .s3{height:.3em;left:4.2em;top:7.2em;width:.6em}.eu48 .s4{height:.4em;left:4.3em;top:7.3em;width:.6em}.eu48 .s5{height:.4em;left:5.1em;top:7.7em;width:.1em}.eu48 .s6{height:.7em;left:4.3em;top:7.7em;width:.8em}.eu48 .s7{height:.3em;left:4em;top:8.2em;width:1em}.eu48 .s8{height:.3em;left:3.9em;top:8.3em;width:.4em}.eu48 .s9{height:.2em;left:3.8em;top:8.5em;width:.2em} .eu49 .s1{height:.2em;left:3.9em;top:7.3em;width:.3em} .eu50 .s1{height:.1em;left:3.7em;top:7.3em;width:.2em}.eu50 .s2{height:.1em;left:3.4em;top:7.3em;width:.2em}.eu50 .s3{height:.1em;left:3.6em;top:7em;width:.2em}.eu50 .s4{height:.1em;left:3.5em;top:7.1em;width:.4em}.eu50 .s5{height:.1em;left:3.4em;top:7.2em;width:.5em} .eu51 .s1{height:.3em;left:4.5em;top:6.2em;width:.1em}.eu51 .s2{height:.5em;left:4.5em;top:5.1em;width:.3em}.eu51 .s3{height:.7em;left:4.4em;top:6.2em;width:.1em}.eu51 .s4{height:1.3em;left:4.2em;top:5.7em;width:.2em}.eu51 .s5{height:1em;left:3.5em;top:6em;width:.3em}.eu51 .s6{height:1.2em;left:3.8em;top:5.9em;width:.1em}.eu51 .s7{height:.1em;left:3.9em;top:7.2em;width:.2em}.eu51 .s8{height:1.3em;left:3.9em;top:5.9em;width:.4em} .eu52 .s1{height:.3em;left:4em;top:7.6em;width:.3em}.eu52 .s2{height:.3em;left:3.9em;top:7.9em;width:.4em} + +/* size: 250 */ +.m250{width:250px} .m250 .europe,.m250 .europe .bg,.m250 .europe-cities{background:transparent url('eu-250.png') no-repeat 0 0} .m250 .europe,.m250 .europe-cities{height:210px;width:250px} .m250 .europe-cities{background-position:-270px 0} .m250 .europe .m{margin:9998px 0 0 -2px} .m250 .europe .m span{font-size:16px !important;padding:0 1px 1px 0} .m250 .europe .bg{padding:5px} +.m250 .eu1.focus .bg,.m250 .eu1.active-region .bg{height:12px;left:125px;top:162px;width:6px}.m250 .eu1.focus .bg{background-position:-195px -475px}.m250 .eu1.active-region .bg{background-position:-195px -725px} .m250 .eu2.focus .bg,.m250 .eu2.active-region .bg{height:1px;left:74px;top:162px;width:2px}.m250 .eu2.focus .bg{background-position:-327px -480px}.m250 .eu2.active-region .bg{background-position:-327px -730px} .m250 .eu3.focus .bg,.m250 .eu3.active-region .bg{height:12px;left:97px;top:136px;width:22px}.m250 .eu3.focus .bg{background-position:-99px -294px}.m250 .eu3.active-region .bg{background-position:-99px -544px} .m250 .eu4.focus .bg,.m250 .eu4.active-region .bg{height:24px;left:136px;top:102px;width:28px}.m250 .eu4.focus .bg{background-position:-49px -293px}.m250 .eu4.active-region .bg{background-position:-49px -543px} .m250 .eu5.focus .bg,.m250 .eu5.active-region .bg{height:9px;left:77px;top:125px;width:12px}.m250 .eu5.focus .bg{background-position:-422px -295px}.m250 .eu5.active-region .bg{background-position:-422px -545px} .m250 .eu6.focus .bg,.m250 .eu6.active-region .bg{height:12px;left:115px;top:151px;width:12px}.m250 .eu6.focus .bg{background-position:-88px -262px}.m250 .eu6.active-region .bg{background-position:-88px -512px} .m250 .eu7.focus .bg,.m250 .eu7.active-region .bg{height:12px;left:134px;top:156px;width:18px}.m250 .eu7.focus .bg{background-position:-267px -262px}.m250 .eu7.active-region .bg{background-position:-267px -512px} .m250 .eu8.focus .bg,.m250 .eu8.active-region .bg{height:17px;left:108px;top:146px;width:17px}.m250 .eu8.focus .bg{background-position:-126px -327px}.m250 .eu8.active-region .bg{background-position:-126px -577px} .m250 .eu9.focus .bg,.m250 .eu9.active-region .bg{height:5px;left:162px;top:187px;width:7px}.m250 .eu9.focus .bg{background-position:-249px -477px}.m250 .eu9.active-region .bg{background-position:-249px -727px} .m250 .eu10.focus .bg,.m250 .eu10.active-region .bg{height:12px;left:104px;top:127px;width:20px}.m250 .eu10.focus .bg{background-position:-47px -261px}.m250 .eu10.active-region .bg{background-position:-47px -511px} .m250 .eu11.focus .bg,.m250 .eu11.active-region .bg{height:43px;left:48px;top:67px;width:66px}.m250 .eu11.focus .bg{background-position:-5px -436px}.m250 .eu11.active-region .bg{background-position:-5px -686px} .m250 .eu12.focus .bg,.m250 .eu12.active-region .bg{height:12px;left:132px;top:83px;width:19px}.m250 .eu12.focus .bg{background-position:-370px -262px}.m250 .eu12.active-region .bg{background-position:-370px -512px} .m250 .eu13.focus .bg,.m250 .eu13.active-region .bg{height:41px;left:55px;top:126px;width:42px}.m250 .eu13.focus .bg{background-position:-225px -300px}.m250 .eu13.active-region .bg{background-position:-225px -550px} .m250 .eu14.focus .bg,.m250 .eu14.active-region .bg{height:71px;left:125px;top:12px;width:35px}.m250 .eu14.focus .bg{background-position:-163px -368px}.m250 .eu14.active-region .bg{background-position:-163px -618px} .m250 .eu15.focus .bg,.m250 .eu15.active-region .bg{height:10px;left:184px;top:158px;width:20px}.m250 .eu15.focus .bg{background-position:-122px -263px}.m250 .eu15.active-region .bg{background-position:-122px -513px} .m250 .eu16.focus .bg,.m250 .eu16.active-region .bg{height:37px;left:87px;top:107px;width:27px}.m250 .eu16.focus .bg{background-position:-53px -337px}.m250 .eu16.active-region .bg{background-position:-53px -587px} .m250 .eu17.focus .bg,.m250 .eu17.active-region .bg{height:26px;left:125px;top:165px;width:26px}.m250 .eu17.focus .bg{background-position:-4px -294px}.m250 .eu17.active-region .bg{background-position:-4px -544px} .m250 .eu18.focus .bg,.m250 .eu18.active-region .bg{height:12px;left:116px;top:138px;width:20px}.m250 .eu18.focus .bg{background-position:-410px -263px}.m250 .eu18.active-region .bg{background-position:-410px -513px} .m250 .eu19.focus .bg,.m250 .eu19.active-region .bg{height:22px;left:0;top:40px;width:32px}.m250 .eu19.focus .bg{background-position:-101px -416px}.m250 .eu19.active-region .bg{background-position:-101px -666px} .m250 .eu20.focus .bg,.m250 .eu20.active-region .bg{height:19px;left:40px;top:106px;width:13px}.m250 .eu20.focus .bg{background-position:-233px -262px}.m250 .eu20.active-region .bg{background-position:-233px -512px} .m250 .eu21.focus .bg,.m250 .eu21.active-region .bg{height:1px;left:106px;top:157px;width:1px}.m250 .eu21.focus .bg{background-position:-432px -482px}.m250 .eu21.active-region .bg{background-position:-432px -732px} .m250 .eu22.focus .bg,.m250 .eu22.active-region .bg{height:45px;left:89px;top:144px;width:34px}.m250 .eu22.focus .bg{background-position:-369px -298px}.m250 .eu22.active-region .bg{background-position:-369px -548px} .m250 .eu23.focus .bg,.m250 .eu23.active-region .bg{height:6px;left:127px;top:159px;width:6px}.m250 .eu23.focus .bg{background-position:-423px -432px}.m250 .eu23.active-region .bg{background-position:-423px -682px} .m250 .eu24.focus .bg,.m250 .eu24.active-region .bg{height:13px;left:130px;top:92px;width:21px}.m250 .eu24.focus .bg{background-position:-153px -458px}.m250 .eu24.active-region .bg{background-position:-153px -708px} .m250 .eu25.focus .bg,.m250 .eu25.active-region .bg{height:1px;left:97px;top:143px;width:1px}.m250 .eu25.focus .bg{background-position:-378px -480px}.m250 .eu25.active-region .bg{background-position:-378px -730px} .m250 .eu26.focus .bg,.m250 .eu26.active-region .bg{height:13px;left:130px;top:101px;width:17px}.m250 .eu26.focus .bg{background-position:-10px -261px}.m250 .eu26.active-region .bg{background-position:-10px -511px} .m250 .eu27.focus .bg,.m250 .eu27.active-region .bg{height:4px;left:86px;top:131px;width:3px}.m250 .eu27.focus .bg{background-position:-275px -478px}.m250 .eu27.active-region .bg{background-position:-275px -728px} .m250 .eu28.focus .bg,.m250 .eu28.active-region .bg{height:6px;left:128px;top:163px;width:8px}.m250 .eu28.focus .bg{background-position:-422px -381px}.m250 .eu28.active-region .bg{background-position:-422px -631px} .m250 .eu29.focus .bg,.m250 .eu29.active-region .bg{height:1px;left:110px;top:186px;width:1px}.m250 .eu29.focus .bg{background-position:-351px -480px}.m250 .eu29.active-region .bg{background-position:-351px -730px} .m250 .eu30.focus .bg,.m250 .eu30.active-region .bg{height:13px;left:146px;top:138px;width:11px}.m250 .eu30.focus .bg{background-position:-305px -262px}.m250 .eu30.active-region .bg{background-position:-305px -512px} .m250 .eu31.focus .bg,.m250 .eu31.active-region .bg{height:1px;left:91px;top:158px;width:1px}.m250 .eu31.focus .bg{background-position:-404px -481px}.m250 .eu31.active-region .bg{background-position:-404px -731px} .m250 .eu32.focus .bg,.m250 .eu32.active-region .bg{height:7px;left:122px;top:158px;width:6px}.m250 .eu32.focus .bg{background-position:-422px -406px}.m250 .eu32.active-region .bg{background-position:-422px -656px} .m250 .eu33.focus .bg,.m250 .eu33.active-region .bg{height:14px;left:79px;top:115px;width:12px}.m250 .eu33.focus .bg{background-position:-144px -294px}.m250 .eu33.active-region .bg{background-position:-144px -544px} .m250 .eu34.focus .bg,.m250 .eu34.active-region .bg{height:90px;left:83px;top:3px;width:76px}.m250 .eu34.focus .bg{background-position:-275px -364px}.m250 .eu34.active-region .bg{background-position:-275px -614px} .m250 .eu35.focus .bg,.m250 .eu35.active-region .bg{height:27px;left:110px;top:109px;width:29px}.m250 .eu35.focus .bg{background-position:-4px -340px}.m250 .eu35.active-region .bg{background-position:-4px -590px} .m250 .eu36.focus .bg,.m250 .eu36.active-region .bg{height:20px;left:43px;top:164px;width:10px}.m250 .eu36.focus .bg{background-position:-99px -325px}.m250 .eu36.active-region .bg{background-position:-99px -575px} .m250 .eu37.focus .bg,.m250 .eu37.active-region .bg{height:20px;left:128px;top:139px;width:27px}.m250 .eu37.focus .bg{background-position:-101px -456px}.m250 .eu37.active-region .bg{background-position:-101px -706px} .m250 .eu38.focus .bg,.m250 .eu38.active-region .bg{height:174px;left:126px;top:-6px;width:124px}.m250 .eu38.focus .bg{background-position:-452px -263px}.m250 .eu38.active-region .bg{background-position:-452px -513px} .m250 .eu39.focus .bg,.m250 .eu39.active-region .bg{height:16px;left:124px;top:148px;width:12px}.m250 .eu39.focus .bg{background-position:-337px -262px}.m250 .eu39.active-region .bg{background-position:-337px -512px} .m250 .eu40.focus .bg,.m250 .eu40.active-region .bg{height:9px;left:118px;top:133px;width:17px}.m250 .eu40.focus .bg{background-position:-195px -262px}.m250 .eu40.active-region .bg{background-position:-195px -512px} .m250 .eu41.focus .bg,.m250 .eu41.active-region .bg{height:6px;left:108px;top:145px;width:9px}.m250 .eu41.focus .bg{background-position:-422px -325px}.m250 .eu41.active-region .bg{background-position:-422px -575px} .m250 .eu42.focus .bg,.m250 .eu42.active-region .bg{height:32px;left:43px;top:157px;width:39px}.m250 .eu42.focus .bg{background-position:-101px -364px}.m250 .eu42.active-region .bg{background-position:-101px -614px} .m250 .eu43.focus .bg,.m250 .eu43.active-region .bg{height:86px;left:101px;top:21px;width:38px}.m250 .eu43.focus .bg{background-position:-217px -369px}.m250 .eu43.active-region .bg{background-position:-217px -619px} .m250 .eu44.focus .bg,.m250 .eu44.active-region .bg{height:9px;left:87px;top:141px;width:13px}.m250 .eu44.focus .bg{background-position:-162px -263px}.m250 .eu44.active-region .bg{background-position:-162px -513px} .m250 .eu45.focus .bg,.m250 .eu45.active-region .bg{height:24px;left:143px;top:164px;width:55px}.m250 .eu45.focus .bg{background-position:-14px -393px}.m250 .eu45.active-region .bg{background-position:-14px -643px} .m250 .eu46.focus .bg,.m250 .eu46.active-region .bg{height:35px;left:133px;top:121px;width:52px}.m250 .eu46.focus .bg{background-position:-295px -300px}.m250 .eu46.active-region .bg{background-position:-295px -550px} .m250 .eu47.focus .bg,.m250 .eu47.active-region .bg{height:56px;left:46px;top:77px;width:29px}.m250 .eu47.focus .bg{background-position:-177px -294px}.m250 .eu47.active-region .bg{background-position:-177px -544px} .m250 .eu48.focus .bg,.m250 .eu48.active-region .bg{height:29px;left:54px;top:103px;width:22px}.m250 .eu48.focus .bg{background-position:-374px -415px}.m250 .eu48.active-region .bg{background-position:-374px -665px} .m250 .eu49.focus .bg,.m250 .eu49.active-region .bg{height:2px;left:56px;top:111px;width:2px}.m250 .eu49.focus .bg{background-position:-299px -480px}.m250 .eu49.active-region .bg{background-position:-299px -730px} .m250 .eu50.focus .bg,.m250 .eu50.active-region .bg{height:7px;left:46px;top:107px;width:8px}.m250 .eu50.focus .bg{background-position:-421px -354px}.m250 .eu50.active-region .bg{background-position:-421px -604px} .m250 .eu51.focus .bg,.m250 .eu51.active-region .bg{height:34px;left:48px;top:77px;width:20px}.m250 .eu51.focus .bg{background-position:-371px -363px}.m250 .eu51.active-region .bg{background-position:-371px -613px} .m250 .eu52.focus .bg,.m250 .eu52.active-region .bg{height:10px;left:55px;top:116px;width:8px}.m250 .eu52.focus .bg{background-position:-221px -475px}.m250 .eu52.active-region .bg{background-position:-221px -725px} +.m250 .eu1 a{left:132px;top:172px}.m250 .eu1 a.tooltip-right .tooltip-arrow{right:118px} .m250 .eu2 a{left:79px;top:167px}.m250 .eu2 a.tooltip-left .tooltip-arrow{left:79px} .m250 .eu3 a{left:117px;top:146px}.m250 .eu3 a.tooltip-left .tooltip-arrow{left:117px} .m250 .eu4 a{left:155px;top:119px}.m250 .eu4 a.tooltip-right .tooltip-arrow{right:95px} .m250 .eu5 a{left:88px;top:133px}.m250 .eu5 a.tooltip-left .tooltip-arrow{left:88px} .m250 .eu6 a{left:126px;top:161px}.m250 .eu6 a.tooltip-left .tooltip-arrow{left:126px} .m250 .eu7 a{left:147px;top:167px}.m250 .eu7 a.tooltip-right .tooltip-arrow{right:103px} .m250 .eu8 a{left:122px;top:154px}.m250 .eu8 a.tooltip-left .tooltip-arrow{left:122px} .m250 .eu9 a{left:170px;top:195px}.m250 .eu9 a.tooltip-right .tooltip-arrow{right:80px} .m250 .eu10 a{left:119px;top:137px}.m250 .eu10 a.tooltip-left .tooltip-arrow{left:119px} .m250 .eu11 a{left:101px;top:107px}.m250 .eu11 a.tooltip-left .tooltip-arrow{left:101px} .m250 .eu12 a{left:148px;top:93px}.m250 .eu12 a.tooltip-right .tooltip-arrow{right:102px} .m250 .eu13 a{left:83px;top:149px}.m250 .eu13 a.tooltip-left .tooltip-arrow{left:83px} .m250 .eu14 a{left:152px;top:60px}.m250 .eu14 a.tooltip-right .tooltip-arrow{right:98px} .m250 .eu15 a{left:200px;top:169px}.m250 .eu15 a.tooltip-right .tooltip-arrow{right:50px} .m250 .eu16 a{left:105px;top:130px}.m250 .eu16 a.tooltip-left .tooltip-arrow{left:105px} .m250 .eu17 a{left:137px;top:179px}.m250 .eu17 a.tooltip-right .tooltip-arrow{right:113px} .m250 .eu18 a{left:130px;top:149px}.m250 .eu18 a.tooltip-right .tooltip-arrow{right:120px} .m250 .eu19 a{left:24px;top:56px}.m250 .eu19 a.tooltip-left .tooltip-arrow{left:24px} .m250 .eu20 a{left:53px;top:122px}.m250 .eu20 a.tooltip-left .tooltip-arrow{left:53px} .m250 .eu21 a{left:112px;top:162px}.m250 .eu21 a.tooltip-left .tooltip-arrow{left:112px} .m250 .eu22 a{left:111px;top:166px}.m250 .eu22 a.tooltip-left .tooltip-arrow{left:111px} .m250 .eu23 a{left:135px;top:167px}.m250 .eu23 a.tooltip-right .tooltip-arrow{right:115px} .m250 .eu24 a{left:148px;top:103px}.m250 .eu24 a.tooltip-right .tooltip-arrow{right:102px} .m250 .eu25 a{left:102px;top:149px}.m250 .eu25 a.tooltip-left .tooltip-arrow{left:102px} .m250 .eu26 a{left:144px;top:111px}.m250 .eu26 a.tooltip-right .tooltip-arrow{right:106px} .m250 .eu27 a{left:92px;top:137px}.m250 .eu27 a.tooltip-left .tooltip-arrow{left:92px} .m250 .eu28 a{left:137px;top:171px}.m250 .eu28 a.tooltip-right .tooltip-arrow{right:113px} .m250 .eu29 a{left:116px;top:192px}.m250 .eu29 a.tooltip-left .tooltip-arrow{left:116px} .m250 .eu30 a{left:157px;top:149px}.m250 .eu30 a.tooltip-right .tooltip-arrow{right:93px} .m250 .eu31 a{left:97px;top:163px}.m250 .eu31 a.tooltip-left .tooltip-arrow{left:97px} .m250 .eu32 a{left:130px;top:166px}.m250 .eu32 a.tooltip-right .tooltip-arrow{right:120px} .m250 .eu33 a{left:91px;top:126px}.m250 .eu33 a.tooltip-left .tooltip-arrow{left:91px} .m250 .eu34 a{left:100px;top:77px}.m250 .eu34 a.tooltip-left .tooltip-arrow{left:100px} .m250 .eu35 a{left:130px;top:126px}.m250 .eu35 a.tooltip-right .tooltip-arrow{right:120px} .m250 .eu36 a{left:53px;top:178px}.m250 .eu36 a.tooltip-left .tooltip-arrow{left:53px} .m250 .eu37 a{left:146px;top:153px}.m250 .eu37 a.tooltip-right .tooltip-arrow{right:104px} .m250 .eu38 a{left:198px;top:94px}.m250 .eu38 a.tooltip-right .tooltip-arrow{right:52px} .m250 .eu39 a{left:134px;top:160px}.m250 .eu39 a.tooltip-right .tooltip-arrow{right:116px} .m250 .eu40 a{left:130px;top:142px}.m250 .eu40 a.tooltip-right .tooltip-arrow{right:120px} .m250 .eu41 a{left:117px;top:153px}.m250 .eu41 a.tooltip-left .tooltip-arrow{left:117px} .m250 .eu42 a{left:65px;top:176px}.m250 .eu42 a.tooltip-left .tooltip-arrow{left:65px} .m250 .eu43 a{left:125px;top:55px}.m250 .eu43 a.tooltip-left .tooltip-arrow{left:125px} .m250 .eu44 a{left:98px;top:150px}.m250 .eu44 a.tooltip-left .tooltip-arrow{left:98px} .m250 .eu45 a{left:176px;top:180px}.m250 .eu45 a.tooltip-right .tooltip-arrow{right:74px} .m250 .eu46 a{left:165px;top:139px}.m250 .eu46 a.tooltip-right .tooltip-arrow{right:85px} .m250 .eu47 a{left:68px;top:115px}.m250 .eu47 a.tooltip-left .tooltip-arrow{left:68px} .m250 .eu48 a{left:71px;top:123px}.m250 .eu48 a.tooltip-left .tooltip-arrow{left:71px} .m250 .eu49 a{left:62px;top:117px}.m250 .eu49 a.tooltip-left .tooltip-arrow{left:62px} .m250 .eu50 a{left:57px;top:115px}.m250 .eu50 a.tooltip-left .tooltip-arrow{left:57px} .m250 .eu51 a{left:63px;top:103px}.m250 .eu51 a.tooltip-left .tooltip-arrow{left:63px} .m250 .eu52 a{left:64px;top:125px}.m250 .eu52 a.tooltip-left .tooltip-arrow{left:64px} + +/* size: 320 */ +.m320{width:320px} .m320 .europe,.m320 .europe .bg,.m320 .europe-cities{background:transparent url('eu-320.png') no-repeat 0 0} .m320 .europe,.m320 .europe-cities{height:260px;width:320px} .m320 .europe-cities{background-position:-350px 0} .m320 .europe .m{margin:9998px 0 0 1px} .m320 .europe .m span{font-size:20px !important} +.m320 .eu1.focus .bg,.m320 .eu1.active-region .bg{height:15px;left:156px;top:199px;width:7px}.m320 .eu1.focus .bg{background-position:-189px -570px}.m320 .eu1.active-region .bg{background-position:-189px -880px} .m320 .eu2.focus .bg,.m320 .eu2.active-region .bg{height:2px;left:93px;top:199px;width:2px}.m320 .eu2.focus .bg{background-position:-316px -573px}.m320 .eu2.active-region .bg{background-position:-316px -883px} .m320 .eu3.focus .bg,.m320 .eu3.active-region .bg{height:15px;left:122px;top:166px;width:28px}.m320 .eu3.focus .bg{background-position:-122px -346px}.m320 .eu3.active-region .bg{background-position:-122px -656px} .m320 .eu4.focus .bg,.m320 .eu4.active-region .bg{height:30px;left:170px;top:124px;width:35px}.m320 .eu4.focus .bg{background-position:-62px -346px}.m320 .eu4.active-region .bg{background-position:-62px -656px} .m320 .eu5.focus .bg,.m320 .eu5.active-region .bg{height:12px;left:97px;top:152px;width:14px}.m320 .eu5.focus .bg{background-position:-510px -348px}.m320 .eu5.active-region .bg{background-position:-510px -658px} .m320 .eu6.focus .bg,.m320 .eu6.active-region .bg{height:15px;left:144px;top:186px;width:14px}.m320 .eu6.focus .bg{background-position:-100px -306px}.m320 .eu6.active-region .bg{background-position:-100px -616px} .m320 .eu7.focus .bg,.m320 .eu7.active-region .bg{height:15px;left:167px;top:191px;width:23px}.m320 .eu7.focus .bg{background-position:-321px -305px}.m320 .eu7.active-region .bg{background-position:-321px -615px} .m320 .eu8.focus .bg,.m320 .eu8.active-region .bg{height:21px;left:136px;top:179px;width:22px}.m320 .eu8.focus .bg{background-position:-159px -386px}.m320 .eu8.active-region .bg{background-position:-159px -696px} .m320 .eu9.focus .bg,.m320 .eu9.active-region .bg{height:6px;left:203px;top:231px;width:9px}.m320 .eu9.focus .bg{background-position:-471px -567px}.m320 .eu9.active-region .bg{background-position:-471px -877px} .m320 .eu10.focus .bg,.m320 .eu10.active-region .bg{height:14px;left:131px;top:155px;width:25px}.m320 .eu10.focus .bg{background-position:-51px -306px}.m320 .eu10.active-region .bg{background-position:-51px -616px} .m320 .eu11.focus .bg,.m320 .eu11.active-region .bg{height:54px;left:60px;top:81px;width:82px}.m320 .eu11.focus .bg{background-position:-5px -525px}.m320 .eu11.active-region .bg{background-position:-5px -835px} .m320 .eu12.focus .bg,.m320 .eu12.active-region .bg{height:15px;left:166px;top:101px;width:23px}.m320 .eu12.focus .bg{background-position:-447px -306px}.m320 .eu12.active-region .bg{background-position:-447px -616px} .m320 .eu13.focus .bg,.m320 .eu13.active-region .bg{height:51px;left:69px;top:155px;width:53px}.m320 .eu13.focus .bg{background-position:-273px -354px}.m320 .eu13.active-region .bg{background-position:-273px -664px} .m320 .eu14.focus .bg,.m320 .eu14.active-region .bg{height:88px;left:157px;top:12px;width:44px}.m320 .eu14.focus .bg{background-position:-200px -435px}.m320 .eu14.active-region .bg{background-position:-200px -745px} .m320 .eu15.focus .bg,.m320 .eu15.active-region .bg{height:13px;left:230px;top:194px;width:24px}.m320 .eu15.focus .bg{background-position:-140px -305px}.m320 .eu15.active-region .bg{background-position:-140px -615px} .m320 .eu16.focus .bg,.m320 .eu16.active-region .bg{height:46px;left:109px;top:130px;width:33px}.m320 .eu16.focus .bg{background-position:-66px -400px}.m320 .eu16.active-region .bg{background-position:-66px -710px} .m320 .eu17.focus .bg,.m320 .eu17.active-region .bg{height:32px;left:157px;top:203px;width:32px}.m320 .eu17.focus .bg{background-position:-7px -346px}.m320 .eu17.active-region .bg{background-position:-7px -656px} .m320 .eu18.focus .bg,.m320 .eu18.active-region .bg{height:15px;left:145px;top:169px;width:25px}.m320 .eu18.focus .bg{background-position:-494px -306px}.m320 .eu18.active-region .bg{background-position:-494px -616px} .m320 .eu19.focus .bg,.m320 .eu19.active-region .bg{height:27px;left:0;top:46px;width:40px}.m320 .eu19.focus .bg{background-position:-128px -499px}.m320 .eu19.active-region .bg{background-position:-128px -809px} .m320 .eu20.focus .bg,.m320 .eu20.active-region .bg{height:24px;left:50px;top:129px;width:16px}.m320 .eu20.focus .bg{background-position:-280px -305px}.m320 .eu20.active-region .bg{background-position:-280px -615px} .m320 .eu21.focus .bg,.m320 .eu21.active-region .bg{height:1px;left:132px;top:193px;width:1px}.m320 .eu21.focus .bg{background-position:-433px -574px}.m320 .eu21.active-region .bg{background-position:-433px -884px} .m320 .eu22.focus .bg,.m320 .eu22.active-region .bg{height:56px;left:111px;top:177px;width:43px}.m320 .eu22.focus .bg{background-position:-440px -349px}.m320 .eu22.active-region .bg{background-position:-440px -659px} .m320 .eu23.focus .bg,.m320 .eu23.active-region .bg{height:7px;left:159px;top:196px;width:7px}.m320 .eu23.focus .bg{background-position:-518px -516px}.m320 .eu23.active-region .bg{background-position:-518px -826px} .m320 .eu24.focus .bg,.m320 .eu24.active-region .bg{height:16px;left:162px;top:112px;width:27px}.m320 .eu24.focus .bg{background-position:-543px -305px}.m320 .eu24.active-region .bg{background-position:-543px -615px} .m320 .eu25.focus .bg,.m320 .eu25.active-region .bg{height:2px;left:121px;top:176px;width:1px}.m320 .eu25.focus .bg{background-position:-376px -573px}.m320 .eu25.active-region .bg{background-position:-376px -883px} .m320 .eu26.focus .bg,.m320 .eu26.active-region .bg{height:17px;left:162px;top:122px;width:21px}.m320 .eu26.focus .bg{background-position:-4px -305px}.m320 .eu26.active-region .bg{background-position:-4px -615px} .m320 .eu27.focus .bg,.m320 .eu27.active-region .bg{height:5px;left:108px;top:160px;width:3px}.m320 .eu27.focus .bg{background-position:-256px -570px}.m320 .eu27.active-region .bg{background-position:-256px -880px} .m320 .eu28.focus .bg,.m320 .eu28.active-region .bg{height:8px;left:161px;top:200px;width:10px}.m320 .eu28.focus .bg{background-position:-518px -450px}.m320 .eu28.active-region .bg{background-position:-518px -760px} .m320 .eu29.focus .bg,.m320 .eu29.active-region .bg{height:1px;left:138px;top:229px;width:1px}.m320 .eu29.focus .bg{background-position:-345px -572px}.m320 .eu29.active-region .bg{background-position:-345px -882px} .m320 .eu30.focus .bg,.m320 .eu30.active-region .bg{height:16px;left:183px;top:169px;width:13px}.m320 .eu30.focus .bg{background-position:-369px -304px}.m320 .eu30.active-region .bg{background-position:-369px -614px} .m320 .eu31.focus .bg,.m320 .eu31.active-region .bg{height:1px;left:114px;top:193px;width:1px}.m320 .eu31.focus .bg{background-position:-407px -573px}.m320 .eu31.active-region .bg{background-position:-407px -883px} .m320 .eu32.focus .bg,.m320 .eu32.active-region .bg{height:9px;left:153px;top:194px;width:7px}.m320 .eu32.focus .bg{background-position:-518px -482px}.m320 .eu32.active-region .bg{background-position:-518px -792px} .m320 .eu33.focus .bg,.m320 .eu33.active-region .bg{height:17px;left:99px;top:140px;width:15px}.m320 .eu33.focus .bg{background-position:-173px -342px}.m320 .eu33.active-region .bg{background-position:-173px -652px} .m320 .eu34.focus .bg,.m320 .eu34.active-region .bg{height:113px;left:104px;top:0;width:95px}.m320 .eu34.focus .bg{background-position:-343px -432px}.m320 .eu34.active-region .bg{background-position:-343px -742px} .m320 .eu35.focus .bg,.m320 .eu35.active-region .bg{height:34px;left:138px;top:133px;width:36px}.m320 .eu35.focus .bg{background-position:-5px -403px}.m320 .eu35.active-region .bg{background-position:-5px -713px} .m320 .eu36.focus .bg,.m320 .eu36.active-region .bg{height:24px;left:54px;top:201px;width:12px}.m320 .eu36.focus .bg{background-position:-124px -385px}.m320 .eu36.active-region .bg{background-position:-124px -695px} .m320 .eu37.focus .bg,.m320 .eu37.active-region .bg{height:24px;left:160px;top:170px;width:34px}.m320 .eu37.focus .bg{background-position:-129px -552px}.m320 .eu37.active-region .bg{background-position:-129px -862px} .m320 .eu38.focus .bg,.m320 .eu38.active-region .bg{height:218px;left:158px;top:-11px;width:155px}.m320 .eu38.focus .bg{background-position:-552px -346px}.m320 .eu38.active-region .bg{background-position:-552px -656px} .m320 .eu39.focus .bg,.m320 .eu39.active-region .bg{height:20px;left:155px;top:181px;width:15px}.m320 .eu39.focus .bg{background-position:-406px -304px}.m320 .eu39.active-region .bg{background-position:-406px -614px} .m320 .eu40.focus .bg,.m320 .eu40.active-region .bg{height:11px;left:148px;top:163px;width:21px}.m320 .eu40.focus .bg{background-position:-235px -305px}.m320 .eu40.active-region .bg{background-position:-235px -615px} .m320 .eu41.focus .bg,.m320 .eu41.active-region .bg{height:8px;left:135px;top:178px;width:12px}.m320 .eu41.focus .bg{background-position:-509px -384px}.m320 .eu41.active-region .bg{background-position:-509px -694px} .m320 .eu42.focus .bg,.m320 .eu42.active-region .bg{height:40px;left:55px;top:193px;width:49px}.m320 .eu42.focus .bg{background-position:-125px -434px}.m320 .eu42.active-region .bg{background-position:-125px -744px} .m320 .eu43.focus .bg,.m320 .eu43.active-region .bg{height:108px;left:127px;top:22px;width:47px}.m320 .eu43.focus .bg{background-position:-269px -434px}.m320 .eu43.active-region .bg{background-position:-269px -744px} .m320 .eu44.focus .bg,.m320 .eu44.active-region .bg{height:11px;left:109px;top:173px;width:17px}.m320 .eu44.focus .bg{background-position:-192px -306px}.m320 .eu44.active-region .bg{background-position:-192px -616px} .m320 .eu45.focus .bg,.m320 .eu45.active-region .bg{height:29px;left:179px;top:202px;width:69px}.m320 .eu45.focus .bg{background-position:-3px -471px}.m320 .eu45.active-region .bg{background-position:-3px -781px} .m320 .eu46.focus .bg,.m320 .eu46.active-region .bg{height:44px;left:167px;top:147px;width:65px}.m320 .eu46.focus .bg{background-position:-351px -354px}.m320 .eu46.active-region .bg{background-position:-351px -664px} .m320 .eu47.focus .bg,.m320 .eu47.active-region .bg{height:69px;left:58px;top:92px;width:36px}.m320 .eu47.focus .bg{background-position:-213px -340px}.m320 .eu47.active-region .bg{background-position:-213px -650px} .m320 .eu48.focus .bg,.m320 .eu48.active-region .bg{height:36px;left:67px;top:126px;width:27px}.m320 .eu48.focus .bg{background-position:-465px -499px}.m320 .eu48.active-region .bg{background-position:-465px -809px} .m320 .eu49.focus .bg,.m320 .eu49.active-region .bg{height:3px;left:70px;top:135px;width:3px}.m320 .eu49.focus .bg{background-position:-286px -570px}.m320 .eu49.active-region .bg{background-position:-286px -880px} .m320 .eu50.focus .bg,.m320 .eu50.active-region .bg{height:8px;left:58px;top:130px;width:10px}.m320 .eu50.focus .bg{background-position:-517px -418px}.m320 .eu50.active-region .bg{background-position:-517px -728px} .m320 .eu51.focus .bg,.m320 .eu51.active-region .bg{height:42px;left:61px;top:92px;width:25px}.m320 .eu51.focus .bg{background-position:-466px -432px}.m320 .eu51.active-region .bg{background-position:-466px -742px} .m320 .eu52.focus .bg,.m320 .eu52.active-region .bg{height:12px;left:69px;top:141px;width:10px}.m320 .eu52.focus .bg{background-position:-221px -570px}.m320 .eu52.active-region .bg{background-position:-221px -880px} +.m320 .eu1 a{left:169px;top:216px}.m320 .eu1 a.tooltip-right .tooltip-arrow{right:151px} .m320 .eu2 a{left:103px;top:209px}.m320 .eu2 a.tooltip-left .tooltip-arrow{left:103px} .m320 .eu3 a{left:150px;top:183px}.m320 .eu3 a.tooltip-left .tooltip-arrow{left:150px} .m320 .eu4 a{left:198px;top:149px}.m320 .eu4 a.tooltip-right .tooltip-arrow{right:122px} .m320 .eu5 a{left:114px;top:166px}.m320 .eu5 a.tooltip-left .tooltip-arrow{left:114px} .m320 .eu6 a{left:161px;top:201px}.m320 .eu6 a.tooltip-right .tooltip-arrow{right:159px} .m320 .eu7 a{left:187px;top:209px}.m320 .eu7 a.tooltip-right .tooltip-arrow{right:133px} .m320 .eu8 a{left:157px;top:193px}.m320 .eu8 a.tooltip-left .tooltip-arrow{left:157px} .m320 .eu9 a{left:217px;top:244px}.m320 .eu9 a.tooltip-right .tooltip-arrow{right:103px} .m320 .eu10 a{left:152px;top:172px}.m320 .eu10 a.tooltip-left .tooltip-arrow{left:152px} .m320 .eu11 a{left:131px;top:134px}.m320 .eu11 a.tooltip-left .tooltip-arrow{left:131px} .m320 .eu12 a{left:189px;top:116px}.m320 .eu12 a.tooltip-right .tooltip-arrow{right:131px} .m320 .eu13 a{left:108px;top:187px}.m320 .eu13 a.tooltip-left .tooltip-arrow{left:108px} .m320 .eu14 a{left:194px;top:76px}.m320 .eu14 a.tooltip-right .tooltip-arrow{right:126px} .m320 .eu15 a{left:254px;top:212px}.m320 .eu15 a.tooltip-right .tooltip-arrow{right:66px} .m320 .eu16 a{left:135px;top:163px}.m320 .eu16 a.tooltip-left .tooltip-arrow{left:135px} .m320 .eu17 a{left:176px;top:224px}.m320 .eu17 a.tooltip-right .tooltip-arrow{right:144px} .m320 .eu18 a{left:167px;top:186px}.m320 .eu18 a.tooltip-right .tooltip-arrow{right:153px} .m320 .eu19 a{left:34px;top:70px}.m320 .eu19 a.tooltip-left .tooltip-arrow{left:34px} .m320 .eu20 a{left:71px;top:153px}.m320 .eu20 a.tooltip-left .tooltip-arrow{left:71px} .m320 .eu21 a{left:144px;top:203px}.m320 .eu21 a.tooltip-left .tooltip-arrow{left:144px} .m320 .eu22 a{left:143px;top:208px}.m320 .eu22 a.tooltip-left .tooltip-arrow{left:143px} .m320 .eu23 a{left:172px;top:209px}.m320 .eu23 a.tooltip-right .tooltip-arrow{right:148px} .m320 .eu24 a{left:189px;top:129px}.m320 .eu24 a.tooltip-right .tooltip-arrow{right:131px} .m320 .eu25 a{left:132px;top:186px}.m320 .eu25 a.tooltip-left .tooltip-arrow{left:132px} .m320 .eu26 a{left:184px;top:140px}.m320 .eu26 a.tooltip-right .tooltip-arrow{right:136px} .m320 .eu27 a{left:119px;top:172px}.m320 .eu27 a.tooltip-left .tooltip-arrow{left:119px} .m320 .eu28 a{left:175px;top:214px}.m320 .eu28 a.tooltip-right .tooltip-arrow{right:145px} .m320 .eu29 a{left:149px;top:240px}.m320 .eu29 a.tooltip-left .tooltip-arrow{left:149px} .m320 .eu30 a{left:200px;top:186px}.m320 .eu30 a.tooltip-right .tooltip-arrow{right:120px} .m320 .eu31 a{left:124px;top:204px}.m320 .eu31 a.tooltip-left .tooltip-arrow{left:124px} .m320 .eu32 a{left:166px;top:208px}.m320 .eu32 a.tooltip-right .tooltip-arrow{right:154px} .m320 .eu33 a{left:117px;top:158px}.m320 .eu33 a.tooltip-left .tooltip-arrow{left:117px} .m320 .eu34 a{left:130px;top:96px}.m320 .eu34 a.tooltip-left .tooltip-arrow{left:130px} .m320 .eu35 a{left:167px;top:158px}.m320 .eu35 a.tooltip-right .tooltip-arrow{right:153px} .m320 .eu36 a{left:70px;top:223px}.m320 .eu36 a.tooltip-left .tooltip-arrow{left:70px} .m320 .eu37 a{left:186px;top:192px}.m320 .eu37 a.tooltip-right .tooltip-arrow{right:134px} .m320 .eu38 a{left:252px;top:117px}.m320 .eu38 a.tooltip-right .tooltip-arrow{right:68px} .m320 .eu39 a{left:172px;top:201px}.m320 .eu39 a.tooltip-right .tooltip-arrow{right:148px} .m320 .eu40 a{left:167px;top:178px}.m320 .eu40 a.tooltip-right .tooltip-arrow{right:153px} .m320 .eu41 a{left:150px;top:192px}.m320 .eu41 a.tooltip-left .tooltip-arrow{left:150px} .m320 .eu42 a{left:86px;top:221px}.m320 .eu42 a.tooltip-left .tooltip-arrow{left:86px} .m320 .eu43 a{left:161px;top:69px}.m320 .eu43 a.tooltip-right .tooltip-arrow{right:159px} .m320 .eu44 a{left:127px;top:187px}.m320 .eu44 a.tooltip-left .tooltip-arrow{left:127px} .m320 .eu45 a{left:224px;top:225px}.m320 .eu45 a.tooltip-right .tooltip-arrow{right:96px} .m320 .eu46 a{left:210px;top:174px}.m320 .eu46 a.tooltip-right .tooltip-arrow{right:110px} .m320 .eu47 a{left:90px;top:145px}.m320 .eu47 a.tooltip-left .tooltip-arrow{left:90px} .m320 .eu48 a{left:93px;top:154px}.m320 .eu48 a.tooltip-left .tooltip-arrow{left:93px} .m320 .eu49 a{left:82px;top:147px}.m320 .eu49 a.tooltip-left .tooltip-arrow{left:82px} .m320 .eu50 a{left:76px;top:143px}.m320 .eu50 a.tooltip-left .tooltip-arrow{left:76px} .m320 .eu51 a{left:83px;top:129px}.m320 .eu51 a.tooltip-left .tooltip-arrow{left:83px} .m320 .eu52 a{left:84px;top:157px}.m320 .eu52 a.tooltip-left .tooltip-arrow{left:84px} + +/* size: 430 */ +.m430{width:430px} .m430 .europe,.m430 .europe .bg,.m430 .europe-cities{background:transparent url('eu-430.png') no-repeat 0 0} .m430 .europe,.m430 .europe-cities{height:340px;width:430px} .m430 .europe-cities{background-position:-450px 0} .m430 .europe .m{margin:9999px 0 0 10px} .m430 .europe .m span{font-size:26px !important;padding:0 1px 1px 0} +.m430 .eu1.focus .bg,.m430 .eu1.active-region .bg{height:19px;left:215px;top:263px;width:9px}.m430 .eu1.focus .bg{background-position:-564px -679px}.m430 .eu1.active-region .bg{background-position:-564px -1029px} .m430 .eu2.focus .bg,.m430 .eu2.active-region .bg{height:2px;left:132px;top:263px;width:2px}.m430 .eu2.focus .bg{background-position:-309px -704px}.m430 .eu2.active-region .bg{background-position:-309px -1054px} .m430 .eu3.focus .bg,.m430 .eu3.active-region .bg{height:19px;left:170px;top:221px;width:36px}.m430 .eu3.focus .bg{background-position:-144px -432px}.m430 .eu3.active-region .bg{background-position:-144px -782px} .m430 .eu4.focus .bg,.m430 .eu4.active-region .bg{height:39px;left:233px;top:166px;width:45px}.m430 .eu4.focus .bg{background-position:-74px -432px}.m430 .eu4.active-region .bg{background-position:-74px -782px} .m430 .eu5.focus .bg,.m430 .eu5.active-region .bg{height:15px;left:137px;top:202px;width:18px}.m430 .eu5.focus .bg{background-position:-605px -469px}.m430 .eu5.active-region .bg{background-position:-605px -819px} .m430 .eu6.focus .bg,.m430 .eu6.active-region .bg{height:19px;left:198px;top:246px;width:18px}.m430 .eu6.focus .bg{background-position:-114px -388px}.m430 .eu6.active-region .bg{background-position:-114px -738px} .m430 .eu7.focus .bg,.m430 .eu7.active-region .bg{height:19px;left:229px;top:253px;width:29px}.m430 .eu7.focus .bg{background-position:-367px -389px}.m430 .eu7.active-region .bg{background-position:-367px -739px} .m430 .eu8.focus .bg,.m430 .eu8.active-region .bg{height:27px;left:188px;top:238px;width:28px}.m430 .eu8.focus .bg{background-position:-188px -480px}.m430 .eu8.active-region .bg{background-position:-188px -830px} .m430 .eu9.focus .bg,.m430 .eu9.active-region .bg{height:7px;left:275px;top:305px;width:11px}.m430 .eu9.focus .bg{background-position:-623px -650px}.m430 .eu9.active-region .bg{background-position:-623px -1000px} .m430 .eu10.focus .bg,.m430 .eu10.active-region .bg{height:19px;left:181px;top:206px;width:32px}.m430 .eu10.focus .bg{background-position:-56px -389px}.m430 .eu10.active-region .bg{background-position:-56px -739px} .m430 .eu11.focus .bg,.m430 .eu11.active-region .bg{height:70px;left:90px;top:109px;width:106px}.m430 .eu11.focus .bg{background-position:-5px -642px}.m430 .eu11.active-region .bg{background-position:-5px -992px} .m430 .eu12.focus .bg,.m430 .eu12.active-region .bg{height:20px;left:227px;top:135px;width:30px}.m430 .eu12.focus .bg{background-position:-509px -388px}.m430 .eu12.active-region .bg{background-position:-509px -738px} .m430 .eu13.focus .bg,.m430 .eu13.active-region .bg{height:66px;left:102px;top:206px;width:69px}.m430 .eu13.focus .bg{background-position:-321px -444px}.m430 .eu13.active-region .bg{background-position:-321px -794px} .m430 .eu14.focus .bg,.m430 .eu14.active-region .bg{height:114px;left:216px;top:20px;width:57px}.m430 .eu14.focus .bg{background-position:-240px -548px}.m430 .eu14.active-region .bg{background-position:-240px -898px} .m430 .eu15.focus .bg,.m430 .eu15.active-region .bg{height:16px;left:311px;top:257px;width:32px}.m430 .eu15.focus .bg{background-position:-158px -388px}.m430 .eu15.active-region .bg{background-position:-158px -738px} .m430 .eu16.focus .bg,.m430 .eu16.active-region .bg{height:59px;left:153px;top:174px;width:43px}.m430 .eu16.focus .bg{background-position:-80px -496px}.m430 .eu16.active-region .bg{background-position:-80px -846px} .m430 .eu17.focus .bg,.m430 .eu17.active-region .bg{height:42px;left:215px;top:268px;width:42px}.m430 .eu17.focus .bg{background-position:-4px -434px}.m430 .eu17.active-region .bg{background-position:-4px -784px} .m430 .eu18.focus .bg,.m430 .eu18.active-region .bg{height:20px;left:200px;top:224px;width:32px}.m430 .eu18.focus .bg{background-position:-565px -389px}.m430 .eu18.active-region .bg{background-position:-565px -739px} .m430 .eu19.focus .bg,.m430 .eu19.active-region .bg{height:35px;left:12px;top:64px;width:52px}.m430 .eu19.focus .bg{background-position:-151px -610px}.m430 .eu19.active-region .bg{background-position:-151px -960px} .m430 .eu20.focus .bg,.m430 .eu20.active-region .bg{height:31px;left:77px;top:172px;width:21px}.m430 .eu20.focus .bg{background-position:-322px -388px}.m430 .eu20.active-region .bg{background-position:-322px -738px} .m430 .eu21.focus .bg,.m430 .eu21.active-region .bg{height:1px;left:184px;top:255px;width:1px}.m430 .eu21.focus .bg{background-position:-402px -705px}.m430 .eu21.active-region .bg{background-position:-402px -1055px} .m430 .eu22.focus .bg,.m430 .eu22.active-region .bg{height:72px;left:156px;top:234px;width:56px}.m430 .eu22.focus .bg{background-position:-525px -434px}.m430 .eu22.active-region .bg{background-position:-525px -784px} .m430 .eu23.focus .bg,.m430 .eu23.active-region .bg{height:9px;left:218px;top:259px;width:9px}.m430 .eu23.focus .bg{background-position:-623px -616px}.m430 .eu23.active-region .bg{background-position:-623px -966px} .m430 .eu24.focus .bg,.m430 .eu24.active-region .bg{height:21px;left:223px;top:149px;width:34px}.m430 .eu24.focus .bg{background-position:-623px -388px}.m430 .eu24.active-region .bg{background-position:-623px -738px} .m430 .eu25.focus .bg,.m430 .eu25.active-region .bg{height:2px;left:169px;top:233px;width:1px}.m430 .eu25.focus .bg{background-position:-339px -704px}.m430 .eu25.active-region .bg{background-position:-339px -1054px} .m430 .eu26.focus .bg,.m430 .eu26.active-region .bg{height:21px;left:223px;top:163px;width:28px}.m430 .eu26.focus .bg{background-position:-5px -388px}.m430 .eu26.active-region .bg{background-position:-5px -738px} .m430 .eu27.focus .bg,.m430 .eu27.active-region .bg{height:6px;left:152px;top:212px;width:4px}.m430 .eu27.focus .bg{background-position:-219px -701px}.m430 .eu27.active-region .bg{background-position:-219px -1051px} .m430 .eu28.focus .bg,.m430 .eu28.active-region .bg{height:10px;left:220px;top:265px;width:12px}.m430 .eu28.focus .bg{background-position:-621px -546px}.m430 .eu28.active-region .bg{background-position:-621px -896px} .m430 .eu29.focus .bg,.m430 .eu29.active-region .bg{height:2px;left:191px;top:302px;width:1px}.m430 .eu29.focus .bg{background-position:-280px -702px}.m430 .eu29.active-region .bg{background-position:-280px -1052px} .m430 .eu30.focus .bg,.m430 .eu30.active-region .bg{height:21px;left:249px;top:224px;width:17px}.m430 .eu30.focus .bg{background-position:-421px -388px}.m430 .eu30.active-region .bg{background-position:-421px -738px} .m430 .eu31.focus .bg,.m430 .eu31.active-region .bg{height:1px;left:159px;top:256px;width:1px}.m430 .eu31.focus .bg{background-position:-370px -704px}.m430 .eu31.active-region .bg{background-position:-370px -1054px} .m430 .eu32.focus .bg,.m430 .eu32.active-region .bg{height:11px;left:211px;top:257px;width:9px}.m430 .eu32.focus .bg{background-position:-622px -580px}.m430 .eu32.active-region .bg{background-position:-622px -930px} .m430 .eu33.focus .bg,.m430 .eu33.active-region .bg{height:22px;left:140px;top:187px;width:19px}.m430 .eu33.focus .bg{background-position:-203px -432px}.m430 .eu33.active-region .bg{background-position:-203px -782px} .m430 .eu34.focus .bg,.m430 .eu34.active-region .bg{height:146px;left:147px;top:5px;width:123px}.m430 .eu34.focus .bg{background-position:-414px -531px}.m430 .eu34.active-region .bg{background-position:-414px -881px} .m430 .eu35.focus .bg,.m430 .eu35.active-region .bg{height:44px;left:191px;top:177px;width:47px}.m430 .eu35.focus .bg{background-position:-5px -501px}.m430 .eu35.active-region .bg{background-position:-5px -851px} .m430 .eu36.focus .bg,.m430 .eu36.active-region .bg{height:32px;left:82px;top:266px;width:16px}.m430 .eu36.focus .bg{background-position:-148px -478px}.m430 .eu36.active-region .bg{background-position:-148px -828px} .m430 .eu37.focus .bg,.m430 .eu37.active-region .bg{height:31px;left:219px;top:226px;width:44px}.m430 .eu37.focus .bg{background-position:-149px -671px}.m430 .eu37.active-region .bg{background-position:-149px -1021px} .m430 .eu38.focus .bg,.m430 .eu38.active-region .bg{height:283px;left:217px;top:-10px;width:202px}.m430 .eu38.focus .bg{background-position:-682px -389px}.m430 .eu38.active-region .bg{background-position:-682px -739px} .m430 .eu39.focus .bg,.m430 .eu39.active-region .bg{height:26px;left:213px;top:240px;width:20px}.m430 .eu39.focus .bg{background-position:-465px -388px}.m430 .eu39.active-region .bg{background-position:-465px -738px} .m430 .eu40.focus .bg,.m430 .eu40.active-region .bg{height:14px;left:203px;top:216px;width:27px}.m430 .eu40.focus .bg{background-position:-260px -388px}.m430 .eu40.active-region .bg{background-position:-260px -738px} .m430 .eu41.focus .bg,.m430 .eu41.active-region .bg{height:10px;left:187px;top:235px;width:15px}.m430 .eu41.focus .bg{background-position:-605px -434px}.m430 .eu41.active-region .bg{background-position:-605px -784px} .m430 .eu42.focus .bg,.m430 .eu42.active-region .bg{height:52px;left:83px;top:256px;width:63px}.m430 .eu42.focus .bg{background-position:-148px -534px}.m430 .eu42.active-region .bg{background-position:-148px -884px} .m430 .eu43.focus .bg,.m430 .eu43.active-region .bg{height:140px;left:176px;top:34px;width:62px}.m430 .eu43.focus .bg{background-position:-321px -534px}.m430 .eu43.active-region .bg{background-position:-321px -884px} .m430 .eu44.focus .bg,.m430 .eu44.active-region .bg{height:14px;left:153px;top:229px;width:21px}.m430 .eu44.focus .bg{background-position:-215px -388px}.m430 .eu44.active-region .bg{background-position:-215px -738px} .m430 .eu45.focus .bg,.m430 .eu45.active-region .bg{height:38px;left:244px;top:266px;width:89px}.m430 .eu45.focus .bg{background-position:-8px -579px}.m430 .eu45.active-region .bg{background-position:-8px -929px} .m430 .eu46.focus .bg,.m430 .eu46.active-region .bg{height:57px;left:228px;top:196px;width:84px}.m430 .eu46.focus .bg{background-position:-416px -439px}.m430 .eu46.active-region .bg{background-position:-416px -789px} .m430 .eu47.focus .bg,.m430 .eu47.active-region .bg{height:90px;left:87px;top:124px;width:47px}.m430 .eu47.focus .bg{background-position:-249px -429px}.m430 .eu47.active-region .bg{background-position:-249px -779px} .m430 .eu48.focus .bg,.m430 .eu48.active-region .bg{height:46px;left:99px;top:168px;width:35px}.m430 .eu48.focus .bg{background-position:-563px -609px}.m430 .eu48.active-region .bg{background-position:-563px -959px} .m430 .eu49.focus .bg,.m430 .eu49.active-region .bg{height:4px;left:103px;top:180px;width:3px}.m430 .eu49.focus .bg{background-position:-250px -702px}.m430 .eu49.active-region .bg{background-position:-250px -1052px} .m430 .eu50.focus .bg,.m430 .eu50.active-region .bg{height:10px;left:87px;top:173px;width:13px}.m430 .eu50.focus .bg{background-position:-620px -509px}.m430 .eu50.active-region .bg{background-position:-620px -859px} .m430 .eu51.focus .bg,.m430 .eu51.active-region .bg{height:54px;left:90px;top:124px;width:32px}.m430 .eu51.focus .bg{background-position:-563px -530px}.m430 .eu51.active-region .bg{background-position:-563px -880px} .m430 .eu52.focus .bg,.m430 .eu52.active-region .bg{height:16px;left:101px;top:188px;width:12px}.m430 .eu52.focus .bg{background-position:-596px -679px}.m430 .eu52.active-region .bg{background-position:-596px -1029px} +.m430 .eu1 a{left:228px;top:282px} .m430 .eu2 a{left:143px;top:274px}.m430 .eu2 a.tooltip-left .tooltip-arrow{left:143px} .m430 .eu3 a{left:204px;top:240px} .m430 .eu4 a{left:265px;top:195px} .m430 .eu5 a{left:157px;top:218px}.m430 .eu5 a.tooltip-left .tooltip-arrow{left:157px} .m430 .eu6 a{left:218px;top:263px} .m430 .eu7 a{left:252px;top:273px} .m430 .eu8 a{left:212px;top:253px} .m430 .eu9 a{left:290px;top:319px}.m430 .eu9 a.tooltip-right .tooltip-arrow{right:140px} .m430 .eu10 a{left:206px;top:225px} .m430 .eu11 a{left:178px;top:176px} .m430 .eu12 a{left:254px;top:153px} .m430 .eu13 a{left:148px;top:245px}.m430 .eu13 a.tooltip-left .tooltip-arrow{left:148px} .m430 .eu14 a{left:260px;top:100px} .m430 .eu15 a{left:339px;top:277px}.m430 .eu15 a.tooltip-right .tooltip-arrow{right:91px} .m430 .eu16 a{left:184px;top:213px} .m430 .eu17 a{left:237px;top:293px} .m430 .eu18 a{left:226px;top:243px} .m430 .eu19 a{left:52px;top:93px}.m430 .eu19 a.tooltip-left .tooltip-arrow{left:52px} .m430 .eu20 a{left:100px;top:200px}.m430 .eu20 a.tooltip-left .tooltip-arrow{left:100px} .m430 .eu21 a{left:195px;top:265px} .m430 .eu22 a{left:194px;top:272px} .m430 .eu23 a{left:232px;top:273px} .m430 .eu24 a{left:255px;top:169px} .m430 .eu25 a{left:180px;top:244px} .m430 .eu26 a{left:248px;top:183px} .m430 .eu27 a{left:164px;top:225px} .m430 .eu28 a{left:236px;top:279px} .m430 .eu29 a{left:202px;top:313px} .m430 .eu30 a{left:269px;top:244px} .m430 .eu31 a{left:171px;top:266px} .m430 .eu32 a{left:225px;top:271px} .m430 .eu33 a{left:161px;top:207px} .m430 .eu34 a{left:177px;top:127px} .m430 .eu35 a{left:225px;top:207px} .m430 .eu36 a{left:98px;top:291px}.m430 .eu36 a.tooltip-left .tooltip-arrow{left:98px} .m430 .eu37 a{left:251px;top:251px} .m430 .eu38 a{left:336px;top:154px}.m430 .eu38 a.tooltip-right .tooltip-arrow{right:94px} .m430 .eu39 a{left:231px;top:263px} .m430 .eu40 a{left:225px;top:232px} .m430 .eu41 a{left:204px;top:251px} .m430 .eu42 a{left:120px;top:288px}.m430 .eu42 a.tooltip-left .tooltip-arrow{left:120px} .m430 .eu43 a{left:218px;top:91px} .m430 .eu44 a{left:173px;top:244px} .m430 .eu45 a{left:300px;top:294px}.m430 .eu45 a.tooltip-right .tooltip-arrow{right:130px} .m430 .eu46 a{left:282px;top:227px}.m430 .eu46 a.tooltip-right .tooltip-arrow{right:148px} .m430 .eu47 a{left:125px;top:189px}.m430 .eu47 a.tooltip-left .tooltip-arrow{left:125px} .m430 .eu48 a{left:129px;top:201px}.m430 .eu48 a.tooltip-left .tooltip-arrow{left:129px} .m430 .eu49 a{left:115px;top:192px}.m430 .eu49 a.tooltip-left .tooltip-arrow{left:115px} .m430 .eu50 a{left:105px;top:187px}.m430 .eu50 a.tooltip-left .tooltip-arrow{left:105px} .m430 .eu51 a{left:117px;top:170px}.m430 .eu51 a.tooltip-left .tooltip-arrow{left:117px} .m430 .eu52 a{left:119px;top:206px}.m430 .eu52 a.tooltip-left .tooltip-arrow{left:119px} + +/* size: 540 */ +.m540{width:540px} .m540 .europe,.m540 .europe .bg,.m540 .europe-cities{background:transparent url('eu-540.png') no-repeat 0 0} .m540 .europe,.m540 .europe-cities{height:425px;width:540px} .m540 .europe-cities{background-position:-560px 0} .m540 .europe .m{margin:9995px 0 0 9px} .m540 .europe .m span{font-size:33px !important;padding:0 1px 1px 0} +.m540 .eu1.focus .bg,.m540 .eu1.active-region .bg{height:24px;left:271px;top:332px;width:11px}.m540 .eu1.focus .bg{background-position:-688px -843px}.m540 .eu1.active-region .bg{background-position:-688px -1283px} .m540 .eu2.focus .bg,.m540 .eu2.active-region .bg{height:2px;left:166px;top:332px;width:3px}.m540 .eu2.focus .bg{background-position:-336px -864px}.m540 .eu2.active-region .bg{background-position:-336px -1304px} .m540 .eu3.focus .bg,.m540 .eu3.active-region .bg{height:24px;left:214px;top:279px;width:45px}.m540 .eu3.focus .bg{background-position:-175px -528px}.m540 .eu3.active-region .bg{background-position:-175px -968px} .m540 .eu4.focus .bg,.m540 .eu4.active-region .bg{height:49px;left:294px;top:209px;width:57px}.m540 .eu4.focus .bg{background-position:-87px -527px}.m540 .eu4.active-region .bg{background-position:-87px -967px} .m540 .eu5.focus .bg,.m540 .eu5.active-region .bg{height:19px;left:173px;top:256px;width:23px}.m540 .eu5.focus .bg{background-position:-753px -574px}.m540 .eu5.active-region .bg{background-position:-753px -1014px} .m540 .eu6.focus .bg,.m540 .eu6.active-region .bg{height:24px;left:251px;top:311px;width:23px}.m540 .eu6.focus .bg{background-position:-142px -474px}.m540 .eu6.active-region .bg{background-position:-142px -914px} .m540 .eu7.focus .bg,.m540 .eu7.active-region .bg{height:24px;left:290px;top:320px;width:37px}.m540 .eu7.focus .bg{background-position:-458px -475px}.m540 .eu7.active-region .bg{background-position:-458px -915px} .m540 .eu8.focus .bg,.m540 .eu8.active-region .bg{height:34px;left:238px;top:300px;width:35px}.m540 .eu8.focus .bg{background-position:-231px -582px}.m540 .eu8.active-region .bg{background-position:-231px -1022px} .m540 .eu9.focus .bg,.m540 .eu9.active-region .bg{height:9px;left:348px;top:385px;width:14px}.m540 .eu9.focus .bg{background-position:-763px -794px}.m540 .eu9.active-region .bg{background-position:-763px -1234px} .m540 .eu10.focus .bg,.m540 .eu10.active-region .bg{height:23px;left:229px;top:260px;width:40px}.m540 .eu10.focus .bg{background-position:-69px -474px}.m540 .eu10.active-region .bg{background-position:-69px -914px} .m540 .eu11.focus .bg,.m540 .eu11.active-region .bg{height:89px;left:113px;top:137px;width:135px}.m540 .eu11.focus .bg{background-position:-6px -788px}.m540 .eu11.active-region .bg{background-position:-6px -1228px} .m540 .eu12.focus .bg,.m540 .eu12.active-region .bg{height:25px;left:287px;top:170px;width:38px}.m540 .eu12.focus .bg{background-position:-630px -473px}.m540 .eu12.active-region .bg{background-position:-630px -913px} .m540 .eu13.focus .bg,.m540 .eu13.active-region .bg{height:84px;left:128px;top:260px;width:87px}.m540 .eu13.focus .bg{background-position:-401px -544px}.m540 .eu13.active-region .bg{background-position:-401px -984px} .m540 .eu14.focus .bg,.m540 .eu14.active-region .bg{height:145px;left:273px;top:24px;width:72px}.m540 .eu14.focus .bg{background-position:-293px -669px}.m540 .eu14.active-region .bg{background-position:-293px -1109px} .m540 .eu15.focus .bg,.m540 .eu15.active-region .bg{height:21px;left:393px;top:325px;width:40px}.m540 .eu15.focus .bg{background-position:-194px -475px}.m540 .eu15.active-region .bg{background-position:-194px -915px} .m540 .eu16.focus .bg,.m540 .eu16.active-region .bg{height:75px;left:193px;top:219px;width:54px}.m540 .eu16.focus .bg{background-position:-94px -606px}.m540 .eu16.active-region .bg{background-position:-94px -1046px} .m540 .eu17.focus .bg,.m540 .eu17.active-region .bg{height:53px;left:272px;top:340px;width:53px}.m540 .eu17.focus .bg{background-position:-5px -531px}.m540 .eu17.active-region .bg{background-position:-5px -971px} .m540 .eu18.focus .bg,.m540 .eu18.active-region .bg{height:25px;left:253px;top:283px;width:40px}.m540 .eu18.focus .bg{background-position:-697px -475px}.m540 .eu18.active-region .bg{background-position:-697px -915px} .m540 .eu19.focus .bg,.m540 .eu19.active-region .bg{height:45px;left:14px;top:80px;width:66px}.m540 .eu19.focus .bg{background-position:-175px -746px}.m540 .eu19.active-region .bg{background-position:-175px -1186px} .m540 .eu20.focus .bg,.m540 .eu20.active-region .bg{height:39px;left:96px;top:218px;width:27px}.m540 .eu20.focus .bg{background-position:-399px -475px}.m540 .eu20.active-region .bg{background-position:-399px -915px} .m540 .eu21.focus .bg,.m540 .eu21.active-region .bg{height:1px;left:232px;top:322px;width:1px}.m540 .eu21.focus .bg{background-position:-483px -869px}.m540 .eu21.active-region .bg{background-position:-483px -1309px} .m540 .eu22.focus .bg,.m540 .eu22.active-region .bg{height:92px;left:197px;top:296px;width:70px}.m540 .eu22.focus .bg{background-position:-653px -531px}.m540 .eu22.active-region .bg{background-position:-653px -971px} .m540 .eu23.focus .bg,.m540 .eu23.active-region .bg{height:12px;left:276px;top:328px;width:11px}.m540 .eu23.focus .bg{background-position:-764px -754px}.m540 .eu23.active-region .bg{background-position:-764px -1194px} .m540 .eu24.focus .bg,.m540 .eu24.active-region .bg{height:26px;left:281px;top:188px;width:43px}.m540 .eu24.focus .bg{background-position:-766px -473px}.m540 .eu24.active-region .bg{background-position:-766px -913px} .m540 .eu25.focus .bg,.m540 .eu25.active-region .bg{height:2px;left:214px;top:294px;width:1px}.m540 .eu25.focus .bg{background-position:-406px -866px}.m540 .eu25.active-region .bg{background-position:-406px -1306px} .m540 .eu26.focus .bg,.m540 .eu26.active-region .bg{height:27px;left:281px;top:206px;width:35px}.m540 .eu26.focus .bg{background-position:-4px -474px}.m540 .eu26.active-region .bg{background-position:-4px -914px} .m540 .eu27.focus .bg,.m540 .eu27.active-region .bg{height:7px;left:192px;top:268px;width:5px}.m540 .eu27.focus .bg{background-position:-265px -863px}.m540 .eu27.active-region .bg{background-position:-265px -1303px} .m540 .eu28.focus .bg,.m540 .eu28.active-region .bg{height:12px;left:278px;top:335px;width:16px}.m540 .eu28.focus .bg{background-position:-759px -668px}.m540 .eu28.active-region .bg{background-position:-759px -1108px} .m540 .eu29.focus .bg,.m540 .eu29.active-region .bg{height:2px;left:242px;top:383px;width:2px}.m540 .eu29.focus .bg{background-position:-369px -866px}.m540 .eu29.active-region .bg{background-position:-369px -1306px} .m540 .eu30.focus .bg,.m540 .eu30.active-region .bg{height:27px;left:315px;top:283px;width:21px}.m540 .eu30.focus .bg{background-position:-525px -473px}.m540 .eu30.active-region .bg{background-position:-525px -913px} .m540 .eu31.focus .bg,.m540 .eu31.active-region .bg{height:1px;left:201px;top:324px;width:1px}.m540 .eu31.focus .bg{background-position:-441px -869px}.m540 .eu31.active-region .bg{background-position:-441px -1309px} .m540 .eu32.focus .bg,.m540 .eu32.active-region .bg{height:14px;left:267px;top:325px;width:12px}.m540 .eu32.focus .bg{background-position:-760px -709px}.m540 .eu32.active-region .bg{background-position:-760px -1149px} .m540 .eu33.focus .bg,.m540 .eu33.active-region .bg{height:27px;left:177px;top:236px;width:24px}.m540 .eu33.focus .bg{background-position:-252px -525px}.m540 .eu33.active-region .bg{background-position:-252px -965px} .m540 .eu34.focus .bg,.m540 .eu34.active-region .bg{height:186px;left:186px;top:5px;width:156px}.m540 .eu34.focus .bg{background-position:-502px -657px}.m540 .eu34.active-region .bg{background-position:-502px -1097px} .m540 .eu35.focus .bg,.m540 .eu35.active-region .bg{height:56px;left:241px;top:223px;width:59px}.m540 .eu35.focus .bg{background-position:-5px -613px}.m540 .eu35.active-region .bg{background-position:-5px -1053px} .m540 .eu36.focus .bg,.m540 .eu36.active-region .bg{height:40px;left:103px;top:336px;width:20px}.m540 .eu36.focus .bg{background-position:-181px -581px}.m540 .eu36.active-region .bg{background-position:-181px -1021px} .m540 .eu37.focus .bg,.m540 .eu37.active-region .bg{height:40px;left:277px;top:285px;width:56px}.m540 .eu37.focus .bg{background-position:-176px -830px}.m540 .eu37.active-region .bg{background-position:-176px -1270px} .m540 .eu38.focus .bg,.m540 .eu38.active-region .bg{height:359px;left:274px;top:-14px;width:256px}.m540 .eu38.focus .bg{background-position:-850px -475px}.m540 .eu38.active-region .bg{background-position:-850px -915px} .m540 .eu39.focus .bg,.m540 .eu39.active-region .bg{height:33px;left:269px;top:303px;width:25px}.m540 .eu39.focus .bg{background-position:-575px -473px}.m540 .eu39.active-region .bg{background-position:-575px -913px} .m540 .eu40.focus .bg,.m540 .eu40.active-region .bg{height:17px;left:257px;top:273px;width:34px}.m540 .eu40.focus .bg{background-position:-321px -474px}.m540 .eu40.active-region .bg{background-position:-321px -914px} .m540 .eu41.focus .bg,.m540 .eu41.active-region .bg{height:13px;left:237px;top:298px;width:19px}.m540 .eu41.focus .bg{background-position:-754px -530px}.m540 .eu41.active-region .bg{background-position:-754px -970px} .m540 .eu42.focus .bg,.m540 .eu42.active-region .bg{height:66px;left:104px;top:323px;width:80px}.m540 .eu42.focus .bg{background-position:-179px -651px}.m540 .eu42.active-region .bg{background-position:-179px -1091px} .m540 .eu43.focus .bg,.m540 .eu43.active-region .bg{height:177px;left:223px;top:41px;width:78px}.m540 .eu43.focus .bg{background-position:-394px -656px}.m540 .eu43.active-region .bg{background-position:-394px -1096px} .m540 .eu44.focus .bg,.m540 .eu44.active-region .bg{height:17px;left:193px;top:289px;width:27px}.m540 .eu44.focus .bg{background-position:-263px -474px}.m540 .eu44.active-region .bg{background-position:-263px -914px} .m540 .eu45.focus .bg,.m540 .eu45.active-region .bg{height:48px;left:309px;top:337px;width:113px}.m540 .eu45.focus .bg{background-position:-9px -711px}.m540 .eu45.active-region .bg{background-position:-9px -1151px} .m540 .eu46.focus .bg,.m540 .eu46.active-region .bg{height:72px;left:288px;top:248px;width:107px}.m540 .eu46.focus .bg{background-position:-517px -536px}.m540 .eu46.active-region .bg{background-position:-517px -976px} .m540 .eu47.focus .bg,.m540 .eu47.active-region .bg{height:114px;left:110px;top:157px;width:59px}.m540 .eu47.focus .bg{background-position:-309px -523px}.m540 .eu47.active-region .bg{background-position:-309px -963px} .m540 .eu48.focus .bg,.m540 .eu48.active-region .bg{height:59px;left:125px;top:212px;width:44px}.m540 .eu48.focus .bg{background-position:-689px -755px}.m540 .eu48.active-region .bg{background-position:-689px -1195px} .m540 .eu49.focus .bg,.m540 .eu49.active-region .bg{height:4px;left:130px;top:227px;width:4px}.m540 .eu49.focus .bg{background-position:-301px -863px}.m540 .eu49.active-region .bg{background-position:-301px -1303px} .m540 .eu50.focus .bg,.m540 .eu50.active-region .bg{height:13px;left:110px;top:219px;width:17px}.m540 .eu50.focus .bg{background-position:-760px -624px}.m540 .eu50.active-region .bg{background-position:-760px -1064px} .m540 .eu51.focus .bg,.m540 .eu51.active-region .bg{height:69px;left:114px;top:157px;width:40px}.m540 .eu51.focus .bg{background-position:-689px -657px}.m540 .eu51.active-region .bg{background-position:-689px -1097px} .m540 .eu52.focus .bg,.m540 .eu52.active-region .bg{height:20px;left:127px;top:237px;width:16px}.m540 .eu52.focus .bg{background-position:-728px -843px}.m540 .eu52.active-region .bg{background-position:-728px -1283px} +.m540 .eu1 a{left:286px;top:354px} .m540 .eu2 a{left:177px;top:343px} .m540 .eu3 a{left:255px;top:300px} .m540 .eu4 a{left:333px;top:244px} .m540 .eu5 a{left:195px;top:272px} .m540 .eu6 a{left:273px;top:330px} .m540 .eu7 a{left:316px;top:342px} .m540 .eu8 a{left:266px;top:317px} .m540 .eu9 a{left:364px;top:401px} .m540 .eu10 a{left:258px;top:281px} .m540 .eu11 a{left:222px;top:219px} .m540 .eu12 a{left:318px;top:190px} .m540 .eu13 a{left:184px;top:306px} .m540 .eu14 a{left:327px;top:123px} .m540 .eu15 a{left:425px;top:347px}.m540 .eu15 a.tooltip-right .tooltip-arrow{right:115px} .m540 .eu16 a{left:230px;top:266px} .m540 .eu17 a{left:297px;top:368px} .m540 .eu18 a{left:283px;top:305px} .m540 .eu19 a{left:62px;top:114px}.m540 .eu19 a.tooltip-left .tooltip-arrow{left:62px} .m540 .eu20 a{left:123px;top:250px}.m540 .eu20 a.tooltip-left .tooltip-arrow{left:123px} .m540 .eu21 a{left:243px;top:332px} .m540 .eu22 a{left:242px;top:341px} .m540 .eu23 a{left:291px;top:343px} .m540 .eu24 a{left:319px;top:211px} .m540 .eu25 a{left:224px;top:305px} .m540 .eu26 a{left:311px;top:228px} .m540 .eu27 a{left:205px;top:282px} .m540 .eu28 a{left:296px;top:350px} .m540 .eu29 a{left:253px;top:394px} .m540 .eu30 a{left:337px;top:305px} .m540 .eu31 a{left:212px;top:334px} .m540 .eu32 a{left:281px;top:340px} .m540 .eu33 a{left:200px;top:258px} .m540 .eu34 a{left:221px;top:157px} .m540 .eu35 a{left:282px;top:259px} .m540 .eu36 a{left:120px;top:366px}.m540 .eu36 a.tooltip-left .tooltip-arrow{left:120px} .m540 .eu37 a{left:314px;top:315px} .m540 .eu38 a{left:425px;top:191px}.m540 .eu38 a.tooltip-right .tooltip-arrow{right:115px} .m540 .eu39 a{left:290px;top:329px} .m540 .eu40 a{left:282px;top:291px} .m540 .eu41 a{left:254px;top:314px} .m540 .eu42 a{left:149px;top:362px}.m540 .eu42 a.tooltip-left .tooltip-arrow{left:149px} .m540 .eu43 a{left:272px;top:112px} .m540 .eu44 a{left:216px;top:306px} .m540 .eu45 a{left:377px;top:369px}.m540 .eu45 a.tooltip-right .tooltip-arrow{right:163px} .m540 .eu46 a{left:354px;top:284px} .m540 .eu47 a{left:155px;top:236px}.m540 .eu47 a.tooltip-left .tooltip-arrow{left:155px} .m540 .eu48 a{left:160px;top:251px}.m540 .eu48 a.tooltip-left .tooltip-arrow{left:160px} .m540 .eu49 a{left:142px;top:239px}.m540 .eu49 a.tooltip-left .tooltip-arrow{left:142px} .m540 .eu50 a{left:130px;top:234px}.m540 .eu50 a.tooltip-left .tooltip-arrow{left:130px} .m540 .eu51 a{left:144px;top:211px}.m540 .eu51 a.tooltip-left .tooltip-arrow{left:144px} .m540 .eu52 a{left:147px;top:257px}.m540 .eu52 a.tooltip-left .tooltip-arrow{left:147px} + +/* size: 650 */ +.m650{width:650px} .m650 .europe,.m650 .europe .bg,.m650 .europe-cities{background:transparent url('eu-650.png') no-repeat 0 0} .m650 .europe,.m650 .europe-cities{height:520px;width:650px} .m650 .europe-cities{background-position:-700px 0} .m650 .europe .m{margin:9997px 0 0 6px} .m650 .europe .m span{font-size:40px !important} +.m650 .eu1.focus .bg,.m650 .eu1.active-region .bg{height:29px;left:327px;top:407px;width:13px}.m650 .eu1.focus .bg{background-position:-806px -984px}.m650 .eu1.active-region .bg{background-position:-806px -1484px} .m650 .eu2.focus .bg,.m650 .eu2.active-region .bg{height:3px;left:200px;top:407px;width:3px}.m650 .eu2.focus .bg{background-position:-385px -1028px}.m650 .eu2.active-region .bg{background-position:-385px -1528px} .m650 .eu3.focus .bg,.m650 .eu3.active-region .bg{height:28px;left:258px;top:342px;width:55px}.m650 .eu3.focus .bg{background-position:-199px -629px}.m650 .eu3.active-region .bg{background-position:-199px -1129px} .m650 .eu4.focus .bg,.m650 .eu4.active-region .bg{height:60px;left:355px;top:258px;width:69px}.m650 .eu4.focus .bg{background-position:-99px -630px}.m650 .eu4.active-region .bg{background-position:-99px -1130px} .m650 .eu5.focus .bg,.m650 .eu5.active-region .bg{height:23px;left:208px;top:314px;width:28px}.m650 .eu5.focus .bg{background-position:-855px -683px}.m650 .eu5.active-region .bg{background-position:-855px -1183px} .m650 .eu6.focus .bg,.m650 .eu6.active-region .bg{height:29px;left:302px;top:381px;width:28px}.m650 .eu6.focus .bg{background-position:-156px -571px}.m650 .eu6.active-region .bg{background-position:-156px -1071px} .m650 .eu7.focus .bg,.m650 .eu7.active-region .bg{height:29px;left:349px;top:392px;width:45px}.m650 .eu7.focus .bg{background-position:-512px -572px}.m650 .eu7.active-region .bg{background-position:-512px -1072px} .m650 .eu8.focus .bg,.m650 .eu8.active-region .bg{height:41px;left:286px;top:368px;width:43px}.m650 .eu8.focus .bg{background-position:-255px -688px}.m650 .eu8.active-region .bg{background-position:-255px -1188px} .m650 .eu9.focus .bg,.m650 .eu9.active-region .bg{height:10px;left:420px;top:471px;width:17px}.m650 .eu9.focus .bg{background-position:-889px -916px}.m650 .eu9.active-region .bg{background-position:-889px -1416px} .m650 .eu10.focus .bg,.m650 .eu10.active-region .bg{height:28px;left:276px;top:319px;width:49px}.m650 .eu10.focus .bg{background-position:-76px -571px}.m650 .eu10.active-region .bg{background-position:-76px -1071px} .m650 .eu11.focus .bg,.m650 .eu11.active-region .bg{height:108px;left:135px;top:171px;width:163px}.m650 .eu11.focus .bg{background-position:-4px -928px}.m650 .eu11.active-region .bg{background-position:-4px -1428px} .m650 .eu12.focus .bg,.m650 .eu12.active-region .bg{height:30px;left:345px;top:211px;width:46px}.m650 .eu12.focus .bg{background-position:-701px -570px}.m650 .eu12.active-region .bg{background-position:-701px -1070px} .m650 .eu13.focus .bg,.m650 .eu13.active-region .bg{height:101px;left:153px;top:319px;width:105px}.m650 .eu13.focus .bg{background-position:-446px -649px}.m650 .eu13.active-region .bg{background-position:-446px -1149px} .m650 .eu14.focus .bg,.m650 .eu14.active-region .bg{height:176px;left:329px;top:33px;width:87px}.m650 .eu14.focus .bg{background-position:-332px -789px}.m650 .eu14.active-region .bg{background-position:-332px -1289px} .m650 .eu15.focus .bg,.m650 .eu15.active-region .bg{height:25px;left:475px;top:398px;width:48px}.m650 .eu15.focus .bg{background-position:-214px -571px}.m650 .eu15.active-region .bg{background-position:-214px -1071px} .m650 .eu16.focus .bg,.m650 .eu16.active-region .bg{height:91px;left:232px;top:270px;width:66px}.m650 .eu16.focus .bg{background-position:-106px -719px}.m650 .eu16.active-region .bg{background-position:-106px -1219px} .m650 .eu17.focus .bg,.m650 .eu17.active-region .bg{height:64px;left:328px;top:416px;width:64px}.m650 .eu17.focus .bg{background-position:-5px -633px}.m650 .eu17.active-region .bg{background-position:-5px -1133px} .m650 .eu18.focus .bg,.m650 .eu18.active-region .bg{height:30px;left:305px;top:347px;width:49px}.m650 .eu18.focus .bg{background-position:-777px -571px}.m650 .eu18.active-region .bg{background-position:-777px -1071px} .m650 .eu19.focus .bg,.m650 .eu19.active-region .bg{height:54px;left:15px;top:101px;width:79px}.m650 .eu19.focus .bg{background-position:-209px -873px}.m650 .eu19.active-region .bg{background-position:-209px -1373px} .m650 .eu20.focus .bg,.m650 .eu20.active-region .bg{height:47px;left:115px;top:268px;width:32px}.m650 .eu20.focus .bg{background-position:-448px -572px}.m650 .eu20.active-region .bg{background-position:-448px -1072px} .m650 .eu21.focus .bg,.m650 .eu21.active-region .bg{height:1px;left:279px;top:395px;width:1px}.m650 .eu21.focus .bg{background-position:-523px -1032px}.m650 .eu21.active-region .bg{background-position:-523px -1532px} .m650 .eu22.focus .bg,.m650 .eu22.active-region .bg{height:111px;left:237px;top:363px;width:85px}.m650 .eu22.focus .bg{background-position:-739px -630px}.m650 .eu22.active-region .bg{background-position:-739px -1130px} .m650 .eu23.focus .bg,.m650 .eu23.active-region .bg{height:14px;left:333px;top:401px;width:13px}.m650 .eu23.focus .bg{background-position:-889px -873px}.m650 .eu23.active-region .bg{background-position:-889px -1373px} .m650 .eu24.focus .bg,.m650 .eu24.active-region .bg{height:32px;left:339px;top:232px;width:52px}.m650 .eu24.focus .bg{background-position:-856px -571px}.m650 .eu24.active-region .bg{background-position:-856px -1071px} .m650 .eu25.focus .bg,.m650 .eu25.active-region .bg{height:3px;left:257px;top:360px;width:2px}.m650 .eu25.focus .bg{background-position:-421px -1028px}.m650 .eu25.active-region .bg{background-position:-421px -1528px} .m650 .eu26.focus .bg,.m650 .eu26.active-region .bg{height:33px;left:339px;top:254px;width:42px}.m650 .eu26.focus .bg{background-position:-4px -571px}.m650 .eu26.active-region .bg{background-position:-4px -1071px} .m650 .eu27.focus .bg,.m650 .eu27.active-region .bg{height:9px;left:231px;top:329px;width:6px}.m650 .eu27.focus .bg{background-position:-311px -1028px}.m650 .eu27.active-region .bg{background-position:-311px -1528px} .m650 .eu28.focus .bg,.m650 .eu28.active-region .bg{height:15px;left:336px;top:410px;width:19px}.m650 .eu28.focus .bg{background-position:-882px -783px}.m650 .eu28.active-region .bg{background-position:-882px -1283px} .m650 .eu29.focus .bg,.m650 .eu29.active-region .bg{height:2px;left:291px;top:468px;width:2px}.m650 .eu29.focus .bg{background-position:-457px -1029px}.m650 .eu29.active-region .bg{background-position:-457px -1529px} .m650 .eu30.focus .bg,.m650 .eu30.active-region .bg{height:32px;left:380px;top:348px;width:26px}.m650 .eu30.focus .bg{background-position:-587px -575px}.m650 .eu30.active-region .bg{background-position:-587px -1075px} .m650 .eu31.focus .bg,.m650 .eu31.active-region .bg{height:1px;left:242px;top:396px;width:1px}.m650 .eu31.focus .bg{background-position:-489px -1031px}.m650 .eu31.active-region .bg{background-position:-489px -1531px} .m650 .eu32.focus .bg,.m650 .eu32.active-region .bg{height:17px;left:321px;top:398px;width:14px}.m650 .eu32.focus .bg{background-position:-881px -827px}.m650 .eu32.active-region .bg{background-position:-881px -1327px} .m650 .eu33.focus .bg,.m650 .eu33.active-region .bg{height:33px;left:213px;top:290px;width:29px}.m650 .eu33.focus .bg{background-position:-286px -625px}.m650 .eu33.active-region .bg{background-position:-286px -1125px} .m650 .eu34.focus .bg,.m650 .eu34.active-region .bg{height:225px;left:223px;top:10px;width:189px}.m650 .eu34.focus .bg{background-position:-581px -774px}.m650 .eu34.active-region .bg{background-position:-581px -1274px} .m650 .eu35.focus .bg,.m650 .eu35.active-region .bg{height:68px;left:291px;top:274px;width:72px}.m650 .eu35.focus .bg{background-position:-5px -726px}.m650 .eu35.active-region .bg{background-position:-5px -1226px} .m650 .eu36.focus .bg,.m650 .eu36.active-region .bg{height:48px;left:122px;top:412px;width:24px}.m650 .eu36.focus .bg{background-position:-201px -687px}.m650 .eu36.active-region .bg{background-position:-201px -1187px} .m650 .eu37.focus .bg,.m650 .eu37.active-region .bg{height:48px;left:334px;top:350px;width:68px}.m650 .eu37.focus .bg{background-position:-213px -968px}.m650 .eu37.active-region .bg{background-position:-213px -1468px} .m650 .eu38.focus .bg,.m650 .eu38.active-region .bg{height:435px;left:331px;top:-13px;width:310px}.m650 .eu38.focus .bg{background-position:-950px -572px}.m650 .eu38.active-region .bg{background-position:-950px -1072px} .m650 .eu39.focus .bg,.m650 .eu39.active-region .bg{height:40px;left:324px;top:372px;width:30px}.m650 .eu39.focus .bg{background-position:-642px -571px}.m650 .eu39.active-region .bg{background-position:-642px -1071px} .m650 .eu40.focus .bg,.m650 .eu40.active-region .bg{height:21px;left:310px;top:335px;width:41px}.m650 .eu40.focus .bg{background-position:-356px -570px}.m650 .eu40.active-region .bg{background-position:-356px -1070px} .m650 .eu41.focus .bg,.m650 .eu41.active-region .bg{height:15px;left:285px;top:365px;width:23px}.m650 .eu41.focus .bg{background-position:-854px -636px}.m650 .eu41.active-region .bg{background-position:-854px -1136px} .m650 .eu42.focus .bg,.m650 .eu42.active-region .bg{height:80px;left:124px;top:396px;width:97px}.m650 .eu42.focus .bg{background-position:-203px -765px}.m650 .eu42.active-region .bg{background-position:-203px -1265px} .m650 .eu43.focus .bg,.m650 .eu43.active-region .bg{height:215px;left:268px;top:54px;width:94px}.m650 .eu43.focus .bg{background-position:-450px -779px}.m650 .eu43.active-region .bg{background-position:-450px -1279px} .m650 .eu44.focus .bg,.m650 .eu44.active-region .bg{height:21px;left:232px;top:355px;width:33px}.m650 .eu44.focus .bg{background-position:-293px -571px}.m650 .eu44.active-region .bg{background-position:-293px -1071px} .m650 .eu45.focus .bg,.m650 .eu45.active-region .bg{height:58px;left:373px;top:412px;width:137px}.m650 .eu45.focus .bg{background-position:-14px -839px}.m650 .eu45.active-region .bg{background-position:-14px -1339px} .m650 .eu46.focus .bg,.m650 .eu46.active-region .bg{height:87px;left:348px;top:304px;width:129px}.m650 .eu46.focus .bg{background-position:-581px -640px}.m650 .eu46.active-region .bg{background-position:-581px -1140px} .m650 .eu47.focus .bg,.m650 .eu47.active-region .bg{height:138px;left:131px;top:194px;width:72px}.m650 .eu47.focus .bg{background-position:-345px -621px}.m650 .eu47.active-region .bg{background-position:-345px -1121px} .m650 .eu48.focus .bg,.m650 .eu48.active-region .bg{height:71px;left:149px;top:261px;width:54px}.m650 .eu48.focus .bg{background-position:-806px -883px}.m650 .eu48.active-region .bg{background-position:-806px -1383px} .m650 .eu49.focus .bg,.m650 .eu49.active-region .bg{height:5px;left:155px;top:280px;width:5px}.m650 .eu49.focus .bg{background-position:-347px -1028px}.m650 .eu49.active-region .bg{background-position:-347px -1528px} .m650 .eu50.focus .bg,.m650 .eu50.active-region .bg{height:16px;left:131px;top:269px;width:20px}.m650 .eu50.focus .bg{background-position:-881px -738px}.m650 .eu50.active-region .bg{background-position:-881px -1238px} .m650 .eu51.focus .bg,.m650 .eu51.active-region .bg{height:84px;left:136px;top:194px;width:49px}.m650 .eu51.focus .bg{background-position:-804px -770px}.m650 .eu51.active-region .bg{background-position:-804px -1270px} .m650 .eu52.focus .bg,.m650 .eu52.active-region .bg{height:24px;left:152px;top:292px;width:19px}.m650 .eu52.focus .bg{background-position:-847px -987px}.m650 .eu52.active-region .bg{background-position:-847px -1487px} +.m650 .eu1 a{left:343px;top:431px} .m650 .eu2 a{left:212px;top:418px} .m650 .eu3 a{left:305px;top:366px} .m650 .eu4 a{left:400px;top:297px} .m650 .eu5 a{left:233px;top:332px} .m650 .eu6 a{left:327px;top:402px} .m650 .eu7 a{left:379px;top:417px} .m650 .eu8 a{left:318px;top:386px} .m650 .eu9 a{left:437px;top:487px} .m650 .eu10 a{left:309px;top:343px} .m650 .eu11 a{left:266px;top:267px} .m650 .eu12 a{left:382px;top:232px} .m650 .eu13 a{left:220px;top:373px} .m650 .eu14 a{left:392px;top:151px} .m650 .eu15 a{left:512px;top:423px}.m650 .eu15 a.tooltip-right .tooltip-arrow{right:138px} .m650 .eu16 a{left:275px;top:325px} .m650 .eu17 a{left:356px;top:447px} .m650 .eu18 a{left:339px;top:371px} .m650 .eu19 a{left:72px;top:140px}.m650 .eu19 a.tooltip-left .tooltip-arrow{left:72px} .m650 .eu20 a{left:145px;top:305px}.m650 .eu20 a.tooltip-left .tooltip-arrow{left:145px} .m650 .eu21 a{left:290px;top:405px} .m650 .eu22 a{left:290px;top:415px} .m650 .eu23 a{left:349px;top:417px} .m650 .eu24 a{left:383px;top:257px} .m650 .eu25 a{left:269px;top:372px} .m650 .eu26 a{left:373px;top:279px} .m650 .eu27 a{left:243px;top:344px} .m650 .eu28 a{left:354px;top:427px} .m650 .eu29 a{left:302px;top:479px} .m650 .eu30 a{left:404px;top:372px} .m650 .eu31 a{left:252px;top:406px} .m650 .eu32 a{left:337px;top:415px} .m650 .eu33 a{left:239px;top:315px} .m650 .eu34 a{left:264px;top:192px} .m650 .eu35 a{left:338px;top:316px} .m650 .eu36 a{left:142px;top:445px}.m650 .eu36 a.tooltip-left .tooltip-arrow{left:142px} .m650 .eu37 a{left:377px;top:383px} .m650 .eu38 a{left:509px;top:234px}.m650 .eu38 a.tooltip-right .tooltip-arrow{right:141px} .m650 .eu39 a{left:348px;top:401px} .m650 .eu40 a{left:338px;top:355px} .m650 .eu41 a{left:304px;top:383px} .m650 .eu42 a{left:176px;top:441px}.m650 .eu42 a.tooltip-left .tooltip-arrow{left:176px} .m650 .eu43 a{left:326px;top:138px} .m650 .eu44 a{left:258px;top:373px} .m650 .eu45 a{left:453px;top:449px}.m650 .eu45 a.tooltip-right .tooltip-arrow{right:197px} .m650 .eu46 a{left:425px;top:347px} .m650 .eu47 a{left:184px;top:289px}.m650 .eu47 a.tooltip-left .tooltip-arrow{left:184px} .m650 .eu48 a{left:190px;top:307px}.m650 .eu48 a.tooltip-left .tooltip-arrow{left:190px} .m650 .eu49 a{left:168px;top:292px}.m650 .eu49 a.tooltip-left .tooltip-arrow{left:168px} .m650 .eu50 a{left:153px;top:286px}.m650 .eu50 a.tooltip-left .tooltip-arrow{left:153px} .m650 .eu51 a{left:171px;top:258px}.m650 .eu51 a.tooltip-left .tooltip-arrow{left:171px} .m650 .eu52 a{left:174px;top:314px}.m650 .eu52 a.tooltip-left .tooltip-arrow{left:174px} + +/* size: 750 */ +.m750{width:750px} .m750 .europe,.m750 .europe .bg,.m750 .europe-cities{background:transparent url('eu-750.png') no-repeat 0 0} .m750 .europe,.m750 .europe-cities{height:605px;width:750px} .m750 .europe-cities{background-position:-800px 0} .m750 .europe .m{margin:9996px 0 0 -1px} .m750 .europe .m span{font-size:47px !important;padding:0 1px 1px 0} +.m750 .eu1.focus .bg,.m750 .eu1.active-region .bg{height:34px;left:379px;top:481px;width:16px}.m750 .eu1.focus .bg{background-position:-900px -1132px}.m750 .eu1.active-region .bg{background-position:-900px -1712px} .m750 .eu2.focus .bg,.m750 .eu2.active-region .bg{height:3px;left:229px;top:481px;width:3px}.m750 .eu2.focus .bg{background-position:-504px -1173px}.m750 .eu2.active-region .bg{background-position:-504px -1753px} .m750 .eu3.focus .bg,.m750 .eu3.active-region .bg{height:33px;left:297px;top:404px;width:65px}.m750 .eu3.focus .bg{background-position:-219px -717px}.m750 .eu3.active-region .bg{background-position:-219px -1297px} .m750 .eu4.focus .bg,.m750 .eu4.active-region .bg{height:70px;left:412px;top:305px;width:81px}.m750 .eu4.focus .bg{background-position:-109px -720px}.m750 .eu4.active-region .bg{background-position:-109px -1300px} .m750 .eu5.focus .bg,.m750 .eu5.active-region .bg{height:27px;left:239px;top:371px;width:33px}.m750 .eu5.focus .bg{background-position:-968px -769px}.m750 .eu5.active-region .bg{background-position:-968px -1349px} .m750 .eu6.focus .bg,.m750 .eu6.active-region .bg{height:34px;left:349px;top:450px;width:33px}.m750 .eu6.focus .bg{background-position:-169px -654px}.m750 .eu6.active-region .bg{background-position:-169px -1234px} .m750 .eu7.focus .bg,.m750 .eu7.active-region .bg{height:35px;left:405px;top:463px;width:53px}.m750 .eu7.focus .bg{background-position:-562px -655px}.m750 .eu7.active-region .bg{background-position:-562px -1235px} .m750 .eu8.focus .bg,.m750 .eu8.active-region .bg{height:48px;left:331px;top:435px;width:50px}.m750 .eu8.focus .bg{background-position:-286px -786px}.m750 .eu8.active-region .bg{background-position:-286px -1366px} .m750 .eu9.focus .bg,.m750 .eu9.active-region .bg{height:12px;left:488px;top:556px;width:20px}.m750 .eu9.focus .bg{background-position:-989px -973px}.m750 .eu9.active-region .bg{background-position:-989px -1553px} .m750 .eu10.focus .bg,.m750 .eu10.active-region .bg{height:33px;left:319px;top:377px;width:57px}.m750 .eu10.focus .bg{background-position:-83px -654px}.m750 .eu10.active-region .bg{background-position:-83px -1234px} .m750 .eu11.focus .bg,.m750 .eu11.active-region .bg{height:127px;left:153px;top:203px;width:192px}.m750 .eu11.focus .bg{background-position:-4px -1049px}.m750 .eu11.active-region .bg{background-position:-4px -1629px} .m750 .eu12.focus .bg,.m750 .eu12.active-region .bg{height:35px;left:400px;top:250px;width:54px}.m750 .eu12.focus .bg{background-position:-769px -656px}.m750 .eu12.active-region .bg{background-position:-769px -1236px} .m750 .eu13.focus .bg,.m750 .eu13.active-region .bg{height:119px;left:174px;top:377px;width:124px}.m750 .eu13.focus .bg{background-position:-491px -740px}.m750 .eu13.active-region .bg{background-position:-491px -1320px} .m750 .eu14.focus .bg,.m750 .eu14.active-region .bg{height:207px;left:381px;top:41px;width:102px}.m750 .eu14.focus .bg{background-position:-372px -900px}.m750 .eu14.active-region .bg{background-position:-372px -1480px} .m750 .eu15.focus .bg,.m750 .eu15.active-region .bg{height:29px;left:553px;top:470px;width:57px}.m750 .eu15.focus .bg{background-position:-232px -655px}.m750 .eu15.active-region .bg{background-position:-232px -1235px} .m750 .eu16.focus .bg,.m750 .eu16.active-region .bg{height:107px;left:267px;top:319px;width:77px}.m750 .eu16.focus .bg{background-position:-244px -1082px}.m750 .eu16.active-region .bg{background-position:-244px -1662px} .m750 .eu17.focus .bg,.m750 .eu17.active-region .bg{height:75px;left:380px;top:491px;width:75px}.m750 .eu17.focus .bg{background-position:-5px -723px}.m750 .eu17.active-region .bg{background-position:-5px -1303px} .m750 .eu18.focus .bg,.m750 .eu18.active-region .bg{height:36px;left:353px;top:410px;width:57px}.m750 .eu18.focus .bg{background-position:-854px -655px}.m750 .eu18.active-region .bg{background-position:-854px -1235px} .m750 .eu19.focus .bg,.m750 .eu19.active-region .bg{height:63px;left:12px;top:122px;width:93px}.m750 .eu19.focus .bg{background-position:-246px -990px}.m750 .eu19.active-region .bg{background-position:-246px -1570px} .m750 .eu20.focus .bg,.m750 .eu20.active-region .bg{height:56px;left:130px;top:317px;width:38px}.m750 .eu20.focus .bg{background-position:-494px -654px}.m750 .eu20.active-region .bg{background-position:-494px -1234px} .m750 .eu21.focus .bg,.m750 .eu21.active-region .bg{height:1px;left:323px;top:466px;width:1px}.m750 .eu21.focus .bg{background-position:-541px -1174px}.m750 .eu21.active-region .bg{background-position:-541px -1754px} .m750 .eu22.focus .bg,.m750 .eu22.active-region .bg{height:130px;left:273px;top:428px;width:100px}.m750 .eu22.focus .bg{background-position:-829px -721px}.m750 .eu22.active-region .bg{background-position:-829px -1301px} .m750 .eu23.focus .bg,.m750 .eu23.active-region .bg{height:16px;left:385px;top:474px;width:15px}.m750 .eu23.focus .bg{background-position:-994px -1035px}.m750 .eu23.active-region .bg{background-position:-994px -1615px} .m750 .eu24.focus .bg,.m750 .eu24.active-region .bg{height:37px;left:393px;top:276px;width:61px}.m750 .eu24.focus .bg{background-position:-940px -655px}.m750 .eu24.active-region .bg{background-position:-940px -1235px} .m750 .eu25.focus .bg,.m750 .eu25.active-region .bg{height:3px;left:297px;top:426px;width:2px}.m750 .eu25.focus .bg{background-position:-434px -1173px}.m750 .eu25.active-region .bg{background-position:-434px -1753px} .m750 .eu26.focus .bg,.m750 .eu26.active-region .bg{height:38px;left:393px;top:301px;width:50px}.m750 .eu26.focus .bg{background-position:-4px -655px}.m750 .eu26.active-region .bg{background-position:-4px -1235px} .m750 .eu27.focus .bg,.m750 .eu27.active-region .bg{height:10px;left:266px;top:389px;width:7px}.m750 .eu27.focus .bg{background-position:-363px -1172px}.m750 .eu27.active-region .bg{background-position:-363px -1752px} .m750 .eu28.focus .bg,.m750 .eu28.active-region .bg{height:17px;left:389px;top:484px;width:22px}.m750 .eu28.focus .bg{background-position:-971px -827px}.m750 .eu28.active-region .bg{background-position:-971px -1407px} .m750 .eu29.focus .bg,.m750 .eu29.active-region .bg{height:3px;left:337px;top:552px;width:2px}.m750 .eu29.focus .bg{background-position:-573px -1173px}.m750 .eu29.active-region .bg{background-position:-573px -1753px} .m750 .eu30.focus .bg,.m750 .eu30.active-region .bg{height:38px;left:440px;top:411px;width:30px}.m750 .eu30.focus .bg{background-position:-644px -655px}.m750 .eu30.active-region .bg{background-position:-644px -1235px} .m750 .eu31.focus .bg,.m750 .eu31.active-region .bg{height:1px;left:279px;top:468px;width:1px}.m750 .eu31.focus .bg{background-position:-468px -1174px}.m750 .eu31.active-region .bg{background-position:-468px -1754px} .m750 .eu32.focus .bg,.m750 .eu32.active-region .bg{height:20px;left:372px;top:470px;width:17px}.m750 .eu32.focus .bg{background-position:-989px -924px}.m750 .eu32.active-region .bg{background-position:-989px -1504px} .m750 .eu33.focus .bg,.m750 .eu33.active-region .bg{height:39px;left:244px;top:343px;width:34px}.m750 .eu33.focus .bg{background-position:-313px -717px}.m750 .eu33.active-region .bg{background-position:-313px -1297px} .m750 .eu34.focus .bg,.m750 .eu34.active-region .bg{height:264px;left:257px;top:14px;width:222px}.m750 .eu34.focus .bg{background-position:-646px -888px}.m750 .eu34.active-region .bg{background-position:-646px -1468px} .m750 .eu35.focus .bg,.m750 .eu35.active-region .bg{height:80px;left:336px;top:325px;width:84px}.m750 .eu35.focus .bg{background-position:-5px -831px}.m750 .eu35.active-region .bg{background-position:-5px -1411px} .m750 .eu36.focus .bg,.m750 .eu36.active-region .bg{height:57px;left:138px;top:486px;width:28px}.m750 .eu36.focus .bg{background-position:-227px -780px}.m750 .eu36.active-region .bg{background-position:-227px -1360px} .m750 .eu37.focus .bg,.m750 .eu37.active-region .bg{height:56px;left:387px;top:414px;width:79px}.m750 .eu37.focus .bg{background-position:-118px -830px}.m750 .eu37.active-region .bg{background-position:-118px -1410px} .m750 .eu38.focus .bg,.m750 .eu38.active-region .bg{height:511px;left:383px;top:-13px;width:364px}.m750 .eu38.focus .bg{background-position:-1048px -650px}.m750 .eu38.active-region .bg{background-position:-1048px -1230px} .m750 .eu39.focus .bg,.m750 .eu39.active-region .bg{height:47px;left:375px;top:439px;width:35px}.m750 .eu39.focus .bg{background-position:-704px -654px}.m750 .eu39.active-region .bg{background-position:-704px -1234px} .m750 .eu40.focus .bg,.m750 .eu40.active-region .bg{height:24px;left:359px;top:397px;width:48px}.m750 .eu40.focus .bg{background-position:-387px -655px}.m750 .eu40.active-region .bg{background-position:-387px -1235px} .m750 .eu41.focus .bg,.m750 .eu41.active-region .bg{height:18px;left:330px;top:431px;width:27px}.m750 .eu41.focus .bg{background-position:-969px -722px}.m750 .eu41.active-region .bg{background-position:-969px -1302px} .m750 .eu42.focus .bg,.m750 .eu42.active-region .bg{height:93px;left:140px;top:468px;width:114px}.m750 .eu42.focus .bg{background-position:-228px -867px}.m750 .eu42.active-region .bg{background-position:-228px -1447px} .m750 .eu43.focus .bg,.m750 .eu43.active-region .bg{height:252px;left:309px;top:66px;width:111px}.m750 .eu43.focus .bg{background-position:-503px -888px}.m750 .eu43.active-region .bg{background-position:-503px -1468px} .m750 .eu44.focus .bg,.m750 .eu44.active-region .bg{height:25px;left:267px;top:419px;width:38px}.m750 .eu44.focus .bg{background-position:-317px -654px}.m750 .eu44.active-region .bg{background-position:-317px -1234px} .m750 .eu45.focus .bg,.m750 .eu45.active-region .bg{height:68px;left:433px;top:487px;width:161px}.m750 .eu45.focus .bg{background-position:-7px -941px}.m750 .eu45.active-region .bg{background-position:-7px -1521px} .m750 .eu46.focus .bg,.m750 .eu46.active-region .bg{height:103px;left:403px;top:360px;width:152px}.m750 .eu46.focus .bg{background-position:-648px -731px}.m750 .eu46.active-region .bg{background-position:-648px -1311px} .m750 .eu47.focus .bg,.m750 .eu47.active-region .bg{height:162px;left:149px;top:230px;width:84px}.m750 .eu47.focus .bg{background-position:-378px -708px}.m750 .eu47.active-region .bg{background-position:-378px -1288px} .m750 .eu48.focus .bg,.m750 .eu48.active-region .bg{height:83px;left:170px;top:309px;width:63px}.m750 .eu48.focus .bg{background-position:-900px -1009px}.m750 .eu48.active-region .bg{background-position:-900px -1589px} .m750 .eu49.focus .bg,.m750 .eu49.active-region .bg{height:6px;left:177px;top:331px;width:6px}.m750 .eu49.focus .bg{background-position:-397px -1172px}.m750 .eu49.active-region .bg{background-position:-397px -1752px} .m750 .eu50.focus .bg,.m750 .eu50.active-region .bg{height:18px;left:149px;top:319px;width:24px}.m750 .eu50.focus .bg{background-position:-987px -874px}.m750 .eu50.active-region .bg{background-position:-987px -1454px} .m750 .eu51.focus .bg,.m750 .eu51.active-region .bg{height:98px;left:154px;top:230px;width:57px}.m750 .eu51.focus .bg{background-position:-899px -881px}.m750 .eu51.active-region .bg{background-position:-899px -1461px} .m750 .eu52.focus .bg,.m750 .eu52.active-region .bg{height:29px;left:173px;top:345px;width:22px}.m750 .eu52.focus .bg{background-position:-945px -1132px}.m750 .eu52.active-region .bg{background-position:-945px -1712px} +.m750 .eu1 a{left:395px;top:507px} .m750 .eu2 a{left:242px;top:492px} .m750 .eu3 a{left:351px;top:431px} .m750 .eu4 a{left:462px;top:350px} .m750 .eu5 a{left:266px;top:391px} .m750 .eu6 a{left:377px;top:473px} .m750 .eu7 a{left:438px;top:490px} .m750 .eu8 a{left:367px;top:454px} .m750 .eu9 a{left:505px;top:573px} .m750 .eu10 a{left:356px;top:403px} .m750 .eu11 a{left:305px;top:315px} .m750 .eu12 a{left:441px;top:273px} .m750 .eu13 a{left:251px;top:439px} .m750 .eu14 a{left:454px;top:178px} .m750 .eu15 a{left:594px;top:498px} .m750 .eu16 a{left:316px;top:382px} .m750 .eu17 a{left:410px;top:526px} .m750 .eu18 a{left:391px;top:437px} .m750 .eu19 a{left:77px;top:165px}.m750 .eu19 a.tooltip-left .tooltip-arrow{left:77px} .m750 .eu20 a{left:163px;top:359px}.m750 .eu20 a.tooltip-left .tooltip-arrow{left:163px} .m750 .eu21 a{left:333px;top:476px} .m750 .eu22 a{left:333px;top:489px} .m750 .eu23 a{left:403px;top:491px} .m750 .eu24 a{left:443px;top:303px} .m750 .eu25 a{left:308px;top:438px} .m750 .eu26 a{left:431px;top:328px} .m750 .eu27 a{left:279px;top:405px} .m750 .eu28 a{left:409px;top:502px} .m750 .eu29 a{left:347px;top:563px} .m750 .eu30 a{left:469px;top:438px} .m750 .eu31 a{left:289px;top:478px} .m750 .eu32 a{left:389px;top:488px} .m750 .eu33 a{left:273px;top:371px} .m750 .eu34 a{left:302px;top:226px} .m750 .eu35 a{left:389px;top:372px} .m750 .eu36 a{left:158px;top:524px}.m750 .eu36 a.tooltip-left .tooltip-arrow{left:158px} .m750 .eu37 a{left:436px;top:451px} .m750 .eu38 a{left:591px;top:275px}.m750 .eu38 a.tooltip-right .tooltip-arrow{right:159px} .m750 .eu39 a{left:401px;top:472px} .m750 .eu40 a{left:389px;top:417px} .m750 .eu41 a{left:350px;top:450px} .m750 .eu42 a{left:200px;top:518px} .m750 .eu43 a{left:376px;top:163px} .m750 .eu44 a{left:295px;top:439px} .m750 .eu45 a{left:525px;top:528px} .m750 .eu46 a{left:492px;top:408px} .m750 .eu47 a{left:208px;top:340px} .m750 .eu48 a{left:216px;top:361px} .m750 .eu49 a{left:190px;top:344px}.m750 .eu49 a.tooltip-left .tooltip-arrow{left:190px} .m750 .eu50 a{left:172px;top:336px}.m750 .eu50 a.tooltip-left .tooltip-arrow{left:172px} .m750 .eu51 a{left:194px;top:304px}.m750 .eu51 a.tooltip-left .tooltip-arrow{left:194px} .m750 .eu52 a{left:197px;top:369px}.m750 .eu52 a.tooltip-left .tooltip-arrow{left:197px} + +/* size: 850 */ +.m850{width:850px} .m850 .europe,.m850 .europe .bg,.m850 .europe-cities{background:transparent url('eu-850.png') no-repeat 0 0} .m850 .europe,.m850 .europe-cities{height:690px;width:850px} .m850 .europe-cities{background-position:-900px 0} .m850 .europe .m{margin:9995px 0 0 -7px} .m850 .europe .m span{font-size:54px !important;padding:0 1px 1px 0} +.m850 .eu1.focus .bg,.m850 .eu1.active-region .bg{height:39px;left:431px;top:552px;width:18px}.m850 .eu1.focus .bg{background-position:-1017px -1268px}.m850 .eu1.active-region .bg{background-position:-1017px -1918px} .m850 .eu2.focus .bg,.m850 .eu2.active-region .bg{height:3px;left:259px;top:552px;width:4px}.m850 .eu2.focus .bg{background-position:-491px -1326px}.m850 .eu2.active-region .bg{background-position:-491px -1976px} .m850 .eu3.focus .bg,.m850 .eu3.active-region .bg{height:38px;left:337px;top:464px;width:74px}.m850 .eu3.focus .bg{background-position:-243px -806px}.m850 .eu3.active-region .bg{background-position:-243px -1456px} .m850 .eu4.focus .bg,.m850 .eu4.active-region .bg{height:80px;left:469px;top:350px;width:93px}.m850 .eu4.focus .bg{background-position:-120px -814px}.m850 .eu4.active-region .bg{background-position:-120px -1464px} .m850 .eu5.focus .bg,.m850 .eu5.active-region .bg{height:31px;left:270px;top:427px;width:38px}.m850 .eu5.focus .bg{background-position:-1072px -874px}.m850 .eu5.active-region .bg{background-position:-1072px -1524px} .m850 .eu6.focus .bg,.m850 .eu6.active-region .bg{height:38px;left:397px;top:517px;width:38px}.m850 .eu6.focus .bg{background-position:-184px -739px}.m850 .eu6.active-region .bg{background-position:-184px -1389px} .m850 .eu7.focus .bg,.m850 .eu7.active-region .bg{height:40px;left:461px;top:531px;width:61px}.m850 .eu7.focus .bg{background-position:-616px -739px}.m850 .eu7.active-region .bg{background-position:-616px -1389px} .m850 .eu8.focus .bg,.m850 .eu8.active-region .bg{height:56px;left:376px;top:499px;width:57px}.m850 .eu8.focus .bg{background-position:-316px -882px}.m850 .eu8.active-region .bg{background-position:-316px -1532px} .m850 .eu9.focus .bg,.m850 .eu9.active-region .bg{height:14px;left:556px;top:639px;width:23px}.m850 .eu9.focus .bg{background-position:-1139px -900px}.m850 .eu9.active-region .bg{background-position:-1139px -1550px} .m850 .eu10.focus .bg,.m850 .eu10.active-region .bg{height:38px;left:362px;top:433px;width:65px}.m850 .eu10.focus .bg{background-position:-4px -739px}.m850 .eu10.active-region .bg{background-position:-4px -1389px} .m850 .eu11.focus .bg,.m850 .eu11.active-region .bg{height:145px;left:172px;top:233px;width:220px}.m850 .eu11.focus .bg{background-position:-5px -1179px}.m850 .eu11.active-region .bg{background-position:-5px -1829px} .m850 .eu12.focus .bg,.m850 .eu12.active-region .bg{height:40px;left:456px;top:287px;width:62px}.m850 .eu12.focus .bg{background-position:-842px -740px}.m850 .eu12.active-region .bg{background-position:-842px -1390px} .m850 .eu13.focus .bg,.m850 .eu13.active-region .bg{height:136px;left:196px;top:433px;width:142px}.m850 .eu13.focus .bg{background-position:-542px -833px}.m850 .eu13.active-region .bg{background-position:-542px -1483px} .m850 .eu14.focus .bg,.m850 .eu14.active-region .bg{height:237px;left:433px;top:47px;width:117px}.m850 .eu14.focus .bg{background-position:-414px -1015px}.m850 .eu14.active-region .bg{background-position:-414px -1665px} .m850 .eu15.focus .bg,.m850 .eu15.active-region .bg{height:33px;left:631px;top:540px;width:65px}.m850 .eu15.focus .bg{background-position:-251px -742px}.m850 .eu15.active-region .bg{background-position:-251px -1392px} .m850 .eu16.focus .bg,.m850 .eu16.active-region .bg{height:123px;left:303px;top:367px;width:88px}.m850 .eu16.focus .bg{background-position:-276px -1226px}.m850 .eu16.active-region .bg{background-position:-276px -1876px} .m850 .eu17.focus .bg,.m850 .eu17.active-region .bg{height:86px;left:432px;top:564px;width:86px}.m850 .eu17.focus .bg{background-position:-4px -813px}.m850 .eu17.active-region .bg{background-position:-4px -1463px} .m850 .eu18.focus .bg,.m850 .eu18.active-region .bg{height:41px;left:401px;top:470px;width:65px}.m850 .eu18.focus .bg{background-position:-933px -739px}.m850 .eu18.active-region .bg{background-position:-933px -1389px} .m850 .eu19.focus .bg,.m850 .eu19.active-region .bg{height:73px;left:10px;top:139px;width:107px}.m850 .eu19.focus .bg{background-position:-264px -1123px}.m850 .eu19.active-region .bg{background-position:-264px -1773px} .m850 .eu20.focus .bg,.m850 .eu20.active-region .bg{height:64px;left:145px;top:364px;width:44px}.m850 .eu20.focus .bg{background-position:-543px -739px}.m850 .eu20.active-region .bg{background-position:-543px -1389px} .m850 .eu21.focus .bg,.m850 .eu21.active-region .bg{height:1px;left:367px;top:535px;width:1px}.m850 .eu21.focus .bg{background-position:-639px -1327px}.m850 .eu21.active-region .bg{background-position:-639px -1977px} .m850 .eu22.focus .bg,.m850 .eu22.active-region .bg{height:150px;left:309px;top:492px;width:115px}.m850 .eu22.focus .bg{background-position:-927px -812px}.m850 .eu22.active-region .bg{background-position:-927px -1462px} .m850 .eu23.focus .bg,.m850 .eu23.active-region .bg{height:19px;left:438px;top:544px;width:18px}.m850 .eu23.focus .bg{background-position:-1139px -841px}.m850 .eu23.active-region .bg{background-position:-1139px -1491px} .m850 .eu24.focus .bg,.m850 .eu24.active-region .bg{height:43px;left:447px;top:316px;width:71px}.m850 .eu24.focus .bg{background-position:-1027px -739px}.m850 .eu24.active-region .bg{background-position:-1027px -1389px} .m850 .eu25.focus .bg,.m850 .eu25.active-region .bg{height:4px;left:337px;top:489px;width:2px}.m850 .eu25.focus .bg{background-position:-525px -1325px}.m850 .eu25.active-region .bg{background-position:-525px -1975px} .m850 .eu26.focus .bg,.m850 .eu26.active-region .bg{height:44px;left:447px;top:345px;width:57px}.m850 .eu26.focus .bg{background-position:-99px -739px}.m850 .eu26.active-region .bg{background-position:-99px -1389px} .m850 .eu27.focus .bg,.m850 .eu27.active-region .bg{height:12px;left:301px;top:447px;width:8px}.m850 .eu27.focus .bg{background-position:-414px -1327px}.m850 .eu27.active-region .bg{background-position:-414px -1977px} .m850 .eu28.focus .bg,.m850 .eu28.active-region .bg{height:20px;left:442px;top:556px;width:25px}.m850 .eu28.focus .bg{background-position:-1073px -934px}.m850 .eu28.active-region .bg{background-position:-1073px -1584px} .m850 .eu29.focus .bg,.m850 .eu29.active-region .bg{height:3px;left:383px;top:634px;width:2px}.m850 .eu29.focus .bg{background-position:-597px -1327px}.m850 .eu29.active-region .bg{background-position:-597px -1977px} .m850 .eu30.focus .bg,.m850 .eu30.active-region .bg{height:43px;left:502px;top:472px;width:35px}.m850 .eu30.focus .bg{background-position:-707px -740px}.m850 .eu30.active-region .bg{background-position:-707px -1390px} .m850 .eu31.focus .bg,.m850 .eu31.active-region .bg{height:1px;left:316px;top:538px;width:1px}.m850 .eu31.focus .bg{background-position:-561px -1327px}.m850 .eu31.active-region .bg{background-position:-561px -1977px} .m850 .eu32.focus .bg,.m850 .eu32.active-region .bg{height:22px;left:423px;top:540px;width:19px}.m850 .eu32.focus .bg{background-position:-1140px -789px}.m850 .eu32.active-region .bg{background-position:-1140px -1439px} .m850 .eu33.focus .bg,.m850 .eu33.active-region .bg{height:44px;left:277px;top:394px;width:39px}.m850 .eu33.focus .bg{background-position:-348px -807px}.m850 .eu33.active-region .bg{background-position:-348px -1457px} .m850 .eu34.focus .bg,.m850 .eu34.active-region .bg{height:303px;left:291px;top:16px;width:254px}.m850 .eu34.focus .bg{background-position:-720px -992px}.m850 .eu34.active-region .bg{background-position:-720px -1642px} .m850 .eu35.focus .bg,.m850 .eu35.active-region .bg{height:92px;left:382px;top:373px;width:97px}.m850 .eu35.focus .bg{background-position:-5px -930px}.m850 .eu35.active-region .bg{background-position:-5px -1580px} .m850 .eu36.focus .bg,.m850 .eu36.active-region .bg{height:65px;left:155px;top:559px;width:32px}.m850 .eu36.focus .bg{background-position:-253px -882px}.m850 .eu36.active-region .bg{background-position:-253px -1532px} .m850 .eu37.focus .bg,.m850 .eu37.active-region .bg{height:65px;left:441px;top:475px;width:91px}.m850 .eu37.focus .bg{background-position:-131px -944px}.m850 .eu37.active-region .bg{background-position:-131px -1594px} .m850 .eu38.focus .bg,.m850 .eu38.active-region .bg{height:587px;left:436px;top:-15px;width:419px}.m850 .eu38.focus .bg{background-position:-1203px -740px}.m850 .eu38.active-region .bg{background-position:-1203px -1390px} .m850 .eu39.focus .bg,.m850 .eu39.active-region .bg{height:53px;left:427px;top:504px;width:41px}.m850 .eu39.focus .bg{background-position:-772px -739px}.m850 .eu39.active-region .bg{background-position:-772px -1389px} .m850 .eu40.focus .bg,.m850 .eu40.active-region .bg{height:28px;left:408px;top:455px;width:55px}.m850 .eu40.focus .bg{background-position:-422px -739px}.m850 .eu40.active-region .bg{background-position:-422px -1389px} .m850 .eu41.focus .bg,.m850 .eu41.active-region .bg{height:21px;left:374px;top:495px;width:31px}.m850 .eu41.focus .bg{background-position:-1072px -823px}.m850 .eu41.active-region .bg{background-position:-1072px -1473px} .m850 .eu42.focus .bg,.m850 .eu42.active-region .bg{height:107px;left:157px;top:537px;width:131px}.m850 .eu42.focus .bg{background-position:-252px -977px}.m850 .eu42.active-region .bg{background-position:-252px -1627px} .m850 .eu43.focus .bg,.m850 .eu43.active-region .bg{height:290px;left:351px;top:76px;width:127px}.m850 .eu43.focus .bg{background-position:-561px -999px}.m850 .eu43.active-region .bg{background-position:-561px -1649px} .m850 .eu44.focus .bg,.m850 .eu44.active-region .bg{height:28px;left:303px;top:482px;width:44px}.m850 .eu44.focus .bg{background-position:-347px -742px}.m850 .eu44.active-region .bg{background-position:-347px -1392px} .m850 .eu45.focus .bg,.m850 .eu45.active-region .bg{height:78px;left:493px;top:559px;width:185px}.m850 .eu45.focus .bg{background-position:-5px -1052px}.m850 .eu45.active-region .bg{background-position:-5px -1702px} .m850 .eu46.focus .bg,.m850 .eu46.active-region .bg{height:118px;left:459px;top:413px;width:174px}.m850 .eu46.focus .bg{background-position:-724px -823px}.m850 .eu46.active-region .bg{background-position:-724px -1473px} .m850 .eu47.focus .bg,.m850 .eu47.active-region .bg{height:187px;left:167px;top:264px;width:96px}.m850 .eu47.focus .bg{background-position:-417px -799px}.m850 .eu47.active-region .bg{background-position:-417px -1449px} .m850 .eu48.focus .bg,.m850 .eu48.active-region .bg{height:96px;left:191px;top:355px;width:72px}.m850 .eu48.focus .bg{background-position:-1014px -1143px}.m850 .eu48.active-region .bg{background-position:-1014px -1793px} .m850 .eu49.focus .bg,.m850 .eu49.active-region .bg{height:7px;left:199px;top:380px;width:6px}.m850 .eu49.focus .bg{background-position:-452px -1327px}.m850 .eu49.active-region .bg{background-position:-452px -1977px} .m850 .eu50.focus .bg,.m850 .eu50.active-region .bg{height:21px;left:167px;top:366px;width:27px}.m850 .eu50.focus .bg{background-position:-1133px -739px}.m850 .eu50.active-region .bg{background-position:-1133px -1389px} .m850 .eu51.focus .bg,.m850 .eu51.active-region .bg{height:113px;left:173px;top:264px;width:66px}.m850 .eu51.focus .bg{background-position:-1014px -991px}.m850 .eu51.active-region .bg{background-position:-1014px -1641px} .m850 .eu52.focus .bg,.m850 .eu52.active-region .bg{height:33px;left:194px;top:396px;width:25px}.m850 .eu52.focus .bg{background-position:-1064px -1270px}.m850 .eu52.active-region .bg{background-position:-1064px -1920px} +.m850 .eu1 a{left:449px;top:581px} .m850 .eu2 a{left:272px;top:563px} .m850 .eu3 a{left:398px;top:493px} .m850 .eu4 a{left:525px;top:401px} .m850 .eu5 a{left:300px;top:447px} .m850 .eu6 a{left:427px;top:542px} .m850 .eu7 a{left:497px;top:562px} .m850 .eu8 a{left:416px;top:520px} .m850 .eu9 a{left:575px;top:657px} .m850 .eu10 a{left:403px;top:462px} .m850 .eu11 a{left:344px;top:360px} .m850 .eu12 a{left:501px;top:312px} .m850 .eu13 a{left:282px;top:503px} .m850 .eu14 a{left:515px;top:203px} .m850 .eu15 a{left:677px;top:571px} .m850 .eu16 a{left:357px;top:437px} .m850 .eu17 a{left:466px;top:603px} .m850 .eu18 a{left:443px;top:500px} .m850 .eu19 a{left:83px;top:188px}.m850 .eu19 a.tooltip-left .tooltip-arrow{left:83px} .m850 .eu20 a{left:182px;top:410px} .m850 .eu21 a{left:377px;top:546px} .m850 .eu22 a{left:377px;top:560px} .m850 .eu23 a{left:457px;top:562px} .m850 .eu24 a{left:503px;top:346px} .m850 .eu25 a{left:349px;top:501px} .m850 .eu26 a{left:490px;top:375px} .m850 .eu27 a{left:314px;top:463px} .m850 .eu28 a{left:464px;top:575px} .m850 .eu29 a{left:394px;top:645px} .m850 .eu30 a{left:532px;top:501px} .m850 .eu31 a{left:327px;top:548px} .m850 .eu32 a{left:441px;top:559px} .m850 .eu33 a{left:308px;top:425px} .m850 .eu34 a{left:342px;top:258px} .m850 .eu35 a{left:442px;top:425px} .m850 .eu36 a{left:176px;top:600px}.m850 .eu36 a.tooltip-left .tooltip-arrow{left:176px} .m850 .eu37 a{left:495px;top:516px} .m850 .eu38 a{left:673px;top:315px} .m850 .eu39 a{left:455px;top:541px} .m850 .eu40 a{left:442px;top:478px} .m850 .eu41 a{left:397px;top:515px} .m850 .eu42 a{left:224px;top:594px} .m850 .eu43 a{left:426px;top:185px} .m850 .eu44 a{left:334px;top:503px} .m850 .eu45 a{left:597px;top:605px} .m850 .eu46 a{left:560px;top:467px} .m850 .eu47 a{left:234px;top:389px} .m850 .eu48 a{left:243px;top:413px} .m850 .eu49 a{left:212px;top:394px} .m850 .eu50 a{left:192px;top:384px}.m850 .eu50 a.tooltip-left .tooltip-arrow{left:192px} .m850 .eu51 a{left:217px;top:348px} .m850 .eu52 a{left:221px;top:422px} + +/* size: 960 */ +.m960{width:960px} .m960 .europe,.m960 .europe .bg,.m960 .europe-cities{background:transparent url('eu-960.png') no-repeat 0 0} .m960 .europe,.m960 .europe-cities{height:770px;width:960px} .m960 .europe-cities{background-position:-1000px 0} .m960 .europe .m{margin:9996px 0 0 -1px} .m960 .europe .m span{font-size:60px !important} +.m960 .eu1.focus .bg,.m960 .eu1.active-region .bg{height:43px;left:486px;top:616px;width:20px}.m960 .eu1.focus .bg{background-position:-1172px -1399px}.m960 .eu1.active-region .bg{background-position:-1172px -2099px} .m960 .eu2.focus .bg,.m960 .eu2.active-region .bg{height:4px;left:295px;top:616px;width:4px}.m960 .eu2.focus .bg{background-position:-495px -1457px}.m960 .eu2.active-region .bg{background-position:-495px -2157px} .m960 .eu3.focus .bg,.m960 .eu3.active-region .bg{height:42px;left:382px;top:519px;width:82px}.m960 .eu3.focus .bg{background-position:-264px -889px}.m960 .eu3.active-region .bg{background-position:-264px -1589px} .m960 .eu4.focus .bg,.m960 .eu4.active-region .bg{height:89px;left:528px;top:392px;width:103px}.m960 .eu4.focus .bg{background-position:-130px -900px}.m960 .eu4.active-region .bg{background-position:-130px -1600px} .m960 .eu5.focus .bg,.m960 .eu5.active-region .bg{height:34px;left:307px;top:477px;width:42px}.m960 .eu5.focus .bg{background-position:-1178px -952px}.m960 .eu5.active-region .bg{background-position:-1178px -1652px} .m960 .eu6.focus .bg,.m960 .eu6.active-region .bg{height:43px;left:448px;top:577px;width:42px}.m960 .eu6.focus .bg{background-position:-473px -820px}.m960 .eu6.active-region .bg{background-position:-473px -1520px} .m960 .eu7.focus .bg,.m960 .eu7.active-region .bg{height:44px;left:519px;top:593px;width:67px}.m960 .eu7.focus .bg{background-position:-664px -821px}.m960 .eu7.active-region .bg{background-position:-664px -1521px} .m960 .eu8.focus .bg,.m960 .eu8.active-region .bg{height:62px;left:425px;top:558px;width:63px}.m960 .eu8.focus .bg{background-position:-337px -968px}.m960 .eu8.active-region .bg{background-position:-337px -1668px} .m960 .eu9.focus .bg,.m960 .eu9.active-region .bg{height:15px;left:625px;top:712px;width:25px}.m960 .eu9.focus .bg{background-position:-1215px -1215px}.m960 .eu9.active-region .bg{background-position:-1215px -1915px} .m960 .eu10.focus .bg,.m960 .eu10.active-region .bg{height:42px;left:409px;top:484px;width:73px}.m960 .eu10.focus .bg{background-position:-4px -821px}.m960 .eu10.active-region .bg{background-position:-4px -1521px} .m960 .eu11.focus .bg,.m960 .eu11.active-region .bg{height:161px;left:198px;top:262px;width:245px}.m960 .eu11.focus .bg{background-position:-3px -1284px}.m960 .eu11.active-region .bg{background-position:-3px -1984px} .m960 .eu12.focus .bg,.m960 .eu12.active-region .bg{height:45px;left:513px;top:322px;width:69px}.m960 .eu12.focus .bg{background-position:-903px -822px}.m960 .eu12.active-region .bg{background-position:-903px -1522px} .m960 .eu13.focus .bg,.m960 .eu13.active-region .bg{height:151px;left:225px;top:484px;width:158px}.m960 .eu13.focus .bg{background-position:-585px -922px}.m960 .eu13.active-region .bg{background-position:-585px -1622px} .m960 .eu14.focus .bg,.m960 .eu14.active-region .bg{height:263px;left:488px;top:55px;width:130px}.m960 .eu14.focus .bg{background-position:-457px -1131px}.m960 .eu14.active-region .bg{background-position:-457px -1831px} .m960 .eu15.focus .bg,.m960 .eu15.active-region .bg{height:37px;left:708px;top:603px;width:72px}.m960 .eu15.focus .bg{background-position:-292px -822px}.m960 .eu15.active-region .bg{background-position:-292px -1522px} .m960 .eu16.focus .bg,.m960 .eu16.active-region .bg{height:136px;left:343px;top:411px;width:98px}.m960 .eu16.focus .bg{background-position:-277px -1173px}.m960 .eu16.active-region .bg{background-position:-277px -1873px} .m960 .eu17.focus .bg,.m960 .eu17.active-region .bg{height:96px;left:487px;top:629px;width:95px}.m960 .eu17.focus .bg{background-position:-5px -901px}.m960 .eu17.active-region .bg{background-position:-5px -1601px} .m960 .eu18.focus .bg,.m960 .eu18.active-region .bg{height:45px;left:452px;top:526px;width:73px}.m960 .eu18.focus .bg{background-position:-1001px -822px}.m960 .eu18.active-region .bg{background-position:-1001px -1522px} .m960 .eu19.focus .bg,.m960 .eu19.active-region .bg{height:81px;left:18px;top:158px;width:119px}.m960 .eu19.focus .bg{background-position:-271px -1062px}.m960 .eu19.active-region .bg{background-position:-271px -1762px} .m960 .eu20.focus .bg,.m960 .eu20.active-region .bg{height:71px;left:168px;top:407px;width:48px}.m960 .eu20.focus .bg{background-position:-585px -821px}.m960 .eu20.active-region .bg{background-position:-585px -1521px} .m960 .eu21.focus .bg,.m960 .eu21.active-region .bg{height:1px;left:414px;top:598px;width:2px}.m960 .eu21.focus .bg{background-position:-566px -1458px}.m960 .eu21.active-region .bg{background-position:-566px -2158px} .m960 .eu22.focus .bg,.m960 .eu22.active-region .bg{height:166px;left:351px;top:550px;width:128px}.m960 .eu22.focus .bg{background-position:-1023px -899px}.m960 .eu22.active-region .bg{background-position:-1023px -1599px} .m960 .eu23.focus .bg,.m960 .eu23.active-region .bg{height:21px;left:494px;top:607px;width:20px}.m960 .eu23.focus .bg{background-position:-1218px -1110px}.m960 .eu23.active-region .bg{background-position:-1218px -1810px} .m960 .eu24.focus .bg,.m960 .eu24.active-region .bg{height:47px;left:504px;top:354px;width:78px}.m960 .eu24.focus .bg{background-position:-1103px -821px}.m960 .eu24.active-region .bg{background-position:-1103px -1521px} .m960 .eu25.focus .bg,.m960 .eu25.active-region .bg{height:4px;left:381px;top:546px;width:2px}.m960 .eu25.focus .bg{background-position:-531px -1456px}.m960 .eu25.active-region .bg{background-position:-531px -2156px} .m960 .eu26.focus .bg,.m960 .eu26.active-region .bg{height:49px;left:504px;top:387px;width:63px}.m960 .eu26.focus .bg{background-position:-106px -822px}.m960 .eu26.active-region .bg{background-position:-106px -1522px} .m960 .eu27.focus .bg,.m960 .eu27.active-region .bg{height:13px;left:341px;top:499px;width:9px}.m960 .eu27.focus .bg{background-position:-1216px -1067px}.m960 .eu27.active-region .bg{background-position:-1216px -1767px} .m960 .eu28.focus .bg,.m960 .eu28.active-region .bg{height:22px;left:499px;top:620px;width:28px}.m960 .eu28.focus .bg{background-position:-1180px -1015px}.m960 .eu28.active-region .bg{background-position:-1180px -1715px} .m960 .eu29.focus .bg,.m960 .eu29.active-region .bg{height:3px;left:432px;top:707px;width:3px}.m960 .eu29.focus .bg{background-position:-635px -1458px}.m960 .eu29.active-region .bg{background-position:-635px -2158px} .m960 .eu30.focus .bg,.m960 .eu30.active-region .bg{height:48px;left:565px;top:527px;width:38px}.m960 .eu30.focus .bg{background-position:-762px -822px}.m960 .eu30.active-region .bg{background-position:-762px -1522px} .m960 .eu31.focus .bg,.m960 .eu31.active-region .bg{height:1px;left:358px;top:600px;width:2px}.m960 .eu31.focus .bg{background-position:-601px -1459px}.m960 .eu31.active-region .bg{background-position:-601px -2159px} .m960 .eu32.focus .bg,.m960 .eu32.active-region .bg{height:25px;left:477px;top:603px;width:21px}.m960 .eu32.focus .bg{background-position:-1218px -1161px}.m960 .eu32.active-region .bg{background-position:-1218px -1861px} .m960 .eu33.focus .bg,.m960 .eu33.active-region .bg{height:49px;left:314px;top:441px;width:44px}.m960 .eu33.focus .bg{background-position:-375px -888px}.m960 .eu33.active-region .bg{background-position:-375px -1588px} .m960 .eu34.focus .bg,.m960 .eu34.active-region .bg{height:337px;left:330px;top:20px;width:283px}.m960 .eu34.focus .bg{background-position:-792px -1094px}.m960 .eu34.active-region .bg{background-position:-792px -1794px} .m960 .eu35.focus .bg,.m960 .eu35.active-region .bg{height:102px;left:431px;top:417px;width:108px}.m960 .eu35.focus .bg{background-position:-4px -1026px}.m960 .eu35.active-region .bg{background-position:-4px -1726px} .m960 .eu36.focus .bg,.m960 .eu36.active-region .bg{height:72px;left:179px;top:623px;width:35px}.m960 .eu36.focus .bg{background-position:-270px -959px}.m960 .eu36.active-region .bg{background-position:-270px -1659px} .m960 .eu37.focus .bg,.m960 .eu37.active-region .bg{height:72px;left:497px;top:531px;width:101px}.m960 .eu37.focus .bg{background-position:-139px -1020px}.m960 .eu37.active-region .bg{background-position:-139px -1720px} .m960 .eu38.focus .bg,.m960 .eu38.active-region .bg{height:652px;left:491px;top:-14px;width:465px}.m960 .eu38.focus .bg{background-position:-1269px -822px}.m960 .eu38.active-region .bg{background-position:-1269px -1522px} .m960 .eu39.focus .bg,.m960 .eu39.active-region .bg{height:59px;left:481px;top:563px;width:45px}.m960 .eu39.focus .bg{background-position:-829px -820px}.m960 .eu39.active-region .bg{background-position:-829px -1520px} .m960 .eu40.focus .bg,.m960 .eu40.active-region .bg{height:31px;left:460px;top:509px;width:62px}.m960 .eu40.focus .bg{background-position:-200px -822px}.m960 .eu40.active-region .bg{background-position:-200px -1522px} .m960 .eu41.focus .bg,.m960 .eu41.active-region .bg{height:23px;left:423px;top:553px;width:34px}.m960 .eu41.focus .bg{background-position:-1179px -900px}.m960 .eu41.active-region .bg{background-position:-1179px -1600px} .m960 .eu42.focus .bg,.m960 .eu42.active-region .bg{height:119px;left:181px;top:600px;width:146px}.m960 .eu42.focus .bg{background-position:-278px -1339px}.m960 .eu42.active-region .bg{background-position:-278px -2039px} .m960 .eu43.focus .bg,.m960 .eu43.active-region .bg{height:322px;left:397px;top:87px;width:141px}.m960 .eu43.focus .bg{background-position:-619px -1103px}.m960 .eu43.active-region .bg{background-position:-619px -1803px} .m960 .eu44.focus .bg,.m960 .eu44.active-region .bg{height:31px;left:344px;top:538px;width:49px}.m960 .eu44.focus .bg{background-position:-394px -821px}.m960 .eu44.active-region .bg{background-position:-394px -1521px} .m960 .eu45.focus .bg,.m960 .eu45.active-region .bg{height:87px;left:554px;top:624px;width:205px}.m960 .eu45.focus .bg{background-position:-4px -1157px}.m960 .eu45.active-region .bg{background-position:-4px -1857px} .m960 .eu46.focus .bg,.m960 .eu46.active-region .bg{height:131px;left:517px;top:462px;width:194px}.m960 .eu46.focus .bg{background-position:-790px -910px}.m960 .eu46.active-region .bg{background-position:-790px -1610px} .m960 .eu47.focus .bg,.m960 .eu47.active-region .bg{height:207px;left:192px;top:296px;width:107px}.m960 .eu47.focus .bg{background-position:-448px -891px}.m960 .eu47.active-region .bg{background-position:-448px -1591px} .m960 .eu48.focus .bg,.m960 .eu48.active-region .bg{height:106px;left:219px;top:397px;width:80px}.m960 .eu48.focus .bg{background-position:-1114px -1260px}.m960 .eu48.active-region .bg{background-position:-1114px -1960px} .m960 .eu49.focus .bg,.m960 .eu49.active-region .bg{height:8px;left:228px;top:425px;width:7px}.m960 .eu49.focus .bg{background-position:-457px -1457px}.m960 .eu49.active-region .bg{background-position:-457px -2157px} .m960 .eu50.focus .bg,.m960 .eu50.active-region .bg{height:23px;left:192px;top:410px;width:30px}.m960 .eu50.focus .bg{background-position:-1211px -846px}.m960 .eu50.active-region .bg{background-position:-1211px -1546px} .m960 .eu51.focus .bg,.m960 .eu51.active-region .bg{height:125px;left:199px;top:296px;width:73px}.m960 .eu51.focus .bg{background-position:-1114px -1106px}.m960 .eu51.active-region .bg{background-position:-1114px -1806px} .m960 .eu52.focus .bg,.m960 .eu52.active-region .bg{height:36px;left:223px;top:443px;width:28px}.m960 .eu52.focus .bg{background-position:-1114px -1406px}.m960 .eu52.active-region .bg{background-position:-1114px -2106px} +.m960 .eu1 a{left:504px;top:647px} .m960 .eu2 a{left:307px;top:627px} .m960 .eu3 a{left:448px;top:550px} .m960 .eu4 a{left:590px;top:447px} .m960 .eu5 a{left:340px;top:499px} .m960 .eu6 a{left:481px;top:604px} .m960 .eu7 a{left:559px;top:626px} .m960 .eu8 a{left:468px;top:580px} .m960 .eu9 a{left:645px;top:731px} .m960 .eu10 a{left:454px;top:515px} .m960 .eu11 a{left:389px;top:402px} .m960 .eu12 a{left:563px;top:349px} .m960 .eu13 a{left:320px;top:561px} .m960 .eu14 a{left:579px;top:227px} .m960 .eu15 a{left:758px;top:636px} .m960 .eu16 a{left:403px;top:488px} .m960 .eu17 a{left:524px;top:672px} .m960 .eu18 a{left:499px;top:558px} .m960 .eu19 a{left:98px;top:211px}.m960 .eu19 a.tooltip-left .tooltip-arrow{left:98px} .m960 .eu20 a{left:208px;top:458px}.m960 .eu20 a.tooltip-left .tooltip-arrow{left:208px} .m960 .eu21 a{left:425px;top:608px} .m960 .eu22 a{left:425px;top:624px} .m960 .eu23 a{left:514px;top:627px} .m960 .eu24 a{left:565px;top:387px} .m960 .eu25 a{left:393px;top:559px} .m960 .eu26 a{left:550px;top:419px} .m960 .eu27 a{left:355px;top:516px} .m960 .eu28 a{left:522px;top:641px} .m960 .eu29 a{left:443px;top:719px} .m960 .eu30 a{left:597px;top:559px} .m960 .eu31 a{left:369px;top:610px} .m960 .eu32 a{left:496px;top:623px} .m960 .eu33 a{left:349px;top:474px} .m960 .eu34 a{left:386px;top:289px} .m960 .eu35 a{left:497px;top:475px} .m960 .eu36 a{left:202px;top:669px}.m960 .eu36 a.tooltip-left .tooltip-arrow{left:202px} .m960 .eu37 a{left:556px;top:576px} .m960 .eu38 a{left:754px;top:352px} .m960 .eu39 a{left:512px;top:603px} .m960 .eu40 a{left:497px;top:533px} .m960 .eu41 a{left:447px;top:575px} .m960 .eu42 a{left:255px;top:662px} .m960 .eu43 a{left:480px;top:208px} .m960 .eu44 a{left:377px;top:561px} .m960 .eu45 a{left:670px;top:675px} .m960 .eu46 a{left:628px;top:521px} .m960 .eu47 a{left:266px;top:434px} .m960 .eu48 a{left:276px;top:461px} .m960 .eu49 a{left:242px;top:439px} .m960 .eu50 a{left:220px;top:429px} .m960 .eu51 a{left:247px;top:388px} .m960 .eu52 a{left:251px;top:471px} + +/* size: 1280 */ +.m1280{width:1280px} .m1280 .europe,.m1280 .europe .bg,.m1280 .europe-cities{background:transparent url('eu-1280.png') no-repeat 0 0} .m1280 .europe,.m1280 .europe-cities{height:1040px;width:1280px} .m1280 .europe-cities{background-position:-1300px 0} .m1280 .europe .m{margin:9996px 0 0 0} .m1280 .europe .m span{font-size:80px !important} .m1280 .europe .bg{padding:15px} +.m1280 .eu1.focus .bg,.m1280 .eu1.active-region .bg{height:57px;left:649px;top:821px;width:26px}.m1280 .eu1.focus .bg{background-position:-1480px -1852px}.m1280 .eu1.active-region .bg{background-position:-1480px -2772px} .m1280 .eu2.focus .bg,.m1280 .eu2.active-region .bg{height:5px;left:394px;top:821px;width:5px}.m1280 .eu2.focus .bg{background-position:-743px -1947px}.m1280 .eu2.active-region .bg{background-position:-743px -2867px} .m1280 .eu3.focus .bg,.m1280 .eu3.active-region .bg{height:56px;left:510px;top:691px;width:110px}.m1280 .eu3.focus .bg{background-position:-350px -1196px}.m1280 .eu3.active-region .bg{background-position:-350px -2116px} .m1280 .eu4.focus .bg,.m1280 .eu4.active-region .bg{height:119px;left:705px;top:523px;width:137px}.m1280 .eu4.focus .bg{background-position:-171px -1204px}.m1280 .eu4.active-region .bg{background-position:-171px -2124px} .m1280 .eu5.focus .bg,.m1280 .eu5.active-region .bg{height:45px;left:410px;top:636px;width:55px}.m1280 .eu5.focus .bg{background-position:-1544px -1276px}.m1280 .eu5.active-region .bg{background-position:-1544px -2196px} .m1280 .eu6.focus .bg,.m1280 .eu6.active-region .bg{height:57px;left:598px;top:770px;width:56px}.m1280 .eu6.focus .bg{background-position:-263px -1100px}.m1280 .eu6.active-region .bg{background-position:-263px -2020px} .m1280 .eu7.focus .bg,.m1280 .eu7.active-region .bg{height:58px;left:693px;top:791px;width:90px}.m1280 .eu7.focus .bg{background-position:-882px -1099px}.m1280 .eu7.active-region .bg{background-position:-882px -2019px} .m1280 .eu8.focus .bg,.m1280 .eu8.active-region .bg{height:82px;left:567px;top:743px;width:84px}.m1280 .eu8.focus .bg{background-position:-451px -1292px}.m1280 .eu8.active-region .bg{background-position:-451px -2212px} .m1280 .eu9.focus .bg,.m1280 .eu9.active-region .bg{height:20px;left:835px;top:950px;width:33px}.m1280 .eu9.focus .bg{background-position:-1630px -1362px}.m1280 .eu9.active-region .bg{background-position:-1630px -2282px} .m1280 .eu10.focus .bg,.m1280 .eu10.active-region .bg{height:56px;left:547px;top:646px;width:97px}.m1280 .eu10.focus .bg{background-position:-5px -1099px}.m1280 .eu10.active-region .bg{background-position:-5px -2019px} .m1280 .eu11.focus .bg,.m1280 .eu11.active-region .bg{height:215px;left:265px;top:349px;width:326px}.m1280 .eu11.focus .bg{background-position:-5px -1714px}.m1280 .eu11.active-region .bg{background-position:-5px -2634px} .m1280 .eu12.focus .bg,.m1280 .eu12.active-region .bg{height:59px;left:685px;top:429px;width:91px}.m1280 .eu12.focus .bg{background-position:-1201px -1099px}.m1280 .eu12.active-region .bg{background-position:-1201px -2019px} .m1280 .eu13.focus .bg,.m1280 .eu13.active-region .bg{height:202px;left:301px;top:645px;width:210px}.m1280 .eu13.focus .bg{background-position:-777px -1233px}.m1280 .eu13.active-region .bg{background-position:-777px -2153px} .m1280 .eu14.focus .bg,.m1280 .eu14.active-region .bg{height:351px;left:652px;top:74px;width:173px}.m1280 .eu14.focus .bg{background-position:-607px -1495px}.m1280 .eu14.active-region .bg{background-position:-607px -2415px} .m1280 .eu15.focus .bg,.m1280 .eu15.active-region .bg{height:49px;left:945px;top:803px;width:96px}.m1280 .eu15.focus .bg{background-position:-360px -1098px}.m1280 .eu15.active-region .bg{background-position:-360px -2018px} .m1280 .eu16.focus .bg,.m1280 .eu16.active-region .bg{height:181px;left:459px;top:547px;width:131px}.m1280 .eu16.focus .bg{background-position:-381px -1575px}.m1280 .eu16.active-region .bg{background-position:-381px -2495px} .m1280 .eu17.focus .bg,.m1280 .eu17.active-region .bg{height:127px;left:650px;top:839px;width:127px}.m1280 .eu17.focus .bg{background-position:-4px -1203px}.m1280 .eu17.active-region .bg{background-position:-4px -2123px} .m1280 .eu18.focus .bg,.m1280 .eu18.active-region .bg{height:60px;left:604px;top:701px;width:97px}.m1280 .eu18.focus .bg{background-position:-1331px -1100px}.m1280 .eu18.active-region .bg{background-position:-1331px -2020px} .m1280 .eu19.focus .bg,.m1280 .eu19.active-region .bg{height:107px;left:24px;top:210px;width:158px}.m1280 .eu19.focus .bg{background-position:-371px -1427px}.m1280 .eu19.active-region .bg{background-position:-371px -2347px} .m1280 .eu20.focus .bg,.m1280 .eu20.active-region .bg{height:94px;left:225px;top:543px;width:64px}.m1280 .eu20.focus .bg{background-position:-778px -1099px}.m1280 .eu20.active-region .bg{background-position:-778px -2019px} .m1280 .eu21.focus .bg,.m1280 .eu21.active-region .bg{height:2px;left:553px;top:797px;width:2px}.m1280 .eu21.focus .bg{background-position:-921px -1950px}.m1280 .eu21.active-region .bg{background-position:-921px -2870px} .m1280 .eu22.focus .bg,.m1280 .eu22.active-region .bg{height:221px;left:469px;top:733px;width:170px}.m1280 .eu22.focus .bg{background-position:-1325px -1202px}.m1280 .eu22.active-region .bg{background-position:-1325px -2122px} .m1280 .eu23.focus .bg,.m1280 .eu23.active-region .bg{height:28px;left:660px;top:810px;width:26px}.m1280 .eu23.focus .bg{background-position:-1640px -1263px}.m1280 .eu23.active-region .bg{background-position:-1640px -2183px} .m1280 .eu24.focus .bg,.m1280 .eu24.active-region .bg{height:63px;left:673px;top:472px;width:104px}.m1280 .eu24.focus .bg{background-position:-1466px -1099px}.m1280 .eu24.active-region .bg{background-position:-1466px -2019px} .m1280 .eu25.focus .bg,.m1280 .eu25.active-region .bg{height:5px;left:509px;top:728px;width:3px}.m1280 .eu25.focus .bg{background-position:-788px -1947px}.m1280 .eu25.active-region .bg{background-position:-788px -2867px} .m1280 .eu26.focus .bg,.m1280 .eu26.active-region .bg{height:65px;left:673px;top:515px;width:84px}.m1280 .eu26.focus .bg{background-position:-140px -1098px}.m1280 .eu26.active-region .bg{background-position:-140px -2018px} .m1280 .eu27.focus .bg,.m1280 .eu27.active-region .bg{height:17px;left:456px;top:665px;width:11px}.m1280 .eu27.focus .bg{background-position:-644px -1947px}.m1280 .eu27.active-region .bg{background-position:-644px -2867px} .m1280 .eu28.focus .bg,.m1280 .eu28.active-region .bg{height:29px;left:666px;top:827px;width:37px}.m1280 .eu28.focus .bg{background-position:-1545px -1362px}.m1280 .eu28.active-region .bg{background-position:-1545px -2282px} .m1280 .eu29.focus .bg,.m1280 .eu29.active-region .bg{height:4px;left:577px;top:943px;width:3px}.m1280 .eu29.focus .bg{background-position:-830px -1948px}.m1280 .eu29.active-region .bg{background-position:-830px -2868px} .m1280 .eu30.focus .bg,.m1280 .eu30.active-region .bg{height:64px;left:754px;top:702px;width:51px}.m1280 .eu30.focus .bg{background-position:-1012px -1098px}.m1280 .eu30.active-region .bg{background-position:-1012px -2018px} .m1280 .eu31.focus .bg,.m1280 .eu31.active-region .bg{height:2px;left:478px;top:800px;width:2px}.m1280 .eu31.focus .bg{background-position:-873px -1949px}.m1280 .eu31.active-region .bg{background-position:-873px -2869px} .m1280 .eu32.focus .bg,.m1280 .eu32.active-region .bg{height:33px;left:637px;top:804px;width:28px}.m1280 .eu32.focus .bg{background-position:-1628px -1180px}.m1280 .eu32.active-region .bg{background-position:-1628px -2100px} .m1280 .eu33.focus .bg,.m1280 .eu33.active-region .bg{height:66px;left:420px;top:588px;width:58px}.m1280 .eu33.focus .bg{background-position:-499px -1180px}.m1280 .eu33.active-region .bg{background-position:-499px -2100px} .m1280 .eu34.focus .bg,.m1280 .eu34.active-region .bg{height:449px;left:441px;top:27px;width:377px}.m1280 .eu34.focus .bg{background-position:-1057px -1463px}.m1280 .eu34.active-region .bg{background-position:-1057px -2383px} .m1280 .eu35.focus .bg,.m1280 .eu35.active-region .bg{height:135px;left:576px;top:556px;width:143px}.m1280 .eu35.focus .bg{background-position:-5px -1373px}.m1280 .eu35.active-region .bg{background-position:-5px -2293px} .m1280 .eu36.focus .bg,.m1280 .eu36.active-region .bg{height:96px;left:239px;top:831px;width:47px}.m1280 .eu36.focus .bg{background-position:-361px -1292px}.m1280 .eu36.active-region .bg{background-position:-361px -2212px} .m1280 .eu37.focus .bg,.m1280 .eu37.active-region .bg{height:96px;left:663px;top:708px;width:135px}.m1280 .eu37.focus .bg{background-position:-187px -1372px}.m1280 .eu37.active-region .bg{background-position:-187px -2292px} .m1280 .eu38.focus .bg,.m1280 .eu38.active-region .bg{height:869px;left:656px;top:-19px;width:620px}.m1280 .eu38.focus .bg{background-position:-1705px -1100px}.m1280 .eu38.active-region .bg{background-position:-1705px -2020px} .m1280 .eu39.focus .bg,.m1280 .eu39.active-region .bg{height:79px;left:643px;top:751px;width:60px}.m1280 .eu39.focus .bg{background-position:-1102px -1098px}.m1280 .eu39.active-region .bg{background-position:-1102px -2018px} .m1280 .eu40.focus .bg,.m1280 .eu40.active-region .bg{height:41px;left:614px;top:678px;width:82px}.m1280 .eu40.focus .bg{background-position:-601px -1098px}.m1280 .eu40.active-region .bg{background-position:-601px -2018px} .m1280 .eu41.focus .bg,.m1280 .eu41.active-region .bg{height:30px;left:565px;top:737px;width:45px}.m1280 .eu41.focus .bg{background-position:-1544px -1206px}.m1280 .eu41.active-region .bg{background-position:-1544px -2126px} .m1280 .eu42.focus .bg,.m1280 .eu42.active-region .bg{height:159px;left:242px;top:799px;width:194px}.m1280 .eu42.focus .bg{background-position:-371px -1796px}.m1280 .eu42.active-region .bg{background-position:-371px -2716px} .m1280 .eu43.focus .bg,.m1280 .eu43.active-region .bg{height:429px;left:531px;top:116px;width:188px}.m1280 .eu43.focus .bg{background-position:-827px -1479px}.m1280 .eu43.active-region .bg{background-position:-827px -2399px} .m1280 .eu44.focus .bg,.m1280 .eu44.active-region .bg{height:42px;left:459px;top:717px;width:65px}.m1280 .eu44.focus .bg{background-position:-495px -1098px}.m1280 .eu44.active-region .bg{background-position:-495px -2018px} .m1280 .eu45.focus .bg,.m1280 .eu45.active-region .bg{height:116px;left:740px;top:832px;width:273px}.m1280 .eu45.focus .bg{background-position:-4px -1548px}.m1280 .eu45.active-region .bg{background-position:-4px -2468px} .m1280 .eu46.focus .bg,.m1280 .eu46.active-region .bg{height:174px;left:690px;top:616px;width:258px}.m1280 .eu46.focus .bg{background-position:-1027px -1217px}.m1280 .eu46.active-region .bg{background-position:-1027px -2137px} .m1280 .eu47.focus .bg,.m1280 .eu47.active-region .bg{height:276px;left:257px;top:395px;width:143px}.m1280 .eu47.focus .bg{background-position:-594px -1179px}.m1280 .eu47.active-region .bg{background-position:-594px -2099px} .m1280 .eu48.focus .bg,.m1280 .eu48.active-region .bg{height:142px;left:293px;top:530px;width:107px}.m1280 .eu48.focus .bg{background-position:-1480px -1672px}.m1280 .eu48.active-region .bg{background-position:-1480px -2592px} .m1280 .eu49.focus .bg,.m1280 .eu49.active-region .bg{height:10px;left:305px;top:566px;width:9px}.m1280 .eu49.focus .bg{background-position:-694px -1947px}.m1280 .eu49.active-region .bg{background-position:-694px -2867px} .m1280 .eu50.focus .bg,.m1280 .eu50.active-region .bg{height:31px;left:257px;top:546px;width:40px}.m1280 .eu50.focus .bg{background-position:-1615px -1099px}.m1280 .eu50.active-region .bg{background-position:-1615px -2019px} .m1280 .eu51.focus .bg,.m1280 .eu51.active-region .bg{height:167px;left:266px;top:395px;width:97px}.m1280 .eu51.focus .bg{background-position:-1483px -1465px}.m1280 .eu51.active-region .bg{background-position:-1483px -2385px} .m1280 .eu52.focus .bg,.m1280 .eu52.active-region .bg{height:48px;left:298px;top:590px;width:37px}.m1280 .eu52.focus .bg{background-position:-1549px -1862px}.m1280 .eu52.active-region .bg{background-position:-1549px -2782px} +.m1280 .eu1 a{left:675px;top:865px} .m1280 .eu2 a{left:411px;top:838px} .m1280 .eu3 a{left:599px;top:735px} .m1280 .eu4 a{left:789px;top:597px} .m1280 .eu5 a{left:455px;top:667px} .m1280 .eu6 a{left:643px;top:807px} .m1280 .eu7 a{left:747px;top:836px} .m1280 .eu8 a{left:626px;top:775px} .m1280 .eu9 a{left:862px;top:976px} .m1280 .eu10 a{left:607px;top:688px} .m1280 .eu11 a{left:521px;top:537px} .m1280 .eu12 a{left:753px;top:467px} .m1280 .eu13 a{left:429px;top:749px} .m1280 .eu14 a{left:774px;top:304px} .m1280 .eu15 a{left:1013px;top:849px} .m1280 .eu16 a{left:539px;top:652px} .m1280 .eu17 a{left:701px;top:897px} .m1280 .eu18 a{left:667px;top:745px} .m1280 .eu19 a{left:133px;top:283px}.m1280 .eu19 a.tooltip-left .tooltip-arrow{left:133px} .m1280 .eu20 a{left:279px;top:612px} .m1280 .eu21 a{left:569px;top:812px} .m1280 .eu22 a{left:569px;top:833px} .m1280 .eu23 a{left:687px;top:837px} .m1280 .eu24 a{left:756px;top:517px} .m1280 .eu25 a{left:525px;top:746px} .m1280 .eu26 a{left:736px;top:560px} .m1280 .eu27 a{left:476px;top:689px} .m1280 .eu28 a{left:698px;top:856px} .m1280 .eu29 a{left:593px;top:960px} .m1280 .eu30 a{left:798px;top:747px} .m1280 .eu31 a{left:494px;top:815px} .m1280 .eu32 a{left:663px;top:832px} .m1280 .eu33 a{left:467px;top:633px} .m1280 .eu34 a{left:517px;top:386px} .m1280 .eu35 a{left:665px;top:634px} .m1280 .eu36 a{left:271px;top:893px} .m1280 .eu37 a{left:743px;top:769px} .m1280 .eu38 a{left:1007px;top:470px} .m1280 .eu39 a{left:685px;top:805px} .m1280 .eu40 a{left:665px;top:712px} .m1280 .eu41 a{left:598px;top:768px} .m1280 .eu42 a{left:342px;top:884px} .m1280 .eu43 a{left:642px;top:278px} .m1280 .eu44 a{left:505px;top:749px} .m1280 .eu45 a{left:895px;top:901px} .m1280 .eu46 a{left:839px;top:696px} .m1280 .eu47 a{left:357px;top:580px} .m1280 .eu48 a{left:370px;top:616px} .m1280 .eu49 a{left:325px;top:586px} .m1280 .eu50 a{left:295px;top:573px} .m1280 .eu51 a{left:331px;top:519px} .m1280 .eu52 a{left:337px;top:629px} + +/* size: 1450 */ +.m1450{width:1450px} .m1450 .europe,.m1450 .europe .bg,.m1450 .europe-cities{background:transparent url('eu-1450.png') no-repeat 0 0} .m1450 .europe,.m1450 .europe-cities{height:1160px;width:1450px} .m1450 .europe-cities{background-position:-1500px 0} .m1450 .europe .m{margin:9998px 0 0 6px} .m1450 .europe .m span{font-size:90px !important} .m1450 .europe .bg{padding:15px} +.m1450 .eu1.focus .bg,.m1450 .eu1.active-region .bg{height:64px;left:737px;top:928px;width:29px}.m1450 .eu1.focus .bg{background-position:-1713px -2065px}.m1450 .eu1.active-region .bg{background-position:-1713px -3095px} .m1450 .eu2.focus .bg,.m1450 .eu2.active-region .bg{height:5px;left:450px;top:928px;width:6px}.m1450 .eu2.focus .bg{background-position:-777px -2163px}.m1450 .eu2.active-region .bg{background-position:-777px -3193px} .m1450 .eu3.focus .bg,.m1450 .eu3.active-region .bg{height:63px;left:580px;top:781px;width:123px}.m1450 .eu3.focus .bg{background-position:-385px -1323px}.m1450 .eu3.active-region .bg{background-position:-385px -2353px} .m1450 .eu4.focus .bg,.m1450 .eu4.active-region .bg{height:134px;left:800px;top:591px;width:154px}.m1450 .eu4.focus .bg{background-position:-189px -1340px}.m1450 .eu4.active-region .bg{background-position:-189px -2370px} .m1450 .eu5.focus .bg,.m1450 .eu5.active-region .bg{height:51px;left:469px;top:718px;width:62px}.m1450 .eu5.focus .bg{background-position:-1763px -1227px}.m1450 .eu5.active-region .bg{background-position:-1763px -2257px} .m1450 .eu6.focus .bg,.m1450 .eu6.active-region .bg{height:64px;left:680px;top:869px;width:63px}.m1450 .eu6.focus .bg{background-position:-681px -1228px}.m1450 .eu6.active-region .bg{background-position:-681px -2258px} .m1450 .eu7.focus .bg,.m1450 .eu7.active-region .bg{height:66px;left:786px;top:893px;width:101px}.m1450 .eu7.focus .bg{background-position:-969px -1228px}.m1450 .eu7.active-region .bg{background-position:-969px -2258px} .m1450 .eu8.focus .bg,.m1450 .eu8.active-region .bg{height:92px;left:645px;top:840px;width:95px}.m1450 .eu8.focus .bg{background-position:-490px -1439px}.m1450 .eu8.active-region .bg{background-position:-490px -2469px} .m1450 .eu9.focus .bg,.m1450 .eu9.active-region .bg{height:23px;left:946px;top:1072px;width:37px}.m1450 .eu9.focus .bg{background-position:-1781px -1564px}.m1450 .eu9.active-region .bg{background-position:-1781px -2594px} .m1450 .eu10.focus .bg,.m1450 .eu10.active-region .bg{height:63px;left:622px;top:730px;width:109px}.m1450 .eu10.focus .bg{background-position:-5px -1228px}.m1450 .eu10.active-region .bg{background-position:-5px -2258px} .m1450 .eu11.focus .bg,.m1450 .eu11.active-region .bg{height:242px;left:305px;top:396px;width:367px}.m1450 .eu11.focus .bg{background-position:-5px -1886px}.m1450 .eu11.active-region .bg{background-position:-5px -2916px} .m1450 .eu12.focus .bg,.m1450 .eu12.active-region .bg{height:67px;left:778px;top:486px;width:103px}.m1450 .eu12.focus .bg{background-position:-1317px -1228px}.m1450 .eu12.active-region .bg{background-position:-1317px -2258px} .m1450 .eu13.focus .bg,.m1450 .eu13.active-region .bg{height:227px;left:345px;top:729px;width:236px}.m1450 .eu13.focus .bg{background-position:-857px -1375px}.m1450 .eu13.active-region .bg{background-position:-857px -2405px} .m1450 .eu14.focus .bg,.m1450 .eu14.active-region .bg{height:395px;left:740px;top:86px;width:195px}.m1450 .eu14.focus .bg{background-position:-674px -1684px}.m1450 .eu14.active-region .bg{background-position:-674px -2714px} .m1450 .eu15.focus .bg,.m1450 .eu15.active-region .bg{height:55px;left:1069px;top:907px;width:108px}.m1450 .eu15.focus .bg{background-position:-418px -1228px}.m1450 .eu15.active-region .bg{background-position:-418px -2258px} .m1450 .eu16.focus .bg,.m1450 .eu16.active-region .bg{height:204px;left:523px;top:619px;width:147px}.m1450 .eu16.focus .bg{background-position:-411px -1746px}.m1450 .eu16.active-region .bg{background-position:-411px -2776px} .m1450 .eu17.focus .bg,.m1450 .eu17.active-region .bg{height:143px;left:738px;top:947px;width:143px}.m1450 .eu17.focus .bg{background-position:-4px -1341px}.m1450 .eu17.active-region .bg{background-position:-4px -2371px} .m1450 .eu18.focus .bg,.m1450 .eu18.active-region .bg{height:68px;left:686px;top:792px;width:109px}.m1450 .eu18.focus .bg{background-position:-1458px -1229px}.m1450 .eu18.active-region .bg{background-position:-1458px -2259px} .m1450 .eu19.focus .bg,.m1450 .eu19.active-region .bg{height:121px;left:34px;top:240px;width:178px}.m1450 .eu19.focus .bg{background-position:-397px -1586px}.m1450 .eu19.active-region .bg{background-position:-397px -2616px} .m1450 .eu20.focus .bg,.m1450 .eu20.active-region .bg{height:106px;left:260px;top:614px;width:72px}.m1450 .eu20.focus .bg{background-position:-857px -1227px}.m1450 .eu20.active-region .bg{background-position:-857px -2257px} .m1450 .eu21.focus .bg,.m1450 .eu21.active-region .bg{height:2px;left:629px;top:900px;width:2px}.m1450 .eu21.focus .bg{background-position:-914px -2165px}.m1450 .eu21.active-region .bg{background-position:-914px -3195px} .m1450 .eu22.focus .bg,.m1450 .eu22.active-region .bg{height:249px;left:534px;top:827px;width:191px}.m1450 .eu22.focus .bg{background-position:-1473px -1339px}.m1450 .eu22.active-region .bg{background-position:-1473px -2369px} .m1450 .eu23.focus .bg,.m1450 .eu23.active-region .bg{height:31px;left:749px;top:914px;width:29px}.m1450 .eu23.focus .bg{background-position:-1804px -1414px}.m1450 .eu23.active-region .bg{background-position:-1804px -2444px} .m1450 .eu24.focus .bg,.m1450 .eu24.active-region .bg{height:71px;left:764px;top:535px;width:117px}.m1450 .eu24.focus .bg{background-position:-1606px -1229px}.m1450 .eu24.active-region .bg{background-position:-1606px -2259px} .m1450 .eu25.focus .bg,.m1450 .eu25.active-region .bg{height:6px;left:580px;top:823px;width:3px}.m1450 .eu25.focus .bg{background-position:-824px -2163px}.m1450 .eu25.active-region .bg{background-position:-824px -3193px} .m1450 .eu26.focus .bg,.m1450 .eu26.active-region .bg{height:73px;left:764px;top:583px;width:94px}.m1450 .eu26.focus .bg{background-position:-153px -1228px}.m1450 .eu26.active-region .bg{background-position:-153px -2258px} .m1450 .eu27.focus .bg,.m1450 .eu27.active-region .bg{height:18px;left:520px;top:752px;width:13px}.m1450 .eu27.focus .bg{background-position:-674px -2161px}.m1450 .eu27.active-region .bg{background-position:-674px -3191px} .m1450 .eu28.focus .bg,.m1450 .eu28.active-region .bg{height:33px;left:756px;top:934px;width:42px}.m1450 .eu28.focus .bg{background-position:-1716px -1489px}.m1450 .eu28.active-region .bg{background-position:-1716px -2519px} .m1450 .eu29.focus .bg,.m1450 .eu29.active-region .bg{height:5px;left:656px;top:1064px;width:4px}.m1450 .eu29.focus .bg{background-position:-868px -2163px}.m1450 .eu29.active-region .bg{background-position:-868px -3193px} .m1450 .eu30.focus .bg,.m1450 .eu30.active-region .bg{height:72px;left:854px;top:794px;width:57px}.m1450 .eu30.focus .bg{background-position:-1110px -1229px}.m1450 .eu30.active-region .bg{background-position:-1110px -2259px} .m1450 .eu31.focus .bg,.m1450 .eu31.active-region .bg{height:2px;left:545px;top:903px;width:2px}.m1450 .eu31.focus .bg{background-position:-964px -2164px}.m1450 .eu31.active-region .bg{background-position:-964px -3194px} .m1450 .eu32.focus .bg,.m1450 .eu32.active-region .bg{height:37px;left:724px;top:908px;width:31px}.m1450 .eu32.focus .bg{background-position:-1799px -1328px}.m1450 .eu32.active-region .bg{background-position:-1799px -2358px} .m1450 .eu33.focus .bg,.m1450 .eu33.active-region .bg{height:74px;left:479px;top:664px;width:65px}.m1450 .eu33.focus .bg{background-position:-551px -1325px}.m1450 .eu33.active-region .bg{background-position:-551px -2355px} .m1450 .eu34.focus .bg,.m1450 .eu34.active-region .bg{height:505px;left:502px;top:33px;width:424px}.m1450 .eu34.focus .bg{background-position:-1158px -1628px}.m1450 .eu34.active-region .bg{background-position:-1158px -2658px} .m1450 .eu35.focus .bg,.m1450 .eu35.active-region .bg{height:152px;left:654px;top:629px;width:161px}.m1450 .eu35.focus .bg{background-position:-4px -1524px}.m1450 .eu35.active-region .bg{background-position:-4px -2554px} .m1450 .eu36.focus .bg,.m1450 .eu36.active-region .bg{height:108px;left:276px;top:938px;width:53px}.m1450 .eu36.focus .bg{background-position:-397px -1438px}.m1450 .eu36.active-region .bg{background-position:-397px -2468px} .m1450 .eu37.focus .bg,.m1450 .eu37.active-region .bg{height:107px;left:753px;top:799px;width:151px}.m1450 .eu37.focus .bg{background-position:-205px -1523px}.m1450 .eu37.active-region .bg{background-position:-205px -2553px} .m1450 .eu38.focus .bg,.m1450 .eu38.active-region .bg{height:978px;left:745px;top:-18px;width:697px}.m1450 .eu38.focus .bg{background-position:-1883px -1229px}.m1450 .eu38.active-region .bg{background-position:-1883px -2259px} .m1450 .eu39.focus .bg,.m1450 .eu39.active-region .bg{height:89px;left:730px;top:848px;width:67px}.m1450 .eu39.focus .bg{background-position:-1207px -1227px}.m1450 .eu39.active-region .bg{background-position:-1207px -2257px} .m1450 .eu40.focus .bg,.m1450 .eu40.active-region .bg{height:46px;left:698px;top:766px;width:92px}.m1450 .eu40.focus .bg{background-position:-287px -1228px}.m1450 .eu40.active-region .bg{background-position:-287px -2258px} .m1450 .eu41.focus .bg,.m1450 .eu41.active-region .bg{height:34px;left:642px;top:832px;width:51px}.m1450 .eu41.focus .bg{background-position:-1714px -1415px}.m1450 .eu41.active-region .bg{background-position:-1714px -2445px} .m1450 .eu42.focus .bg,.m1450 .eu42.active-region .bg{height:178px;left:279px;top:903px;width:218px}.m1450 .eu42.focus .bg{background-position:-415px -1990px}.m1450 .eu42.active-region .bg{background-position:-415px -3020px} .m1450 .eu43.focus .bg,.m1450 .eu43.active-region .bg{height:482px;left:604px;top:134px;width:212px}.m1450 .eu43.focus .bg{background-position:-908px -1640px}.m1450 .eu43.active-region .bg{background-position:-908px -2670px} .m1450 .eu44.focus .bg,.m1450 .eu44.active-region .bg{height:47px;left:523px;top:810px;width:73px}.m1450 .eu44.focus .bg{background-position:-567px -1227px}.m1450 .eu44.active-region .bg{background-position:-567px -2257px} .m1450 .eu45.focus .bg,.m1450 .eu45.active-region .bg{height:130px;left:839px;top:940px;width:307px}.m1450 .eu45.focus .bg{background-position:-4px -1716px}.m1450 .eu45.active-region .bg{background-position:-4px -2746px} .m1450 .eu46.focus .bg,.m1450 .eu46.active-region .bg{height:196px;left:783px;top:696px;width:290px}.m1450 .eu46.focus .bg{background-position:-1133px -1366px}.m1450 .eu46.active-region .bg{background-position:-1133px -2396px} .m1450 .eu47.focus .bg,.m1450 .eu47.active-region .bg{height:311px;left:296px;top:448px;width:160px}.m1450 .eu47.focus .bg{background-position:-657px -1334px}.m1450 .eu47.active-region .bg{background-position:-657px -2364px} .m1450 .eu48.focus .bg,.m1450 .eu48.active-region .bg{height:159px;left:336px;top:599px;width:120px}.m1450 .eu48.focus .bg{background-position:-1621px -1855px}.m1450 .eu48.active-region .bg{background-position:-1621px -2885px} .m1450 .eu49.focus .bg,.m1450 .eu49.active-region .bg{height:11px;left:350px;top:641px;width:10px}.m1450 .eu49.focus .bg{background-position:-725px -2162px}.m1450 .eu49.active-region .bg{background-position:-725px -3192px} .m1450 .eu50.focus .bg,.m1450 .eu50.active-region .bg{height:35px;left:296px;top:618px;width:45px}.m1450 .eu50.focus .bg{background-position:-1714px -1341px}.m1450 .eu50.active-region .bg{background-position:-1714px -2371px} .m1450 .eu51.focus .bg,.m1450 .eu51.active-region .bg{height:187px;left:306px;top:448px;width:109px}.m1450 .eu51.focus .bg{background-position:-1621px -1629px}.m1450 .eu51.active-region .bg{background-position:-1621px -599px} .m1450 .eu52.focus .bg,.m1450 .eu52.active-region .bg{height:54px;left:342px;top:668px;width:42px}.m1450 .eu52.focus .bg{background-position:-1621px -2064px}.m1450 .eu52.active-region .bg{background-position:-1621px -3094px} +.m1450 .eu1 a{left:764px;top:974px} .m1450 .eu2 a{left:468px;top:944px} .m1450 .eu3 a{left:679px;top:828px} .m1450 .eu4 a{left:892px;top:673px} .m1450 .eu5 a{left:517px;top:751px} .m1450 .eu6 a{left:729px;top:909px} .m1450 .eu7 a{left:846px;top:942px} .m1450 .eu8 a{left:709px;top:873px} .m1450 .eu9 a{left:975px;top:1099px} .m1450 .eu10 a{left:688px;top:775px} .m1450 .eu11 a{left:591px;top:606px} .m1450 .eu12 a{left:852px;top:526px} .m1450 .eu13 a{left:487px;top:844px} .m1450 .eu14 a{left:876px;top:343px} .m1450 .eu15 a{left:1144px;top:957px} .m1450 .eu16 a{left:612px;top:735px} .m1450 .eu17 a{left:793px;top:1011px} .m1450 .eu18 a{left:756px;top:840px} .m1450 .eu19 a{left:154px;top:319px}.m1450 .eu19 a.tooltip-left .tooltip-arrow{left:154px} .m1450 .eu20 a{left:319px;top:690px} .m1450 .eu21 a{left:645px;top:915px} .m1450 .eu22 a{left:645px;top:938px} .m1450 .eu23 a{left:778px;top:943px} .m1450 .eu24 a{left:855px;top:583px} .m1450 .eu25 a{left:596px;top:841px} .m1450 .eu26 a{left:833px;top:631px} .m1450 .eu27 a{left:541px;top:777px} .m1450 .eu28 a{left:791px;top:964px} .m1450 .eu29 a{left:672px;top:1081px} .m1450 .eu30 a{left:903px;top:841px} .m1450 .eu31 a{left:561px;top:918px} .m1450 .eu32 a{left:751px;top:937px} .m1450 .eu33 a{left:531px;top:713px} .m1450 .eu34 a{left:586px;top:436px} .m1450 .eu35 a{left:753px;top:715px} .m1450 .eu36 a{left:310px;top:1006px} .m1450 .eu37 a{left:841px;top:866px} .m1450 .eu38 a{left:1138px;top:530px} .m1450 .eu39 a{left:775px;top:907px} .m1450 .eu40 a{left:753px;top:802px} .m1450 .eu41 a{left:678px;top:865px} .m1450 .eu42 a{left:390px;top:995px} .m1450 .eu43 a{left:727px;top:314px} .m1450 .eu44 a{left:573px;top:844px} .m1450 .eu45 a{left:1012px;top:1015px} .m1450 .eu46 a{left:949px;top:784px} .m1450 .eu47 a{left:406px;top:653px} .m1450 .eu48 a{left:421px;top:694px} .m1450 .eu49 a{left:371px;top:662px} .m1450 .eu50 a{left:337px;top:647px} .m1450 .eu51 a{left:378px;top:585px} .m1450 .eu52 a{left:384px;top:710px} + +/* -------------------------------------------------------- +end of the maps */ \ No newline at end of file diff --git a/css/cssmap-europe/eu-1280.png b/css/cssmap-europe/eu-1280.png new file mode 100644 index 0000000..58d5a2a Binary files /dev/null and b/css/cssmap-europe/eu-1280.png differ diff --git a/css/cssmap-europe/eu-1450.png b/css/cssmap-europe/eu-1450.png new file mode 100644 index 0000000..39fbbd5 Binary files /dev/null and b/css/cssmap-europe/eu-1450.png differ diff --git a/css/cssmap-europe/eu-250.png b/css/cssmap-europe/eu-250.png new file mode 100644 index 0000000..f868e04 Binary files /dev/null and b/css/cssmap-europe/eu-250.png differ diff --git a/css/cssmap-europe/eu-320.png b/css/cssmap-europe/eu-320.png new file mode 100644 index 0000000..4a6b5d7 Binary files /dev/null and b/css/cssmap-europe/eu-320.png differ diff --git a/css/cssmap-europe/eu-430.png b/css/cssmap-europe/eu-430.png new file mode 100644 index 0000000..20fee88 Binary files /dev/null and b/css/cssmap-europe/eu-430.png differ diff --git a/css/cssmap-europe/eu-540.png b/css/cssmap-europe/eu-540.png new file mode 100644 index 0000000..5f5c5dc Binary files /dev/null and b/css/cssmap-europe/eu-540.png differ diff --git a/css/cssmap-europe/eu-650.png b/css/cssmap-europe/eu-650.png new file mode 100644 index 0000000..daf38b6 Binary files /dev/null and b/css/cssmap-europe/eu-650.png differ diff --git a/css/cssmap-europe/eu-750.png b/css/cssmap-europe/eu-750.png new file mode 100644 index 0000000..d97bdac Binary files /dev/null and b/css/cssmap-europe/eu-750.png differ diff --git a/css/cssmap-europe/eu-850.png b/css/cssmap-europe/eu-850.png new file mode 100644 index 0000000..9b84c1e Binary files /dev/null and b/css/cssmap-europe/eu-850.png differ diff --git a/css/cssmap-europe/eu-960.png b/css/cssmap-europe/eu-960.png new file mode 100644 index 0000000..de0399f Binary files /dev/null and b/css/cssmap-europe/eu-960.png differ diff --git a/css/edit_main.css b/css/edit_main.css new file mode 100644 index 0000000..ac6e6e3 --- /dev/null +++ b/css/edit_main.css @@ -0,0 +1,486 @@ +/* + Document : edit_main + Created on : 08.02.2013, 15:02:29 + Author : Main + Description: + Purpose of the stylesheet follows. +*/ + +body{ + background-color: #ffffff; + width: 850px; + height: 100%; +} + + #art-banner{ + + background-color: #e8e8ea; + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#0066aa; + + background-image: none; + margin:0px; + padding:0px; + width: 100%; + height: 70px; + background-repeat: no-repeat; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + + + } + + +#art-logo{ + background-image:url("../images/verag_logo_white.png"); + margin:0px; + padding:0px; + width: 330px; + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:15px; + left: 15px; + z-index: 2; + width:12em; + + +} +#page-title{ + margin:0px; + padding:0px; + width: 330px; + height: 165px; + color:#fff; + font-size: 24px; + position: absolute; + top:20px; + z-index: 2; + left:300px; + +} +#update-title{ position: absolute; top:85px; left:15px; color:black; font-style:italic; font-size: 0.8em;} + +/*********************Hauptmenü**********************************/ + + +.update_navigation { + position: absolute; top:100px; left: 15px; right:15px; + height: 35px; + margin: 0px; padding: 0px; + z-index:3; + border-bottom:2px solid #333; +} + +.update_navigation ul { + list-style-type: none; + width: 100%; + margin: 0px; + padding: 0px; + +} + +.update_navigation li { + float: left; + padding: 0px; + margin:0px; +} + +.update_navigation ul a { + padding-right: 40px; + padding-left: 0px; + margin:0px; + display: block; + line-height: 40px; + text-decoration: none; + font-family: Helvetica, serif; + font-size: 16px; + color: #0066aa; + font-weight: normal ; + + /* font-weight: bold;*/ + /*text-shadow: 2px 2px 2px black;*/ + +} + +.update_navigation ul a:hover { + text-decoration: underline; + + text-shadow: 1px 1px 1px gray; + transition: text-shadow 0.3s; + -webkit-transition: text-shadow 0.3s; + -moz-transition: text-shadow 0.3s; + -o-transition: text-shadow 0.3s; + +} + + +/*******************************************************/ + +/*******************Navigation-left************************************/ + +#art-flags{ + position:absolute; top:85px;left:50px;z-index:99; +} + +.update_menu_01 { + position: absolute; top:130px; left: 5px; + height: 35px; width:245px; + margin: 0px; padding: 0px; + z-index:30; +} + +.update_menu_01 ul { + list-style-type: none; width: 100%; + margin: 0px; padding: 5px; + border:2px outset #333; background-color: white; +} + +.update_menu_01 li { + padding: 1px; + +} + +.update_menu_01 ul a { + padding: 0px; + + margin:0px; + display: inline; + line-height: 1.0em; + text-decoration: none; + font-family: Helvetica, serif; + font-size: 0.9em; + color: black; + font-weight: normal ; +} + +.update_menu_01 ul a:hover { + text-decoration: none; + background-color: #0066aa; + color: white; + text-shadow: 1px 1px 1px gray; + transition: text-shadow 0.3s; + -webkit-transition: text-shadow 0.3s; + -moz-transition: text-shadow 0.3s; + -o-transition: text-shadow 0.3s; + +} + +.update_menu_02{ + margin-left: 10px; + + font-size: 0.8em; +} +.update_menu_02 ul { + border:0px; + width:80%; +} + +.inst0{ + margin-top:10px; + background-color: lightgrey; + font-style: italic; +} + +.inst1{ + background-color: lightblue; +} +.inst2{ + margin-left:10px; +} + + +/*******************************************************/ + + +#main-page{ + margin:0px; padding: 0px; + position: absolute; top: 135px; left:265px; right:15px; + width:800px; + border:1px solid black; +} + +#main-page2{ + margin:0px; padding: 0px; + position: absolute; top: 135px; left:1100px; right:15px; + width:800px; + border:1px solid black; +} + +#main-edit{ + position: absolute; top: 135px; left:15px; right:15px; + overflow: auto; min-height: 85%; + background-color: #eee; border: 1px solid black; + font-family: arial; font-size: 11px; + /*height:95%;*/ + /*position: absolute; + + top: 12.5%;*/ +} +#inner-edit{ + margin-left:250px; + +} +.edittable{ + /*width:900px;*/ + /*background-color: gray;*/ + margin-left: 2%; + margin-right: 2%; + padding:20px; +} + +.tr td{ + border-bottom: 1px solid black; + padding-bottom: 10px; + padding-top: 10px; +} + +.edittextarea{ + width:90%; + /*margin-left: 2%; + margin-right: 2%;*/ + height: 150px; + +} + + +h1{ + color: #525252; + font-size: 30px; + font-weight: bold; + line-height: 30px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; +} +h2{ + color: #525252; + font-size: 20px; + font-weight: bold; + line-height: 30px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; +} + +.edit_add_contend{ + /*display:none;*/ +} + +.edit_add_contend img{ + width:40px; +} + +.info img:hover{ + opacity: 0.5; + cursor: pointer; + +} +.edit_add_contend img:hover{ + opacity: 0.5; + cursor: pointer; +} + +a.info{ + position:relative; + z-index:1; +} + +a.info:hover{ + z-index:2; +} + +a.info span{ + display: none; +} + +a.info:hover span{ + display:block; + position:absolute; + top:2em; + left:2em; + width:15em; + border:1px solid #003680; + background-color:#add8e6; + color:#000; + text-align: center; + padding: 5px; + font-size: 0.8em; +} + + +.edittable select{ + width:150px; + height:25px; +} + + + +.edittable_main{ + width:900px; + padding:0px; + margin:0px; +} + + +.edittable:hover{ + background-color: #eeeeee; +} +.smallicon{ + height:15px; + width:15px; +} + +.edit_textarea{ + width:90%; +} + + + + + + + + + + + + +p{ + + padding:0px; + margin:0px; + color: #525252; + font-size: 0.9em; + padding-right:15px; + padding-left:15px; + text-align: justify; + font-family: Helvetica; + /* font-weight: bold;*/ + +} + +.content_all, .content_b_left, .content_b_right, .content_m_left, .content_m_right, .content_s_left, .content_s_right, .content_img, .content_img_b, .content_img_m, .content_img_s{ + /* padding: 15px;*/ + padding:0px; + padding-top: 15px; + margin:0px; + float:left; + +} + +.content_all img, .content_b_left img, .content_b_right img, .content_m_left img, .content_m_right img, .content_s_left img, .content_s_right img, .content_img img , .content_img_b img, .content_img_m img, .content_img_s img{ + /* padding: 15px;*/ + padding:0px; + margin:0px; + float:left; + +} + .content_33{ + width:33.33%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_66{ + width:66.66%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_all{ + width:100%; + display:block; + float: left; +} +.content_b{ + width:75%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_m{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_s{ + width:25%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + + + + +.content_b_left{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; + + /*background-color: #ffffff;*/ + +} +.content_b_right{ + width:50%; + display:inline-block; + float: right; + padding:0px; + margin:0px; +} +.content_m_left{ + width:19em; + display:inline-block; + float: left; +} +.content_m_right{ + width:19em; + display:inline-block; + float: right; +} +.content_s_left{ + width:9em; + display:inline-block; + float: left; +} +.content_s_right{ + width:9em; + display:inline-block; + float: right; +} +.content_img{ + width:100%; + padding:0px; + margin:0px; +} + + + option[value="full"]:before { content:url("../images/Icons/main/edit_types/add_contend_full.gif"); } + option[value="pic"]:before { content:url("../images/Icons/main/edit_types/add_contend_pic.gif"); } + option[value="50-50"]:before { content:url("../images/Icons/main/edit_types/add_contend_50-50.gif"); } + option[value="50-pic"]:before { content:url("../images/Icons/main/edit_types/add_contend_50-pic.gif"); } + option[value="pic-50"]:before { content:url("../images/Icons/main/edit_types/add_contend_pic-50.gif"); } + option[value="75-25"]:before { content:url("../images/Icons/main/edit_types/add_contend_75-25.gif"); } + option[value="75-pic"]:before { content:url("../images/Icons/main/edit_types/add_contend_75-pic.gif"); } + option[value="25-75"]:before { content:url("../images/Icons/main/edit_types/add_contend_25-75.gif"); } + option[value="pic-75"]:before { content:url("../images/Icons/main/edit_types/add_contend_pic-75.gif"); } + option[value="title"]:before { content:url("../images/Icons/main/edit_types/title.gif"); } + option[value="line"]:before { content:url("../images/Icons/main/edit_types/line.gif"); } \ No newline at end of file diff --git a/css/highway_main.css b/css/highway_main.css new file mode 100644 index 0000000..9cac806 --- /dev/null +++ b/css/highway_main.css @@ -0,0 +1,25 @@ + + #art-banner{ + + background-color:#aa0000; + } + + +#art-logo_highway{ + background-image:url("../images/highway118.gif"); + margin:0px; + padding:0px; + width: 330px; + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:00px; + + z-index: 2; + left:47%; + width:20em; + margin-left:-10em; + + +} \ No newline at end of file diff --git a/css/main.css b/css/main.css new file mode 100644 index 0000000..c583a70 --- /dev/null +++ b/css/main.css @@ -0,0 +1,1212 @@ +/* + Document : main + Created on : 03.02.2013, 11:07:32 + Author : Main + Description: + Purpose of the stylesheet follows. +*/ +html{ + height: 100%; +} +root { + display: block; +} + +.slider{ + position: relative; + top: 0px; + + font-family:helvetica,arial; + margin:0px; + padding:0px; + margin-top: 150px; + + margin-bottom: 50px; +} + +#main-page{ + display:inline-block; + + font-family:helvetica,arial; + margin:0px; + + padding:0px; + margin-top: 0px; + height:100%; + min-height:900px; + background-color: white; + +} + +body{ + font-family:helvetica,arial; + font-size: 12px; + margin: 0; padding:0; + + // background: url("../images/europe.jpg") no-repeat fixed; + background-color: #eee; + background: url("../images/road.jpg") no-repeat fixed; + //background: url("../images/world3.jpg") no-repeat; + background-size: 100%; + height: 100%; +} + +#bodycontent{ + width: 1024px;margin: 0 auto; + // margin-top:160px; + background-color: white; + border-left: 1px solid darkgrey; + border-right: 1px solid darkgrey; + border-top:1px solid darkgrey; + height:100%; +} +.pagecontent{ + width: 900px;height:100%;margin: 0 auto; + // margin-top:-115px; + + margin-top:0px; + padding-top:60px; padding-left:50px; + min-height:600px; +} + +/* +@media screen and (max-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + left: 0px; + + font-family:arial; + margin:0px; + padding:0px; + margin-left: 100px; + margin-top: 100px; + margin-right: 100px; + + margin:0px; + padding:0px; + margin-top: 100px; + left:20px; + margin-left:0em; + margin-bottom: 50px; + } + #main-news{ + position: absolute; + top: 160px; + right:5px; + margin-top: 5em; + left:30em; + + } + body{ + overflow-x: auto; + width: 1024px; + font-family: helvetica,arial; + font-size: 100%; + background-color:white; + } + +} + +@media screen and (min-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + bottom:10px; + left: 0px; + + + + font-family:arial; + margin:0px; + padding:0px; + margin-top: 100px; + left:50%; + width:40em; + margin-left:-30em; + margin-bottom: 50px; + + } + #main-news{ + + position: absolute; + top: 160px; + right:5px; + + font-family:arial; + margin:0px; + padding:0px; + + margin-top: 5em; + + left:50%; + margin-left:12em; + } + + body { + font-family: helvetica,arial; + font-size: 100%; + + background-color:white; + } +} +*/ +.footer{ + position: fixed; + bottom: 0px; + left:0px; + width:100%; + height: 30px; + background-color: #eeeeee; + border-top:1px solid darkgray; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_content{ + + position: fixed; + left:50%; + + width:60em; + margin-left:-30em; + + font-size: 0.9em; + color: #333; + line-height: 30px; +} +.footer_menu { + clear: left; + background: #efefef; + text-align: center; + padding-bottom: 10px; + min-height: 220px; + bottom: 0px; + background-color: #333; + z-index: 99; +} + +.footer_menu_content{ + padding-top:40px; + font-size: 0.9em; + line-height: 20px; + +} +.footer_menu_content a{ + height:20px; + line-height: 20px; + color:#888; + text-decoration: none; + margin-right:0px; + +} +.footer_menu_content .footerHeader { + font-size:1.3em; + font-weight: 300; + color:#aaa; + line-height:30px; +} +.footer_menu_content a:hover{ + text-decoration: underline; + } + + + +.footer_menu_content table td a { + margin : 20px; +} +#nav-main{ + +} + + +#art-logo{ + background-image:url("../images/Logo_small.png"); + margin:0px; + padding:0px; + /*width: 330px;*/ + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:40px; + left: 30px; + z-index: 2; + left:47%; + width:18em; + height:6em; + margin-left:-33em; + + +} + +#art-flags{ + margin:0px; + padding:0px; + width: 500px; + height: 25px; + position: absolute; + top:10px; + right: 60px; + z-index: 2; + right: 47%; + width:30em; + margin-right:-30em; + +} + +#art-flags img{ + float:right; + margin-left: 10px; + + box-shadow: 1px 1px 1px black; + +} + + #art-banner{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-image: none; + margin:0px; + padding:0px; + width: 1024px; + height: 30px; + background-repeat: repeat-x; + background-size: 100% 100%; + margin: 0 auto; + margin-left:-1px; + position: absolute; + top:130px; + //left:0px; + z-index: 1; + /*border-bottom: 1px solid #a5a6aa; + border-top: 1px solid #a5a6aa; +*/ +display:none; + + } + #art-banner_top{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-color:#c00; + background-image: none; + margin:0px; + padding:0px; + width: 1024px; + height: 5px; + background-repeat: repeat-x; + background-size: 100% 100%; + + margin: 0 auto; + position: absolute; + top:160px; + //left: 0px; + z-index: 1; + +display:none; + + } + + #art-banner2{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#fff; + + margin:0px; + padding:0px; + width: 22px; + height: 35px; + background-repeat: no-repeat; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: -12px; + z-index: 1; +display:none; + + } +/* +@media screen and (min-width:1024px){ + #art-banner{ + background-color:#0066aa; + margin:0px; + padding:0px; + width: 100%; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } +} +@media screen and (max-width:1024px){ + #art-banner{ + + background-color:#0066aa; + margin:0px; + padding:0px; + width: 1024px; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } + #art-logo{ + left:30px; + width:12em; + margin-left:0em; + } +} + +#art-banner-pic{ + + background-image:url("../images/pics/pic_01.png"); + margin:0px; + padding:0px; + width: 600px; + height: 200px; + position: absolute; + top:00px; + right:0px; + z-index:12; + background-repeat: no-repeat; + background-size: 100% 100%; +} +/* +/************MAIN MENU*************/ + +/* main */ + #main-menu{ + /* padding-left: 100px; + padding-right: 100px; + /*width: 800px;*/ + /*text-align: center; + vertical-align: middle; + */ + font-family:Helvetica, arial; + + height: 10px; + /*position: absolute; + top: 100px; +*/ + z-index: 11; + /*s + // margin-top:-210px; + */ + position: relative; + top: 50px; + /*margin-left:140px;*/ + clear: both; + margin-left:295px; + float: left; + width: 64%; +} + +/* +@media screen and (min-width:1024px){ + #main-menu{ + font-family:arial; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:50%; + width:60em; + margin-left:-30em; + } +} +@media screen and (max-width:1024px){ + #main-menu{ + font-family:arial; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:30px; + width:60em; + margin-left:0em; + + } +}*/ +#main-menu ul { + list-style-type: none; + height: 35px; + text-align: right; + + margin: 0 auto; + padding: 0; + + position: relative; + float:right + +} + +#main-menu li { + float: left; + + padding-left: 5px; + padding-right: 5px; +} + +#main-menu ul a { + display: block; + line-height: 35px; + text-decoration: none; + font-family: helvetica,arial; + font-size: 12px; + //color: #003680; + color: #003680; + font-weight: normal ; + width:100%; + text-align: center; + margin: 0 ; + text-transform: uppercase; + font-weight: bold; + // border:1px solid transparent; + padding-left: 5px; + padding-right: 5px; + /* font-weight: bold;*/ + /*text-shadow: 2px 2px 2px black;*/ + +} + +#main-menu ul a.menu_01_link:hover,#main-menu ul li:hover a.menu_01_link{ //,#main-menu ul a:active + text-decoration: none; + background-color: buttonface; + color: black; + /* border-top:1px solid darkgrey; + border-left:1px solid darkgrey; + border-right:1px solid darkgrey;*/ + +} +#main-menu ul a:hover + .menu_01{ //, #main-menu div.menu_01:hover + display: inline-block; + + opacity:1; + + display: block; + +} +#main-menu ul .menu_01:hover{ //, #main-menu div.menu_01:hover + display: inline-block; + + // opacity:1; + + display: block; + +} + +/* under */ + +#main-menu ul a + .menu_01{ + display:none; + // opacity:0; + + +} +#main-menu div.menu_01 { + + list-style-type: none; + /*position:absolute;*/ + + + margin: 0px; + padding: 0px; + + position: absolute; + top:35px; + left:-350px; + width:450px; + /* + transition: display 0.9s; + -webkit-transition: display 0.9s; + -moz-transition: display 0.9s; + -o-transition: display 0.9s;*/ + /* transition:opacity 500ms linear; */ + +} +#main-menu div.menu_01 .menu_slogan{ + position:absolute; + left:20px; + top:0px; + margin:0px; padding:0px; + padding-top:30px; + font-size:18px; + font-family:helvetica, arial; + font-style:italic; + /* font-family:helvetica, arial; + font-style:italic; + font-weight:100;*/ + color:#666; + /* color:#003680;*/ + color:#333; +} +#main-menu div.menu_01 .menu_logo{ + position:absolute; + left:540px; + top:10px; + + margin:0px; + padding:0px; + width:90px; + height: 90px; + z-index:2; +} + +#main-menu div.menu_01 .menu_logo img{ + max-width:120px; + max-height:70px; + vertical-align:middle; +} + + +#main-menu div.menu_01{ + list-style-type: none; + + display: inline-block; + + background-color: #f3f3f3;//#efefef; + background-color: #fff; + width: 100%; + /*border-bottom: 5px solid #003680;*/ + border:3px solid #ddd; + border-bottom:3px solid #aaa; + margin: 0px; + padding: 0px; + padding-bottom: 20px; + + margin-left:250px; + width:680px; //width:1024px; +} + +#main-menu div.menu_01 ul { + position:relative; + left:0px; + top:0px; + z-index:2; + list-style-type: none; + + + min-height: 100px; + height: 100%; + /* height: 40px;*/ + width: 100%; + margin-left:20px; + margin-right:50px; + margin-top:60px; + width: 590px; + +} +#main-menu div.menu_01 ul li { + position:relative; + left:0px; + top:0px; + float: none; + + padding: 0px; + min-height: 100%; + margin:0px; + margin-top: 3px; + margin-bottom: 3px; + cursor:pointer; + // padding-bottom: 10px; +} + +#main-menu div.menu_01 a { + padding:0px; + padding-top: 15px; + + text-transform: none; + + margin:0px; + display: block; + line-height: 25px; + text-decoration: none; + font-family: helvetica,arial; + font-size: 18px; + border-bottom:1px solid lightgray; + font-weight: 500; + text-align: left; + width:100%; + // color:#c00; + color:#003680; +} + + +#main-menu div.menu_01 ul li div.menu_02 a:hover,#main-menu div.menu_01 a:hover { + text-decoration: underline; + color:#003680 + /* background-color: #003680;*/ + /* color: #003680;*/ +} +#main-menu div.menu_01 ul li div.menu_02 a{ + text-decoration: none; + color: #556; + font-weight: normal; + font-size: 13px; + + width: 180px; + padding-top:2px; + border:0px; + line-height: 13px; + +} + +div.menu_02 ul{ + float: left; + /*display: none;*/ +} +div.menu_02 ul li{ + float: left; + /*display: none;*/ +} + + +div.menu_02 a{ + float: left; + /*display: none;*/ +} + + +div.menu_02 td{ + /*display: none;*/ +} + + + +#main-news{ + + + font-family:helvetica,arial; + margin:0px; + padding:0px; + + width: 100%; + + /* + height: 40px; + z-index: 11;*/ +} + + +#container-news{ + /*background-color: #dddddd;*/ + /* border:3px groove lightgrey;*/ + /* border: 1px solid #525252;*/ + width:100%; + height:100%; + background-color: #003680; + z-index:11; + color: #fff; +} +#container-news-header{ + text-align: center; + vertical-align: central; + width:99%; + padding-bottom:0px; + background-color: red; + height:26px; + color: #fff; + +} +#container-news-header span{ + text-align: center; + vertical-align: middle; + /*font-weight: bold;*/ + font-size: 1em; + font-weight: bold; + line-height:26px; + border-bottom: 1px solid #525252; + width:99%; + font-family: helvetica,arial; + float: left; + color: #fff; + +} + +.news_content{ + width:100%; + margin:0px; + margin-top:-10px; + padding:15px; + +} + +.news_content:hover img{ + border:1px solid grey; + cursor:pointer; +} +.news_content:hover span{ + text-decoration: underline; + cursor:pointer; +} +.news_content:hover{ + /* background-color: #eeeeee; */ +} + +.news_content_img { + width:70%; + +} + + +.news-title{ + font-family: helvetica; + display:block; + width:100%; + font-weight: bold; + font-size: 0.8em; + text-decoration: underline; +} +.news-preview{ + font-family: helvetica; + width:100%; + font-size: 0.7em; + text-decoration: none; +} + + +#line{ + width:100%; + height:1px; + border-top: 1px solid #aaa; +} + +h1{ + color: #003680; + font-size: 20px; + /*font-weight: bold;*/ + line-height: 28px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS , arial; + /* border-left:10px solid red; + padding-left:10px; + */ +} +/* +h1:first-letter{ + font-weight:bold; + + font-size: 60px; + color: red; +}*/ + +h2{ + color: #003680; + font-size: 18px; + /*font-weight: bold;*/ + line-height: 26px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; +} + +h3{ + color: #003680; + font-size: 14px; + /*font-weight: bold;*/ + line-height: 18px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; +} + +h4{ + color: #003680; + font-size: 12px; + /*font-weight: bold;*/ + line-height: 16px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; +} + + +.h1_div{ + color: #525252; + + font-size: 52px; + line-height: 62px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; + +} +.h2_div{ + color: #525252; + + font-size: 22px; + /* font-weight: bold;*/ + line-height: 32px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; +} + +p,td{ + + padding:0px; + margin:0px; + color: #222; + /*font-size: 1.2em;*/ + /*padding-left:15px;*/ + text-align: justify; + /*font-family: Trebuchet MS, arial;*/ + /* font-weight: bold;*/ + +} + +.content_all, .content_b_left, .content_b_right, .content_m_left, .content_m_right, .content_s_left, .content_s_right, .content_img, .content_img_b, .content_img_m, .content_img_s{ + /* padding: 15px;*/ + padding:0px; + padding-top: 15px; + margin:0px; + float:left; + +} + +.content_all img, .content_b_left img, .content_b_right img, .content_m_left img, .content_m_right img, .content_s_left img, .content_s_right img, .content_img img , .content_img_b img, .content_img_m img, .content_img_s img{ + /* padding: 15px;*/ + padding:0px; + margin:0px; + float:left; + +} + +.content_all{ + width:100%; + display:block; + float: left; +} +.content_b{ + width:75%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_33{ + width:33.33%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_66{ + width:66.66%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_m{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_s{ + width:25%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + + + + +.content_b_left{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; + + /*background-color: #ffffff;*/ + +} +.content_b_right{ + width:50%; + display:inline-block; + float: right; + padding:0px; + margin:0px; +} +.content_m_left{ + width:19em; + display:inline-block; + float: left; +} +.content_m_right{ + width:19em; + display:inline-block; + float: right; +} +.content_s_left{ + width:9em; + display:inline-block; + float: left; +} +.content_s_right{ + width:9em; + display:inline-block; + float: right; +} +.content_img{ + width:100%; + padding:0px; + margin:0px; +} +/* +.content_img{ + width:790px; +} +.content_img_b{ + width:590px; +} +.content_img_m{ + width:390px; +} +.content_img_s{ + width:190px; +} +*/ + +.ul_overview{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; +} + +.ul_overview li a{ + color: #525252; + z-index:22; + font-weight: normal; + text-decoration: none; +} + +.ul_overview li a:hover { + color: #525252; + font-weight: bolder; + text-decoration: underline; + cursor: pointer; +} + + + +.ul_overview a.ul_overview_b{ + color: #252525; + z-index:22; + font-size: 18px; + font-weight: bold; + text-decoration: none; +} + +.ul_overview a.ul_overview_b:hover { + color: #252525; + font-weight: bolder; + text-decoration: none; + cursor: auto; +} + + +.service_icons{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; + +} +.service_icons a{ + text-decoration: none; + height:50px; + line-height:50px; +} + +.service_icons span{ + vertical-align: middle; + line-height:0.8em; + margin: 0px; + padding: 0px; + color: #525252; + font-weight: bold; + font-size: 0.8em; + background-color: red; + + + +} +.service_icons span:hover{ + text-decoration: underline; + font-weight: bolder; + cursor: pointer; + +} + +.service_icons a img{ + width:40px; + height:40px; + margin: 0px; + padding: 0px; + float:left; + border: 2px solid #8c000a; + border-radius: 5px; + +} + +/* +area:hover + div{background: #cccccc; color: #0099ff; border: solid 1px #993366} +.test:hover { + background: transparent url ('../images/test.gif'); + background-color: red; +} + +.de:hover .deimg{ + display:inline; +} + + +#de { left: 0px; top: 21px; width: 101px; z-index:10;} +#de a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#de a:hover {background: url("../images/Europakarte/Deutschland.png") no-repeat; text-decoration:none; cursor: pointer;} + +#at { left: 0px; top: 21px; width: 101px; z-index:10;} +#at a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#at a:hover + #eumap{ +background-color: red; +} + +#eumap { +width: 50%; +height: 50%; +margin:0 auto; +background: url("../images/Europakarte/Europakarte.gif") no-repeat; +position: absolute; +top:400px; +left:200px; +} + +#eumap li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;} + +#eumap a {display: block; text-decoration: none; font-size:11px; font-weight:bold;line-height:normal;} + +#div_deutschland:hover #map_deutschlandt{ + display:none; + display:none; +} +#div_deutschland:hover { + + cursor: pointer; +}*/ +.menu_edit_img{ + background: url("../images/Icons/main/edit.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_del_img{ + background: url("../images/Icons/main/del.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_add_img{ + background: url("../images/Icons/main/plus.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} + +.feedback{ + position:absolute; top:30%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} +.feedback_txt{ + margin:45px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.feedback:hover{ + background-color:#ccc;color:#000; +} + +.aviso{ + position:absolute; top:60%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; + +} +.aviso_txt{ + margin:52px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.aviso:hover{ + background-color:#ddd;color:#000; +} \ No newline at end of file diff --git a/css/main_V3.css b/css/main_V3.css new file mode 100644 index 0000000..2e67349 --- /dev/null +++ b/css/main_V3.css @@ -0,0 +1,1159 @@ +/* + Document : main + Created on : 03.02.2013, 11:07:32 + Author : Main + Description: + Purpose of the stylesheet follows. +*/ +html{ + height: 100%; +} +root { + display: block; +} + +.slider{ + position: relative; + top: 0px; + + font-family:Helvetica; + margin:0px; + padding:0px; + margin-top: 150px; + + margin-bottom: 50px; +} + +#main-page{ + display:inline-block; + + font-family:Helvetica; + margin:0px; + + padding:0px; + margin-top: 0px; + height:100%; + //min-height:600px; + background-color: white; + +} +body{ + font-family: Helvetica; + font-size: 100%; + margin: 0; padding:0; + + //background: url("../images/europe.jpg") no-repeat fixed; + background: url("../images/world4.jpg") no-repeat; + background-size: 100%; + height: 100%; +} +#bodycontent{ + width: 1024px;margin: 0 auto; + margin-top:180px; + background-color: white; + border-left: 1px solid darkgrey; + border-right: 1px solid darkgrey; border-top:1px solid #fff; +} +.pagecontent{ + width: 900px;height:100%;margin: 0 auto; + margin-top:-115px; + + + padding-top:100px; padding-left:50px; + min-height:600px; +} + +/* +@media screen and (max-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + left: 0px; + + font-family:Helvetica; + margin:0px; + padding:0px; + margin-left: 100px; + margin-top: 100px; + margin-right: 100px; + + margin:0px; + padding:0px; + margin-top: 100px; + left:20px; + margin-left:0em; + margin-bottom: 50px; + } + #main-news{ + position: absolute; + top: 160px; + right:5px; + margin-top: 5em; + left:30em; + + } + body{ + overflow-x: auto; + width: 1024px; + font-family: Helvetica; + font-size: 100%; + background-color:white; + } + +} + +@media screen and (min-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + bottom:10px; + left: 0px; + + + + font-family:Helvetica; + margin:0px; + padding:0px; + margin-top: 100px; + left:50%; + width:40em; + margin-left:-30em; + margin-bottom: 50px; + + } + #main-news{ + + position: absolute; + top: 160px; + right:5px; + + font-family:Helvetica; + margin:0px; + padding:0px; + + margin-top: 5em; + + left:50%; + margin-left:12em; + } + + body { + font-family: Helvetica; + font-size: 100%; + + background-color:white; + } +} +*/ +.footer{ + position: fixed; + bottom: 0px; + left:0px; + width:100%; + height: 30px; + background-color: #eeeeee; + border-top:1px solid darkgray; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_content{ + + position: fixed; + left:50%; + + width:60em; + margin-left:-30em; + + font-size: 0.9em; + color: #333; + line-height: 30px; +} +.footer_menu{ + clear:left; + background:#efefef; + text-align:center; + padding-bottom:10px; + + height: 200px; + + background-color: #333; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_menu_content{ + + font-size: 0.9em; + color: #ddd; + line-height: 100px; +} +.footer_menu_content table{ + width: 900px; + table-layout:fixed; +} + +#nav-main{ + +} + + +#art-logo{ + background-image:url("../images/Logo_small.png"); + margin:0px; + padding:0px; + /*width: 330px;*/ + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:30px; + left: 60px; + z-index: 2; + left:50%; + width:18em; + height:6em; + margin-left:-30em; + + +} + +#art-flags{ + margin:0px; + padding:0px; + width: 500px; + height: 25px; + position: absolute; + top:60px; + right: 60px; + z-index: 2; + right: 50%; + width:20em; + margin-right:-30em; + +} + +#art-flags img{ + float:right; + margin-left: 10px; + + box-shadow: 1px 1px 1px black; + +} + + #art-banner{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-image: none; + margin:0px; + padding:0px; + width: 1026px; + height: 0px; + background-repeat: repeat-x; + background-size: 100% 100%; + margin: 0 auto; + margin-left:-1px; + position: absolute; + top:0; + z-index: 1; + /*border-bottom: 1px solid #a5a6aa; + border-top: 1px solid #a5a6aa; +*/ + + } + #art-banner_top{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-color:#fff; + background-image: none; + margin:0px; + padding:0px; + width: 100%; + height: 5px; + background-repeat: repeat-x; + background-size: 100% 100%; + + + position: absolute; + top:140px; + left: 0px; + z-index: 1; + +display:none; + + } + + #art-banner2{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#fff; + + margin:0px; + padding:0px; + width: 22px; + height: 35px; + background-repeat: no-repeat; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: -12px; + z-index: 1; +display:none; + + } +/* +@media screen and (min-width:1024px){ + #art-banner{ + background-color:#0066aa; + margin:0px; + padding:0px; + width: 100%; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } +} +@media screen and (max-width:1024px){ + #art-banner{ + + background-color:#0066aa; + margin:0px; + padding:0px; + width: 1024px; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } + #art-logo{ + left:30px; + width:12em; + margin-left:0em; + } +} + +#art-banner-pic{ + + background-image:url("../images/pics/pic_01.png"); + margin:0px; + padding:0px; + width: 600px; + height: 200px; + position: absolute; + top:00px; + right:0px; + z-index:12; + background-repeat: no-repeat; + background-size: 100% 100%; +} +/* +/************MAIN MENU*************/ + +/* main */ + #main-menu{ + /* padding-left: 100px; + padding-right: 100px; + /*width: 800px;*/ + /*text-align: center; + vertical-align: middle; + */ + font-family:Helvetica; + + height: 10px; + /*position: absolute; + top: 100px; +*/ + z-index: 11; + margin: 0 auto; + margin-top:-210px; + + position: relative; + top: 170px; + clear: both; + float: left; + width: 100%; +} + +/* +@media screen and (min-width:1024px){ + #main-menu{ + font-family:Helvetica; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:50%; + width:60em; + margin-left:-30em; + } +} +@media screen and (max-width:1024px){ + #main-menu{ + font-family:Helvetica; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:30px; + width:60em; + margin-left:0em; + + } +}*/ +#main-menu ul { + list-style-type: none; + height: 35px; + text-align: center; + width:1000px; + margin: 0 auto; + padding: 0; + + position: relative; +} + +#main-menu li { + float: left; + + padding-left: 10px; + padding-right: 10px; +} + +#main-menu ul a { + display: block; + line-height: 40px; + text-decoration: none; + font-family: Helvetica, serif; + font-size: 16px; + color: #003680; + font-weight: normal ; + width:100%; + text-align: center; + margin: 0 ; + + padding-left: 10px; + padding-right: 10px; + /* font-weight: bold;*/ + /*text-shadow: 2px 2px 2px black;*/ + +} + +#main-menu ul a.menu_01_link:hover,#main-menu ul li:hover a.menu_01_link{ //,#main-menu ul a:active + text-decoration: none; + background-color: buttonface; + color: black; + +} +#main-menu ul a:hover + .menu_01{ //, #main-menu div.menu_01:hover + display: inline-block; + + opacity:1; + + display: block; + +} +#main-menu ul .menu_01:hover{ //, #main-menu div.menu_01:hover + display: inline-block; + + // opacity:1; + + display: block; + +} + +/* under */ + +#main-menu ul a + .menu_01{ + display:none; + // opacity:0; + + +} +#main-menu div.menu_01 { + + list-style-type: none; + /*position:absolute;*/ + + + margin: 0px; + padding: 0px; + + position: absolute; + top:40px; + left:0px; + width:1050px; + /* + transition: display 0.9s; + -webkit-transition: display 0.9s; + -moz-transition: display 0.9s; + -o-transition: display 0.9s;*/ + /* transition:opacity 500ms linear; */ + +} +#main-menu div.menu_01 .menu_slogan{ + position:absolute; + left:180px; + top:0px; + margin:0px; padding:0px; + padding-top:30px; + font-size:20px; + +} +#main-menu div.menu_01 .menu_logo{ + position:absolute; + left:30px; + top:40px; + margin:0px; + padding:0px; + max-width:100px; + max-height: 100px; + z-index:2; +} + + + +#main-menu div.menu_01{ + list-style-type: none; + + display: inline-block; + + background-color: #efefef; + width: 100%; + border-bottom: 10px solid #003680; + margin: 0px; + padding: 0px; + padding-bottom: 20px; + margin-left:-12px; + width:1024px; +} + +#main-menu div.menu_01 ul { + position:relative; + left:0px; + top:0px; + z-index:2; + list-style-type: none; + + + min-height: 100px; + height: 100%; + /* height: 40px;*/ + width: 100%; + margin-left:180px; + margin-top:60px; + width: 700px; + +} +#main-menu div.menu_01 ul li { + position:relative; + left:0px; + top:0px; + float: none; + + padding: 0px; + min-height: 100%; + margin:0px; + margin-top: 3px; + margin-bottom: 3px; + cursor:pointer; +} + +#main-menu div.menu_01 a { + padding:0px; + padding-right: 10px; + padding-left: 10px; + padding-top: 10px; + + + margin:0px; + display: block; + line-height: 30px; + text-decoration: none; + font-family: Helvetica, serif; + font-size: 16px; + border-bottom:1px solid grey; + font-weight: bold; + text-align: left; + width:100%; + color:#c00; +} + + +#main-menu div.menu_01 ul li div.menu_02 a:hover,#main-menu div.menu_01 a:hover { + text-decoration: underline; + + /* background-color: #003680;*/ + /* color: #003680;*/ +} +#main-menu div.menu_01 ul li div.menu_02 a{ + text-decoration: none; + color: #000000; + font-weight: normal; + font-size: 12px; + + width: 150px; + padding-top:0px; + border:0px; + line-height: 14px; +} + +div.menu_02 ul{ + float: left; + /*display: none;*/ +} +div.menu_02 ul li{ + float: left; + /*display: none;*/ +} + + +div.menu_02 a{ + float: left; + /*display: none;*/ +} + + +div.menu_02 td{ + /*display: none;*/ +} + + + +#main-news{ + + + font-family:Helvetica; + margin:0px; + padding:0px; + + width: 100%; + + /* + height: 40px; + z-index: 11;*/ +} + + +#container-news{ + /*background-color: #dddddd;*/ + /* border:3px groove lightgrey;*/ + /* border: 1px solid #525252;*/ + width:100%; + height:100%; + background-color: #003680; + z-index:11; + color: #fff; +} +#container-news-header{ + text-align: center; + vertical-align: central; + width:99%; + padding-bottom:0px; + background-color: red; + height:26px; + color: #fff; + +} +#container-news-header span{ + text-align: center; + vertical-align: middle; + /*font-weight: bold;*/ + font-size: 1em; + font-weight: bold; + line-height:26px; + border-bottom: 1px solid #525252; + width:99%; + font-family: Helvetica; + float: left; + color: #fff; + +} + +.news_content{ + width:100%; + margin:0px; + margin-top:-10px; + padding:15px; + +} + +.news_content:hover img{ + border:1px solid grey; + cursor:pointer; +} +.news_content:hover span{ + text-decoration: underline; + cursor:pointer; +} +.news_content:hover{ + /* background-color: #eeeeee; */ +} + +.news_content_img { + width:70%; + +} + + +.news-title{ + font-family: helvetica; + display:block; + width:100%; + font-weight: bold; + font-size: 0.8em; + text-decoration: underline; +} +.news-preview{ + font-family: arial; + width:100%; + font-size: 0.7em; + text-decoration: none; +} + + +#line{ + width:100%; + height:1px; + border-top: 1px solid #aaa; +} + +h1{ + color: #003680; + font-size: 26px; + /*font-weight: bold;*/ + line-height: 28px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; + /* border-left:10px solid red; + padding-left:10px; + */ +} +/* +h1:first-letter{ + font-weight:bold; + + font-size: 60px; + color: red; +}*/ + +h2{ + color: #003680; + font-size: 22px; + /*font-weight: bold;*/ + line-height: 26px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + +h3{ + color: #003680; + font-size: 16px; + /*font-weight: bold;*/ + line-height: 18px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + +h4{ + color: #003680; + font-size: 14px; + /*font-weight: bold;*/ + line-height: 16px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + + +.h1_div{ + color: #525252; + + font-size: 52px; + line-height: 62px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; + +} +.h2_div{ + color: #525252; + + font-size: 22px; + /* font-weight: bold;*/ + line-height: 32px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + +p,td{ + + padding:0px; + margin:0px; + color: #222; + font-size: 0.9em; + /*padding-left:15px;*/ + text-align: justify; + font-family: Helvetica; + /* font-weight: bold;*/ + +} + +.content_all, .content_b_left, .content_b_right, .content_m_left, .content_m_right, .content_s_left, .content_s_right, .content_img, .content_img_b, .content_img_m, .content_img_s{ + /* padding: 15px;*/ + padding:0px; + padding-top: 15px; + margin:0px; + float:left; + +} + +.content_all img, .content_b_left img, .content_b_right img, .content_m_left img, .content_m_right img, .content_s_left img, .content_s_right img, .content_img img , .content_img_b img, .content_img_m img, .content_img_s img{ + /* padding: 15px;*/ + padding:0px; + margin:0px; + float:left; + +} + +.content_all{ + width:100%; + display:block; + float: left; +} +.content_b{ + width:75%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_33{ + width:33.33%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_66{ + width:66.66%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_m{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_s{ + width:25%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + + + + +.content_b_left{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; + + /*background-color: #ffffff;*/ + +} +.content_b_right{ + width:50%; + display:inline-block; + float: right; + padding:0px; + margin:0px; +} +.content_m_left{ + width:19em; + display:inline-block; + float: left; +} +.content_m_right{ + width:19em; + display:inline-block; + float: right; +} +.content_s_left{ + width:9em; + display:inline-block; + float: left; +} +.content_s_right{ + width:9em; + display:inline-block; + float: right; +} +.content_img{ + width:100%; + padding:0px; + margin:0px; +} +/* +.content_img{ + width:790px; +} +.content_img_b{ + width:590px; +} +.content_img_m{ + width:390px; +} +.content_img_s{ + width:190px; +} +*/ + +.ul_overview{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; +} + +.ul_overview li a{ + color: #525252; + z-index:22; + font-weight: normal; + text-decoration: none; +} + +.ul_overview li a:hover { + color: #525252; + font-weight: bolder; + text-decoration: underline; + cursor: pointer; +} + + + +.ul_overview a.ul_overview_b{ + color: #252525; + z-index:22; + font-size: 18px; + font-weight: bold; + text-decoration: none; +} + +.ul_overview a.ul_overview_b:hover { + color: #252525; + font-weight: bolder; + text-decoration: none; + cursor: auto; +} + + +.service_icons{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; + +} +.service_icons a{ + text-decoration: none; + height:50px; + line-height:50px; +} + +.service_icons span{ + vertical-align: middle; + line-height:0.8em; + margin: 0px; + padding: 0px; + color: #525252; + font-weight: bold; + font-size: 0.8em; + background-color: red; + + + +} +.service_icons span:hover{ + text-decoration: underline; + font-weight: bolder; + cursor: pointer; + +} + +.service_icons a img{ + width:40px; + height:40px; + margin: 0px; + padding: 0px; + float:left; + border: 2px solid #8c000a; + border-radius: 5px; + +} + +/* +area:hover + div{background: #cccccc; color: #0099ff; border: solid 1px #993366} +.test:hover { + background: transparent url ('../images/test.gif'); + background-color: red; +} + +.de:hover .deimg{ + display:inline; +} + + +#de { left: 0px; top: 21px; width: 101px; z-index:10;} +#de a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#de a:hover {background: url("../images/Europakarte/Deutschland.png") no-repeat; text-decoration:none; cursor: pointer;} + +#at { left: 0px; top: 21px; width: 101px; z-index:10;} +#at a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#at a:hover + #eumap{ +background-color: red; +} + +#eumap { +width: 50%; +height: 50%; +margin:0 auto; +background: url("../images/Europakarte/Europakarte.gif") no-repeat; +position: absolute; +top:400px; +left:200px; +} + +#eumap li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;} + +#eumap a {display: block; text-decoration: none; font-size:11px; font-weight:bold;line-height:normal;} + +#div_deutschland:hover #map_deutschlandt{ + display:none; + display:none; +} +#div_deutschland:hover { + + cursor: pointer; +}*/ +.menu_edit_img{ + background: url("../images/Icons/main/edit.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_del_img{ + background: url("../images/Icons/main/del.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_add_img{ + background: url("../images/Icons/main/plus.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} + +.feedback{ + position:absolute; top:30%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} +.feedback_txt{ + margin:45px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.feedback:hover{ + background-color:#ccc;color:#000; +} + +.aviso{ + position:absolute; top:60%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; + +} +.aviso_txt{ + margin:52px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.aviso:hover{ + background-color:#ddd;color:#000; +} \ No newline at end of file diff --git a/css/main_europe.css b/css/main_europe.css new file mode 100644 index 0000000..22225b1 --- /dev/null +++ b/css/main_europe.css @@ -0,0 +1,1160 @@ +/* + Document : main + Created on : 03.02.2013, 11:07:32 + Author : Main + Description: + Purpose of the stylesheet follows. +*/ +html{ + height: 100%; +} +root { + display: block; +} + +.slider{ + position: relative; + top: 0px; + + font-family:arial; + margin:0px; + padding:0px; + margin-top: 150px; + + margin-bottom: 50px; +} + +#main-page{ + display:inline-block; + + font-family:arial; + margin:0px; + + padding:0px; + margin-top: 0px; + height:100%; + //min-height:600px; + background-color: white; + +} +body{ + font-family: arial; + font-size: 14px; + margin: 0; padding:0; + + background: url("../images/europe.jpg") no-repeat fixed; + // background-color: #ddd; + //background: url("../images/world3.jpg") no-repeat; + background-size: 100%; + height: 100%; +} +#bodycontent{ + width: 1024px;margin: 0 auto; + margin-top:160px; + background-color: white; + border-left: 1px solid darkgrey; + border-right: 1px solid darkgrey; border-top:1px solid #fff; +} +.pagecontent{ + width: 900px;height:100%;margin: 0 auto; + margin-top:-115px; + + + padding-top:100px; padding-left:50px; + min-height:600px; +} + +/* +@media screen and (max-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + left: 0px; + + font-family:arial; + margin:0px; + padding:0px; + margin-left: 100px; + margin-top: 100px; + margin-right: 100px; + + margin:0px; + padding:0px; + margin-top: 100px; + left:20px; + margin-left:0em; + margin-bottom: 50px; + } + #main-news{ + position: absolute; + top: 160px; + right:5px; + margin-top: 5em; + left:30em; + + } + body{ + overflow-x: auto; + width: 1024px; + font-family: arial; + font-size: 100%; + background-color:white; + } + +} + +@media screen and (min-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + bottom:10px; + left: 0px; + + + + font-family:arial; + margin:0px; + padding:0px; + margin-top: 100px; + left:50%; + width:40em; + margin-left:-30em; + margin-bottom: 50px; + + } + #main-news{ + + position: absolute; + top: 160px; + right:5px; + + font-family:arial; + margin:0px; + padding:0px; + + margin-top: 5em; + + left:50%; + margin-left:12em; + } + + body { + font-family: arial; + font-size: 100%; + + background-color:white; + } +} +*/ +.footer{ + position: fixed; + bottom: 0px; + left:0px; + width:100%; + height: 30px; + background-color: #eeeeee; + border-top:1px solid darkgray; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_content{ + + position: fixed; + left:50%; + + width:60em; + margin-left:-30em; + + font-size: 0.9em; + color: #333; + line-height: 30px; +} +.footer_menu{ + clear:left; + background:#efefef; + text-align:center; + padding-bottom:10px; + + height: 200px; + + background-color: #333; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_menu_content{ + + font-size: 0.9em; + color: #ddd; + line-height: 100px; +} +.footer_menu_content table{ + width: 900px; + table-layout:fixed; +} + +#nav-main{ + +} + + +#art-logo{ + background-image:url("../images/verag_logo_white.png"); + margin:0px; + padding:0px; + /*width: 330px;*/ + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:30px; + left: 30px; + z-index: 2; + left:47%; + width:18em; + height:6em; + margin-left:-30em; + + +} + +#art-flags{ + margin:0px; + padding:0px; + width: 500px; + height: 25px; + position: absolute; + top:60px; + right: 60px; + z-index: 2; + right: 50%; + width:20em; + margin-right:-30em; + +} + +#art-flags img{ + float:right; + margin-left: 10px; + + box-shadow: 1px 1px 1px black; + +} + + #art-banner{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-image: none; + margin:0px; + padding:0px; + width: 1026px; + height: 0px; + background-repeat: repeat-x; + background-size: 100% 100%; + margin: 0 auto; + margin-left:-1px; + position: absolute; + top:0; + z-index: 1; + /*border-bottom: 1px solid #a5a6aa; + border-top: 1px solid #a5a6aa; +*/ + + } + #art-banner_top{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-color:#fff; + background-image: none; + margin:0px; + padding:0px; + width: 100%; + height: 5px; + background-repeat: repeat-x; + background-size: 100% 100%; + + + position: absolute; + top:140px; + left: 0px; + z-index: 1; + +display:none; + + } + + #art-banner2{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#fff; + + margin:0px; + padding:0px; + width: 22px; + height: 35px; + background-repeat: no-repeat; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: -12px; + z-index: 1; +display:none; + + } +/* +@media screen and (min-width:1024px){ + #art-banner{ + background-color:#0066aa; + margin:0px; + padding:0px; + width: 100%; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } +} +@media screen and (max-width:1024px){ + #art-banner{ + + background-color:#0066aa; + margin:0px; + padding:0px; + width: 1024px; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } + #art-logo{ + left:30px; + width:12em; + margin-left:0em; + } +} + +#art-banner-pic{ + + background-image:url("../images/pics/pic_01.png"); + margin:0px; + padding:0px; + width: 600px; + height: 200px; + position: absolute; + top:00px; + right:0px; + z-index:12; + background-repeat: no-repeat; + background-size: 100% 100%; +} +/* +/************MAIN MENU*************/ + +/* main */ + #main-menu{ + /* padding-left: 100px; + padding-right: 100px; + /*width: 800px;*/ + /*text-align: center; + vertical-align: middle; + */ + font-family:arial; + + height: 10px; + /*position: absolute; + top: 100px; +*/ + z-index: 11; + margin: 0 auto; + margin-top:-210px; + + position: relative; + top: 170px; + clear: both; + float: left; + width: 100%; +} + +/* +@media screen and (min-width:1024px){ + #main-menu{ + font-family:arial; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:50%; + width:60em; + margin-left:-30em; + } +} +@media screen and (max-width:1024px){ + #main-menu{ + font-family:arial; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:30px; + width:60em; + margin-left:0em; + + } +}*/ +#main-menu ul { + list-style-type: none; + height: 35px; + text-align: center; + width:1000px; + margin: 0 auto; + padding: 0; + + position: relative; +} + +#main-menu li { + float: left; + + padding-left: 10px; + padding-right: 10px; +} + +#main-menu ul a { + display: block; + line-height: 40px; + text-decoration: none; + font-family: arial, serif; + font-size: 16px; + color: white; + font-weight: normal ; + width:100%; + text-align: center; + margin: 0 ; + + padding-left: 10px; + padding-right: 10px; + /* font-weight: bold;*/ + /*text-shadow: 2px 2px 2px black;*/ + +} + +#main-menu ul a.menu_01_link:hover,#main-menu ul li:hover a.menu_01_link{ //,#main-menu ul a:active + text-decoration: none; + background-color: buttonface; + color: black; + +} +#main-menu ul a:hover + .menu_01{ //, #main-menu div.menu_01:hover + display: inline-block; + + opacity:1; + + display: block; + +} +#main-menu ul .menu_01:hover{ //, #main-menu div.menu_01:hover + display: inline-block; + + // opacity:1; + + display: block; + +} + +/* under */ + +#main-menu ul a + .menu_01{ + display:none; + // opacity:0; + + +} +#main-menu div.menu_01 { + + list-style-type: none; + /*position:absolute;*/ + + + margin: 0px; + padding: 0px; + + position: absolute; + top:40px; + left:0px; + width:1050px; + /* + transition: display 0.9s; + -webkit-transition: display 0.9s; + -moz-transition: display 0.9s; + -o-transition: display 0.9s;*/ + /* transition:opacity 500ms linear; */ + +} +#main-menu div.menu_01 .menu_slogan{ + position:absolute; + left:180px; + top:0px; + margin:0px; padding:0px; + padding-top:30px; + font-size:20px; + +} +#main-menu div.menu_01 .menu_logo{ + position:absolute; + left:30px; + top:40px; + margin:0px; + padding:0px; + max-width:100px; + max-height: 100px; + z-index:2; +} + + + +#main-menu div.menu_01{ + list-style-type: none; + + display: inline-block; + + background-color: #efefef; + width: 100%; + border-bottom: 10px solid #003680; + margin: 0px; + padding: 0px; + padding-bottom: 20px; + margin-left:-12px; + width:1024px; +} + +#main-menu div.menu_01 ul { + position:relative; + left:0px; + top:0px; + z-index:2; + list-style-type: none; + + + min-height: 100px; + height: 100%; + /* height: 40px;*/ + width: 100%; + margin-left:180px; + margin-top:60px; + width: 700px; + +} +#main-menu div.menu_01 ul li { + position:relative; + left:0px; + top:0px; + float: none; + + padding: 0px; + min-height: 100%; + margin:0px; + margin-top: 3px; + margin-bottom: 3px; + cursor:pointer; +} + +#main-menu div.menu_01 a { + padding:0px; + padding-right: 10px; + padding-left: 10px; + padding-top: 10px; + + + margin:0px; + display: block; + line-height: 30px; + text-decoration: none; + font-family: arial, serif; + font-size: 16px; + border-bottom:1px solid grey; + font-weight: bold; + text-align: left; + width:100%; + color:#c00; +} + + +#main-menu div.menu_01 ul li div.menu_02 a:hover,#main-menu div.menu_01 a:hover { + text-decoration: underline; + + /* background-color: #003680;*/ + /* color: #003680;*/ +} +#main-menu div.menu_01 ul li div.menu_02 a{ + text-decoration: none; + color: #000000; + font-weight: normal; + font-size: 12px; + + width: 150px; + padding-top:0px; + border:0px; + line-height: 14px; +} + +div.menu_02 ul{ + float: left; + /*display: none;*/ +} +div.menu_02 ul li{ + float: left; + /*display: none;*/ +} + + +div.menu_02 a{ + float: left; + /*display: none;*/ +} + + +div.menu_02 td{ + /*display: none;*/ +} + + + +#main-news{ + + + font-family:arial; + margin:0px; + padding:0px; + + width: 100%; + + /* + height: 40px; + z-index: 11;*/ +} + + +#container-news{ + /*background-color: #dddddd;*/ + /* border:3px groove lightgrey;*/ + /* border: 1px solid #525252;*/ + width:100%; + height:100%; + background-color: #003680; + z-index:11; + color: #fff; +} +#container-news-header{ + text-align: center; + vertical-align: central; + width:99%; + padding-bottom:0px; + background-color: red; + height:26px; + color: #fff; + +} +#container-news-header span{ + text-align: center; + vertical-align: middle; + /*font-weight: bold;*/ + font-size: 1em; + font-weight: bold; + line-height:26px; + border-bottom: 1px solid #525252; + width:99%; + font-family: arial; + float: left; + color: #fff; + +} + +.news_content{ + width:100%; + margin:0px; + margin-top:-10px; + padding:15px; + +} + +.news_content:hover img{ + border:1px solid grey; + cursor:pointer; +} +.news_content:hover span{ + text-decoration: underline; + cursor:pointer; +} +.news_content:hover{ + /* background-color: #eeeeee; */ +} + +.news_content_img { + width:70%; + +} + + +.news-title{ + font-family: helvetica; + display:block; + width:100%; + font-weight: bold; + font-size: 0.8em; + text-decoration: underline; +} +.news-preview{ + font-family: helvetica; + width:100%; + font-size: 0.7em; + text-decoration: none; +} + + +#line{ + width:100%; + height:1px; + border-top: 1px solid #aaa; +} + +h1{ + color: #003680; + font-size: 26px; + /*font-weight: bold;*/ + line-height: 28px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS , arial; + /* border-left:10px solid red; + padding-left:10px; + */ +} +/* +h1:first-letter{ + font-weight:bold; + + font-size: 60px; + color: red; +}*/ + +h2{ + color: #003680; + font-size: 22px; + /*font-weight: bold;*/ + line-height: 26px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; +} + +h3{ + color: #003680; + font-size: 16px; + /*font-weight: bold;*/ + line-height: 18px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; +} + +h4{ + color: #003680; + font-size: 14px; + /*font-weight: bold;*/ + line-height: 16px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; +} + + +.h1_div{ + color: #525252; + + font-size: 52px; + line-height: 62px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; + +} +.h2_div{ + color: #525252; + + font-size: 22px; + /* font-weight: bold;*/ + line-height: 32px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; +} + +p,td{ + + padding:0px; + margin:0px; + color: #222; + font-size: 0.9em; + /*padding-left:15px;*/ + text-align: justify; + font-family: georgia; + /* font-weight: bold;*/ + +} + +.content_all, .content_b_left, .content_b_right, .content_m_left, .content_m_right, .content_s_left, .content_s_right, .content_img, .content_img_b, .content_img_m, .content_img_s{ + /* padding: 15px;*/ + padding:0px; + padding-top: 15px; + margin:0px; + float:left; + +} + +.content_all img, .content_b_left img, .content_b_right img, .content_m_left img, .content_m_right img, .content_s_left img, .content_s_right img, .content_img img , .content_img_b img, .content_img_m img, .content_img_s img{ + /* padding: 15px;*/ + padding:0px; + margin:0px; + float:left; + +} + +.content_all{ + width:100%; + display:block; + float: left; +} +.content_b{ + width:75%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_33{ + width:33.33%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_66{ + width:66.66%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_m{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_s{ + width:25%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + + + + +.content_b_left{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; + + /*background-color: #ffffff;*/ + +} +.content_b_right{ + width:50%; + display:inline-block; + float: right; + padding:0px; + margin:0px; +} +.content_m_left{ + width:19em; + display:inline-block; + float: left; +} +.content_m_right{ + width:19em; + display:inline-block; + float: right; +} +.content_s_left{ + width:9em; + display:inline-block; + float: left; +} +.content_s_right{ + width:9em; + display:inline-block; + float: right; +} +.content_img{ + width:100%; + padding:0px; + margin:0px; +} +/* +.content_img{ + width:790px; +} +.content_img_b{ + width:590px; +} +.content_img_m{ + width:390px; +} +.content_img_s{ + width:190px; +} +*/ + +.ul_overview{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; +} + +.ul_overview li a{ + color: #525252; + z-index:22; + font-weight: normal; + text-decoration: none; +} + +.ul_overview li a:hover { + color: #525252; + font-weight: bolder; + text-decoration: underline; + cursor: pointer; +} + + + +.ul_overview a.ul_overview_b{ + color: #252525; + z-index:22; + font-size: 18px; + font-weight: bold; + text-decoration: none; +} + +.ul_overview a.ul_overview_b:hover { + color: #252525; + font-weight: bolder; + text-decoration: none; + cursor: auto; +} + + +.service_icons{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; + +} +.service_icons a{ + text-decoration: none; + height:50px; + line-height:50px; +} + +.service_icons span{ + vertical-align: middle; + line-height:0.8em; + margin: 0px; + padding: 0px; + color: #525252; + font-weight: bold; + font-size: 0.8em; + background-color: red; + + + +} +.service_icons span:hover{ + text-decoration: underline; + font-weight: bolder; + cursor: pointer; + +} + +.service_icons a img{ + width:40px; + height:40px; + margin: 0px; + padding: 0px; + float:left; + border: 2px solid #8c000a; + border-radius: 5px; + +} + +/* +area:hover + div{background: #cccccc; color: #0099ff; border: solid 1px #993366} +.test:hover { + background: transparent url ('../images/test.gif'); + background-color: red; +} + +.de:hover .deimg{ + display:inline; +} + + +#de { left: 0px; top: 21px; width: 101px; z-index:10;} +#de a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#de a:hover {background: url("../images/Europakarte/Deutschland.png") no-repeat; text-decoration:none; cursor: pointer;} + +#at { left: 0px; top: 21px; width: 101px; z-index:10;} +#at a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#at a:hover + #eumap{ +background-color: red; +} + +#eumap { +width: 50%; +height: 50%; +margin:0 auto; +background: url("../images/Europakarte/Europakarte.gif") no-repeat; +position: absolute; +top:400px; +left:200px; +} + +#eumap li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;} + +#eumap a {display: block; text-decoration: none; font-size:11px; font-weight:bold;line-height:normal;} + +#div_deutschland:hover #map_deutschlandt{ + display:none; + display:none; +} +#div_deutschland:hover { + + cursor: pointer; +}*/ +.menu_edit_img{ + background: url("../images/Icons/main/edit.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_del_img{ + background: url("../images/Icons/main/del.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_add_img{ + background: url("../images/Icons/main/plus.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} + +.feedback{ + position:absolute; top:30%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} +.feedback_txt{ + margin:45px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.feedback:hover{ + background-color:#ccc;color:#000; +} + +.aviso{ + position:absolute; top:60%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; + +} +.aviso_txt{ + margin:52px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.aviso:hover{ + background-color:#ddd;color:#000; +} \ No newline at end of file diff --git a/css/main_ie.css b/css/main_ie.css new file mode 100644 index 0000000..4131311 --- /dev/null +++ b/css/main_ie.css @@ -0,0 +1,33 @@ + + #art-banner{ + + + background-color:#012b64; + + background-color:#0066aa; + + height:100%; + width: 100%; + + margin:0px; + padding:0px; + height: 200px; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + + } + + body{ + background: none; + background-image: none; + background-size: 0,0; + background-color: #e8e8ea; + background-color:white; + +} diff --git a/css/main_orgibearb.css b/css/main_orgibearb.css new file mode 100644 index 0000000..b876c6d --- /dev/null +++ b/css/main_orgibearb.css @@ -0,0 +1,1167 @@ +/* + Document : main + Created on : 03.02.2013, 11:07:32 + Author : Main + Description: + Purpose of the stylesheet follows. +*/ +html{ + height: 100%; +} +root { + display: block; +} + +.slider{ + position: relative; + top: 0px; + + font-family:arial; + margin:0px; + padding:0px; + margin-top: 150px; + + margin-bottom: 50px; +} + +#main-page{ + display:inline-block; + + font-family:arial; + margin:0px; + + padding:0px; + margin-top: 0px; + height:100%; + //min-height:600px; + background-color: white; + +} +body{ + font-family: arial; + font-size: 14px; + margin: 0; padding:0; + + background: url("../images/europe.jpg") no-repeat fixed; + background-color: #eee; + //background: url("../images/world3.jpg") no-repeat; + background-size: 100%; + height: 100%; +} +#bodycontent{ + width: 1024px;margin: 0 auto; + // margin-top:160px; + background-color: white; + border-left: 1px solid darkgrey; + border-right: 1px solid darkgrey; + border-top:1px solid darkgrey; +} +.pagecontent{ + width: 900px;height:100%;margin: 0 auto; + // margin-top:-115px; + + margin-top:34px; + padding-top:100px; padding-left:50px; + min-height:600px; +} + +/* +@media screen and (max-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + left: 0px; + + font-family:arial; + margin:0px; + padding:0px; + margin-left: 100px; + margin-top: 100px; + margin-right: 100px; + + margin:0px; + padding:0px; + margin-top: 100px; + left:20px; + margin-left:0em; + margin-bottom: 50px; + } + #main-news{ + position: absolute; + top: 160px; + right:5px; + margin-top: 5em; + left:30em; + + } + body{ + overflow-x: auto; + width: 1024px; + font-family: arial; + font-size: 100%; + background-color:white; + } + +} + +@media screen and (min-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + bottom:10px; + left: 0px; + + + + font-family:arial; + margin:0px; + padding:0px; + margin-top: 100px; + left:50%; + width:40em; + margin-left:-30em; + margin-bottom: 50px; + + } + #main-news{ + + position: absolute; + top: 160px; + right:5px; + + font-family:arial; + margin:0px; + padding:0px; + + margin-top: 5em; + + left:50%; + margin-left:12em; + } + + body { + font-family: arial; + font-size: 100%; + + background-color:white; + } +} +*/ +.footer{ + position: fixed; + bottom: 0px; + left:0px; + width:100%; + height: 30px; + background-color: #eeeeee; + border-top:1px solid darkgray; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_content{ + + position: fixed; + left:50%; + + width:60em; + margin-left:-30em; + + font-size: 0.9em; + color: #333; + line-height: 30px; +} +.footer_menu{ + clear:left; + background:#efefef; + text-align:center; + padding-bottom:10px; + + height: 200px; + + background-color: #333; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_menu_content{ + + font-size: 0.9em; + color: #ddd; + line-height: 100px; +} +.footer_menu_content table{ + width: 900px; + table-layout:fixed; +} + +#nav-main{ + +} + + +#art-logo{ + background-image:url("../images/Logo_small.png"); + margin:0px; + padding:0px; + /*width: 330px;*/ + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:30px; + left: 30px; + z-index: 2; + left:47%; + width:18em; + height:6em; + margin-left:-30em; + + +} + +#art-flags{ + margin:0px; + padding:0px; + width: 500px; + height: 25px; + position: absolute; + top:60px; + right: 60px; + z-index: 2; + right: 50%; + width:20em; + margin-right:-30em; + +} + +#art-flags img{ + float:right; + margin-left: 10px; + + box-shadow: 1px 1px 1px black; + +} + + #art-banner{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-image: none; + margin:0px; + padding:0px; + width: 1024px; + height: 30px; + background-repeat: repeat-x; + background-size: 100% 100%; + margin: 0 auto; + margin-left:-1px; + position: absolute; + top:130px; + //left:0px; + z-index: 1; + /*border-bottom: 1px solid #a5a6aa; + border-top: 1px solid #a5a6aa; +*/ + + } + #art-banner_top{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-color:#c00; + background-image: none; + margin:0px; + padding:0px; + width: 1024px; + height: 5px; + background-repeat: repeat-x; + background-size: 100% 100%; + + margin: 0 auto; + position: absolute; + top:160px; + //left: 0px; + z-index: 1; + +//display:none; + + } + + #art-banner2{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#fff; + + margin:0px; + padding:0px; + width: 22px; + height: 35px; + background-repeat: no-repeat; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: -12px; + z-index: 1; +display:none; + + } +/* +@media screen and (min-width:1024px){ + #art-banner{ + background-color:#0066aa; + margin:0px; + padding:0px; + width: 100%; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } +} +@media screen and (max-width:1024px){ + #art-banner{ + + background-color:#0066aa; + margin:0px; + padding:0px; + width: 1024px; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } + #art-logo{ + left:30px; + width:12em; + margin-left:0em; + } +} + +#art-banner-pic{ + + background-image:url("../images/pics/pic_01.png"); + margin:0px; + padding:0px; + width: 600px; + height: 200px; + position: absolute; + top:00px; + right:0px; + z-index:12; + background-repeat: no-repeat; + background-size: 100% 100%; +} +/* +/************MAIN MENU*************/ + +/* main */ + #main-menu{ + /* padding-left: 100px; + padding-right: 100px; + /*width: 800px;*/ + /*text-align: center; + vertical-align: middle; + */ + font-family:arial; + + height: 10px; + /*position: absolute; + top: 100px; +*/ + z-index: 11; + margin: 0 auto; + // margin-top:-210px; + + position: relative; + top: 129px; + clear: both; + float: left; + width: 100%; +} + +/* +@media screen and (min-width:1024px){ + #main-menu{ + font-family:arial; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:50%; + width:60em; + margin-left:-30em; + } +} +@media screen and (max-width:1024px){ + #main-menu{ + font-family:arial; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:30px; + width:60em; + margin-left:0em; + + } +}*/ +#main-menu ul { + list-style-type: none; + height: 35px; + text-align: center; + width:1000px; + margin: 0 auto; + padding: 0; + + position: relative; +} + +#main-menu li { + float: left; + + padding-left: 10px; + padding-right: 10px; +} + +#main-menu ul a { + display: block; + line-height: 35px; + text-decoration: none; + font-family: arial; + font-size: 14px; + //color: #003680; + color: #fff; + font-weight: normal ; + width:100%; + text-align: center; + margin: 0 ; + + // border:1px solid transparent; + padding-left: 10px; + padding-right: 10px; + /* font-weight: bold;*/ + /*text-shadow: 2px 2px 2px black;*/ + +} + +#main-menu ul a.menu_01_link:hover,#main-menu ul li:hover a.menu_01_link{ //,#main-menu ul a:active + text-decoration: none; + background-color: buttonface; + color: black; + /* border-top:1px solid darkgrey; + border-left:1px solid darkgrey; + border-right:1px solid darkgrey;*/ + +} +#main-menu ul a:hover + .menu_01{ //, #main-menu div.menu_01:hover + display: inline-block; + + opacity:1; + + display: block; + +} +#main-menu ul .menu_01:hover{ //, #main-menu div.menu_01:hover + display: inline-block; + + // opacity:1; + + display: block; + +} + +/* under */ + +#main-menu ul a + .menu_01{ + display:none; + // opacity:0; + + +} +#main-menu div.menu_01 { + + list-style-type: none; + /*position:absolute;*/ + + + margin: 0px; + padding: 0px; + + position: absolute; + top:35px; + left:0px; + width:1050px; + /* + transition: display 0.9s; + -webkit-transition: display 0.9s; + -moz-transition: display 0.9s; + -o-transition: display 0.9s;*/ + /* transition:opacity 500ms linear; */ + +} +#main-menu div.menu_01 .menu_slogan{ + position:absolute; + left:180px; + top:0px; + margin:0px; padding:0px; + padding-top:30px; + font-size:20px; + +} +#main-menu div.menu_01 .menu_logo{ + position:absolute; + left:30px; + top:40px; + margin:0px; + padding:0px; + max-width:100px; + max-height: 100px; + z-index:2; +} + + + +#main-menu div.menu_01{ + list-style-type: none; + + display: inline-block; + + background-color: #efefef; + width: 100%; + border-bottom: 10px solid #003680; + margin: 0px; + padding: 0px; + padding-bottom: 20px; + margin-left:-12px; + width:1024px; +} + +#main-menu div.menu_01 ul { + position:relative; + left:0px; + top:0px; + z-index:2; + list-style-type: none; + + + min-height: 100px; + height: 100%; + /* height: 40px;*/ + width: 100%; + margin-left:180px; + margin-top:60px; + width: 700px; + +} +#main-menu div.menu_01 ul li { + position:relative; + left:0px; + top:0px; + float: none; + + padding: 0px; + min-height: 100%; + margin:0px; + margin-top: 3px; + margin-bottom: 3px; + cursor:pointer; +} + +#main-menu div.menu_01 a { + padding:0px; + padding-right: 10px; + padding-left: 10px; + padding-top: 10px; + + + margin:0px; + display: block; + line-height: 30px; + text-decoration: none; + font-family: arial, serif; + font-size: 15px; + border-bottom:1px solid grey; + font-weight: bold; + text-align: left; + width:100%; + color:#c00; +} + + +#main-menu div.menu_01 ul li div.menu_02 a:hover,#main-menu div.menu_01 a:hover { + text-decoration: underline; + + /* background-color: #003680;*/ + /* color: #003680;*/ +} +#main-menu div.menu_01 ul li div.menu_02 a{ + text-decoration: none; + color: #000000; + font-weight: normal; + font-size: 12px; + + width: 150px; + padding-top:0px; + border:0px; + line-height: 14px; +} + +div.menu_02 ul{ + float: left; + /*display: none;*/ +} +div.menu_02 ul li{ + float: left; + /*display: none;*/ +} + + +div.menu_02 a{ + float: left; + /*display: none;*/ +} + + +div.menu_02 td{ + /*display: none;*/ +} + + + +#main-news{ + + + font-family:arial; + margin:0px; + padding:0px; + + width: 100%; + + /* + height: 40px; + z-index: 11;*/ +} + + +#container-news{ + /*background-color: #dddddd;*/ + /* border:3px groove lightgrey;*/ + /* border: 1px solid #525252;*/ + width:100%; + height:100%; + background-color: #003680; + z-index:11; + color: #fff; +} +#container-news-header{ + text-align: center; + vertical-align: central; + width:99%; + padding-bottom:0px; + background-color: red; + height:26px; + color: #fff; + +} +#container-news-header span{ + text-align: center; + vertical-align: middle; + /*font-weight: bold;*/ + font-size: 1em; + font-weight: bold; + line-height:26px; + border-bottom: 1px solid #525252; + width:99%; + font-family: arial; + float: left; + color: #fff; + +} + +.news_content{ + width:100%; + margin:0px; + margin-top:-10px; + padding:15px; + +} + +.news_content:hover img{ + border:1px solid grey; + cursor:pointer; +} +.news_content:hover span{ + text-decoration: underline; + cursor:pointer; +} +.news_content:hover{ + /* background-color: #eeeeee; */ +} + +.news_content_img { + width:70%; + +} + + +.news-title{ + font-family: helvetica; + display:block; + width:100%; + font-weight: bold; + font-size: 0.8em; + text-decoration: underline; +} +.news-preview{ + font-family: helvetica; + width:100%; + font-size: 0.7em; + text-decoration: none; +} + + +#line{ + width:100%; + height:1px; + border-top: 1px solid #aaa; +} + +h1{ + color: #003680; + font-size: 26px; + /*font-weight: bold;*/ + line-height: 28px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS , arial; + /* border-left:10px solid red; + padding-left:10px; + */ +} +/* +h1:first-letter{ + font-weight:bold; + + font-size: 60px; + color: red; +}*/ + +h2{ + color: #003680; + font-size: 22px; + /*font-weight: bold;*/ + line-height: 26px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: Trebuchet MS, arial; +} + +h3{ + color: #003680; + font-size: 16px; + /*font-weight: bold;*/ + line-height: 18px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; +} + +h4{ + color: #003680; + font-size: 14px; + /*font-weight: bold;*/ + line-height: 16px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; +} + + +.h1_div{ + color: #525252; + + font-size: 52px; + line-height: 62px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; + +} +.h2_div{ + color: #525252; + + font-size: 22px; + /* font-weight: bold;*/ + line-height: 32px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: georgia , arial; +} + +p,td{ + + padding:0px; + margin:0px; + color: #222; + font-size: 0.9em; + /*padding-left:15px;*/ + text-align: justify; + font-family: georgia; + /* font-weight: bold;*/ + +} + +.content_all, .content_b_left, .content_b_right, .content_m_left, .content_m_right, .content_s_left, .content_s_right, .content_img, .content_img_b, .content_img_m, .content_img_s{ + /* padding: 15px;*/ + padding:0px; + padding-top: 15px; + margin:0px; + float:left; + +} + +.content_all img, .content_b_left img, .content_b_right img, .content_m_left img, .content_m_right img, .content_s_left img, .content_s_right img, .content_img img , .content_img_b img, .content_img_m img, .content_img_s img{ + /* padding: 15px;*/ + padding:0px; + margin:0px; + float:left; + +} + +.content_all{ + width:100%; + display:block; + float: left; +} +.content_b{ + width:75%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_33{ + width:33.33%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_66{ + width:66.66%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_m{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_s{ + width:25%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + + + + +.content_b_left{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; + + /*background-color: #ffffff;*/ + +} +.content_b_right{ + width:50%; + display:inline-block; + float: right; + padding:0px; + margin:0px; +} +.content_m_left{ + width:19em; + display:inline-block; + float: left; +} +.content_m_right{ + width:19em; + display:inline-block; + float: right; +} +.content_s_left{ + width:9em; + display:inline-block; + float: left; +} +.content_s_right{ + width:9em; + display:inline-block; + float: right; +} +.content_img{ + width:100%; + padding:0px; + margin:0px; +} +/* +.content_img{ + width:790px; +} +.content_img_b{ + width:590px; +} +.content_img_m{ + width:390px; +} +.content_img_s{ + width:190px; +} +*/ + +.ul_overview{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; +} + +.ul_overview li a{ + color: #525252; + z-index:22; + font-weight: normal; + text-decoration: none; +} + +.ul_overview li a:hover { + color: #525252; + font-weight: bolder; + text-decoration: underline; + cursor: pointer; +} + + + +.ul_overview a.ul_overview_b{ + color: #252525; + z-index:22; + font-size: 18px; + font-weight: bold; + text-decoration: none; +} + +.ul_overview a.ul_overview_b:hover { + color: #252525; + font-weight: bolder; + text-decoration: none; + cursor: auto; +} + + +.service_icons{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; + +} +.service_icons a{ + text-decoration: none; + height:50px; + line-height:50px; +} + +.service_icons span{ + vertical-align: middle; + line-height:0.8em; + margin: 0px; + padding: 0px; + color: #525252; + font-weight: bold; + font-size: 0.8em; + background-color: red; + + + +} +.service_icons span:hover{ + text-decoration: underline; + font-weight: bolder; + cursor: pointer; + +} + +.service_icons a img{ + width:40px; + height:40px; + margin: 0px; + padding: 0px; + float:left; + border: 2px solid #8c000a; + border-radius: 5px; + +} + +/* +area:hover + div{background: #cccccc; color: #0099ff; border: solid 1px #993366} +.test:hover { + background: transparent url ('../images/test.gif'); + background-color: red; +} + +.de:hover .deimg{ + display:inline; +} + + +#de { left: 0px; top: 21px; width: 101px; z-index:10;} +#de a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#de a:hover {background: url("../images/Europakarte/Deutschland.png") no-repeat; text-decoration:none; cursor: pointer;} + +#at { left: 0px; top: 21px; width: 101px; z-index:10;} +#at a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#at a:hover + #eumap{ +background-color: red; +} + +#eumap { +width: 50%; +height: 50%; +margin:0 auto; +background: url("../images/Europakarte/Europakarte.gif") no-repeat; +position: absolute; +top:400px; +left:200px; +} + +#eumap li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;} + +#eumap a {display: block; text-decoration: none; font-size:11px; font-weight:bold;line-height:normal;} + +#div_deutschland:hover #map_deutschlandt{ + display:none; + display:none; +} +#div_deutschland:hover { + + cursor: pointer; +}*/ +.menu_edit_img{ + background: url("../images/Icons/main/edit.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_del_img{ + background: url("../images/Icons/main/del.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_add_img{ + background: url("../images/Icons/main/plus.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} + +.feedback{ + position:absolute; top:30%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} +.feedback_txt{ + margin:45px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.feedback:hover{ + background-color:#ccc;color:#000; +} + +.aviso{ + position:absolute; top:60%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; + +} +.aviso_txt{ + margin:52px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.aviso:hover{ + background-color:#ddd;color:#000; +} \ No newline at end of file diff --git a/css/main_orig.css b/css/main_orig.css new file mode 100644 index 0000000..e3d8fbb --- /dev/null +++ b/css/main_orig.css @@ -0,0 +1,1153 @@ +/* + Document : main + Created on : 03.02.2013, 11:07:32 + Author : Main + Description: + Purpose of the stylesheet follows. +*/ +html{ + height: 100%; +} +root { + display: block; +} + +.slider{ + position: relative; + top: 0px; + + font-family:Helvetica; + margin:0px; + padding:0px; + margin-top: 150px; + + margin-bottom: 50px; +} + +#main-page{ + display:inline-block; + + font-family:Helvetica; + margin:0px; + + padding:0px; + margin-top: 0px; + height:100%; + //min-height:600px; + background-color: white; + +} +body{ + font-family: Helvetica; + font-size: 100%; + margin: 0; padding:0; + + background-color:#eee; + height: 100%; +} +#bodycontent{ + width: 1024px;margin: 0 auto; + background-color: white; + border-left: 1px solid darkgrey; + border-right: 1px solid darkgrey; +} +.pagecontent{ + width: 900px;height:100%;margin: 0 auto; + padding-top:120px; padding-left:50px; + min-height:600px; +} + +/* +@media screen and (max-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + left: 0px; + + font-family:Helvetica; + margin:0px; + padding:0px; + margin-left: 100px; + margin-top: 100px; + margin-right: 100px; + + margin:0px; + padding:0px; + margin-top: 100px; + left:20px; + margin-left:0em; + margin-bottom: 50px; + } + #main-news{ + position: absolute; + top: 160px; + right:5px; + margin-top: 5em; + left:30em; + + } + body{ + overflow-x: auto; + width: 1024px; + font-family: Helvetica; + font-size: 100%; + background-color:white; + } + +} + +@media screen and (min-width:1024px){ + #main-page{ + position: absolute; + top: 160px; + bottom:10px; + left: 0px; + + + + font-family:Helvetica; + margin:0px; + padding:0px; + margin-top: 100px; + left:50%; + width:40em; + margin-left:-30em; + margin-bottom: 50px; + + } + #main-news{ + + position: absolute; + top: 160px; + right:5px; + + font-family:Helvetica; + margin:0px; + padding:0px; + + margin-top: 5em; + + left:50%; + margin-left:12em; + } + + body { + font-family: Helvetica; + font-size: 100%; + + background-color:white; + } +} +*/ +.footer{ + position: fixed; + bottom: 0px; + left:0px; + width:100%; + height: 30px; + background-color: #eeeeee; + border-top:1px solid darkgray; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_content{ + + position: fixed; + left:50%; + + width:60em; + margin-left:-30em; + + font-size: 0.9em; + color: #333; + line-height: 30px; +} +.footer_menu{ + clear:left; + background:#efefef; + text-align:center; + padding-bottom:10px; + + height: 200px; + + background-color: #333; + /* + background-color: #a5a6aa;*/ + z-index: 99; +} + +.footer_menu_content{ + + font-size: 0.9em; + color: #ddd; + line-height: 100px; +} +.footer_menu_content table{ + width: 900px; + table-layout:fixed; +} + +#nav-main{ + +} + + +#art-logo{ + background-image:url("../images/logo_small.png"); + margin:0px; + padding:0px; + /*width: 330px;*/ + height: 165px; + background-repeat: no-repeat; + background-size: 100%; + position: absolute; + top:25px; + left: 60px; + z-index: 2; + left:50%; + width:18em; + height:6em; + margin-left:-30em; + + +} + +#art-flags{ + margin:0px; + padding:0px; + width: 500px; + height: 25px; + position: absolute; + top:40px; + right: 60px; + z-index: 2; + right: 50%; + width:20em; + margin-right:-30em; + +} + +#art-flags img{ + float:right; + margin-left: 10px; + + box-shadow: 1px 1px 1px black; + +} + + #art-banner{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-image: none; + margin:0px; + padding:0px; + width: 100%; + height: 35px; + background-repeat: repeat-x; + background-size: 100% 100%; + + + position: absolute; + top:105px; + left: 0px; + z-index: 1; + /*border-bottom: 1px solid #a5a6aa; + border-top: 1px solid #a5a6aa; +*/ + + } + #art-banner_top{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#003680; + + background-color:#c00; + background-image: none; + margin:0px; + padding:0px; + width: 100%; + height: 5px; + background-repeat: repeat-x; + background-size: 100% 100%; + + + position: absolute; + top:140px; + left: 0px; + z-index: 1; + + + } + + #art-banner2{ + + + /* background-image: url("../images/banner_top_ohneLogo.jpg");*/ + background-color:#c00; + + margin:0px; + padding:0px; + width: 22px; + height: 35px; + background-repeat: no-repeat; + background-size: 100% 100%; + + + position: absolute; + top:0px; + left: -12px; + z-index: 1; + + + } +/* +@media screen and (min-width:1024px){ + #art-banner{ + background-color:#0066aa; + margin:0px; + padding:0px; + width: 100%; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } +} +@media screen and (max-width:1024px){ + #art-banner{ + + background-color:#0066aa; + margin:0px; + padding:0px; + width: 1024px; + height: 200px; + background-repeat: no-repeat; + background-size: 100% 100%; + position: absolute; + top:0px; + left: 0px; + z-index: 1; + border-bottom: 3px solid black; + } + #art-logo{ + left:30px; + width:12em; + margin-left:0em; + } +} + +#art-banner-pic{ + + background-image:url("../images/pics/pic_01.png"); + margin:0px; + padding:0px; + width: 600px; + height: 200px; + position: absolute; + top:00px; + right:0px; + z-index:12; + background-repeat: no-repeat; + background-size: 100% 100%; +} +/* +/************MAIN MENU*************/ + +/* main */ + #main-menu{ + /* padding-left: 100px; + padding-right: 100px; + /*width: 800px;*/ + /*text-align: center; + vertical-align: middle; + */ + font-family:Helvetica; + + height: 10px; + /*position: absolute; + top: 100px; +*/ + z-index: 11; + margin: 0 auto; + + + position: relative; + top: 105px; + clear: both; + float: left; + width: 100%; +} + +/* +@media screen and (min-width:1024px){ + #main-menu{ + font-family:Helvetica; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:50%; + width:60em; + margin-left:-30em; + } +} +@media screen and (max-width:1024px){ + #main-menu{ + font-family:Helvetica; + margin:0px; + padding:0px; + height: 40px; + position: absolute; + top: 160px; + left: 0px; + z-index: 11; + + left:30px; + width:60em; + margin-left:0em; + + } +}*/ +#main-menu ul { + list-style-type: none; + height: 35px; + text-align: center; + width:1000px; + margin: 0 auto; + padding: 0; + + position: relative; +} + +#main-menu li { + float: left; + + padding-left: 10px; + padding-right: 10px; +} + +#main-menu ul a { + display: block; + line-height: 40px; + text-decoration: none; + font-family: Helvetica, serif; + font-size: 16px; + color: white; + font-weight: normal ; + width:100%; + text-align: center; + margin: 0 ; + + padding-left: 10px; + padding-right: 10px; + /* font-weight: bold;*/ + /*text-shadow: 2px 2px 2px black;*/ + +} + +#main-menu ul a.menu_01_link:hover,#main-menu ul li:hover a.menu_01_link{ //,#main-menu ul a:active + text-decoration: none; + background-color: buttonface; + color: black; + +} +#main-menu ul a:hover + .menu_01{ //, #main-menu div.menu_01:hover + display: inline-block; + + opacity:1; + + display: block; + +} +#main-menu ul .menu_01:hover{ //, #main-menu div.menu_01:hover + display: inline-block; + + // opacity:1; + + display: block; + +} + +/* under */ + +#main-menu ul a + .menu_01{ + display:none; + // opacity:0; + + +} +#main-menu div.menu_01 { + + list-style-type: none; + /*position:absolute;*/ + + + margin: 0px; + padding: 0px; + + position: absolute; + top:40px; + left:0px; + width:1050px; + /* + transition: display 0.9s; + -webkit-transition: display 0.9s; + -moz-transition: display 0.9s; + -o-transition: display 0.9s;*/ + /* transition:opacity 500ms linear; */ + +} +#main-menu div.menu_01 .menu_slogan{ + position:absolute; + left:180px; + top:0px; + margin:0px; padding:0px; + padding-top:30px; + font-size:20px; + +} +#main-menu div.menu_01 .menu_logo{ + position:absolute; + left:30px; + top:40px; + margin:0px; + padding:0px; + max-width:100px; + max-height: 100px; + z-index:2; +} + + + +#main-menu div.menu_01{ + list-style-type: none; + + display: inline-block; + + background-color: #efefef; + width: 100%; + border-bottom: 10px solid #003680; + margin: 0px; + padding: 0px; + padding-bottom: 20px; + margin-left:-12px; + width:1024px; +} + +#main-menu div.menu_01 ul { + position:relative; + left:0px; + top:0px; + z-index:2; + list-style-type: none; + + + min-height: 100px; + height: 100%; + /* height: 40px;*/ + width: 100%; + margin-left:180px; + margin-top:60px; + width: 700px; + +} +#main-menu div.menu_01 ul li { + position:relative; + left:0px; + top:0px; + float: none; + + padding: 0px; + min-height: 100%; + margin:0px; + margin-top: 3px; + margin-bottom: 3px; + cursor:pointer; +} + +#main-menu div.menu_01 a { + padding:0px; + padding-right: 10px; + padding-left: 10px; + padding-top: 10px; + + + margin:0px; + display: block; + line-height: 30px; + text-decoration: none; + font-family: Helvetica, serif; + font-size: 16px; + border-bottom:1px solid grey; + font-weight: bold; + text-align: left; + width:100%; + color:#c00; +} + + +#main-menu div.menu_01 ul li div.menu_02 a:hover,#main-menu div.menu_01 a:hover { + text-decoration: underline; + + /* background-color: #003680;*/ + /* color: #003680;*/ +} +#main-menu div.menu_01 ul li div.menu_02 a{ + text-decoration: none; + color: #000000; + font-weight: normal; + font-size: 12px; + + width: 150px; + padding-top:0px; + border:0px; + line-height: 14px; +} + +div.menu_02 ul{ + float: left; + /*display: none;*/ +} +div.menu_02 ul li{ + float: left; + /*display: none;*/ +} + + +div.menu_02 a{ + float: left; + /*display: none;*/ +} + + +div.menu_02 td{ + /*display: none;*/ +} + + + +#main-news{ + + + font-family:Helvetica; + margin:0px; + padding:0px; + + width: 100%; + + /* + height: 40px; + z-index: 11;*/ +} + + +#container-news{ + /*background-color: #dddddd;*/ + /* border:3px groove lightgrey;*/ + /* border: 1px solid #525252;*/ + width:100%; + height:100%; + background-color: #003680; + z-index:11; + color: #fff; +} +#container-news-header{ + text-align: center; + vertical-align: central; + width:99%; + padding-bottom:0px; + background-color: red; + height:26px; + color: #fff; + +} +#container-news-header span{ + text-align: center; + vertical-align: middle; + /*font-weight: bold;*/ + font-size: 1em; + font-weight: bold; + line-height:26px; + border-bottom: 1px solid #525252; + width:99%; + font-family: Helvetica; + float: left; + color: #fff; + +} + +.news_content{ + width:100%; + margin:0px; + margin-top:-10px; + padding:15px; + +} + +.news_content:hover img{ + border:1px solid grey; + cursor:pointer; +} +.news_content:hover span{ + text-decoration: underline; + cursor:pointer; +} +.news_content:hover{ + /* background-color: #eeeeee; */ +} + +.news_content_img { + width:70%; + +} + + +.news-title{ + font-family: helvetica; + display:block; + width:100%; + font-weight: bold; + font-size: 0.8em; + text-decoration: underline; +} +.news-preview{ + font-family: arial; + width:100%; + font-size: 0.7em; + text-decoration: none; +} + + +#line{ + width:100%; + height:1px; + border-top: 1px solid #aaa; +} + +h1{ + color: #003680; + font-size: 26px; + /*font-weight: bold;*/ + line-height: 28px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; + /* border-left:10px solid red; + padding-left:10px; + */ +} +/* +h1:first-letter{ + font-weight:bold; + + font-size: 60px; + color: red; +}*/ + +h2{ + color: #003680; + font-size: 22px; + /*font-weight: bold;*/ + line-height: 26px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + +h3{ + color: #003680; + font-size: 16px; + /*font-weight: bold;*/ + line-height: 18px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + +h4{ + color: #003680; + font-size: 14px; + /*font-weight: bold;*/ + line-height: 16px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + + +.h1_div{ + color: #525252; + + font-size: 52px; + line-height: 62px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; + +} +.h2_div{ + color: #525252; + + font-size: 22px; + /* font-weight: bold;*/ + line-height: 32px; + padding: 0px; + margin: 0px; + margin-top: 5px; + margin-bottom: 5px; + font-family: verdana , arial; +} + +p,td{ + + padding:0px; + margin:0px; + color: #222; + font-size: 0.9em; + /*padding-left:15px;*/ + text-align: justify; + font-family: Helvetica; + /* font-weight: bold;*/ + +} + +.content_all, .content_b_left, .content_b_right, .content_m_left, .content_m_right, .content_s_left, .content_s_right, .content_img, .content_img_b, .content_img_m, .content_img_s{ + /* padding: 15px;*/ + padding:0px; + padding-top: 15px; + margin:0px; + float:left; + +} + +.content_all img, .content_b_left img, .content_b_right img, .content_m_left img, .content_m_right img, .content_s_left img, .content_s_right img, .content_img img , .content_img_b img, .content_img_m img, .content_img_s img{ + /* padding: 15px;*/ + padding:0px; + margin:0px; + float:left; + +} + +.content_all{ + width:100%; + display:block; + float: left; +} +.content_b{ + width:75%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_33{ + width:33.33%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + .content_66{ + width:66.66%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_m{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} +.content_s{ + width:25%; + padding:0px; + margin:0px; + display:inline-block; + float: left; +} + + + + +.content_b_left{ + width:50%; + padding:0px; + margin:0px; + display:inline-block; + float: left; + + /*background-color: #ffffff;*/ + +} +.content_b_right{ + width:50%; + display:inline-block; + float: right; + padding:0px; + margin:0px; +} +.content_m_left{ + width:19em; + display:inline-block; + float: left; +} +.content_m_right{ + width:19em; + display:inline-block; + float: right; +} +.content_s_left{ + width:9em; + display:inline-block; + float: left; +} +.content_s_right{ + width:9em; + display:inline-block; + float: right; +} +.content_img{ + width:100%; + padding:0px; + margin:0px; +} +/* +.content_img{ + width:790px; +} +.content_img_b{ + width:590px; +} +.content_img_m{ + width:390px; +} +.content_img_s{ + width:190px; +} +*/ + +.ul_overview{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; +} + +.ul_overview li a{ + color: #525252; + z-index:22; + font-weight: normal; + text-decoration: none; +} + +.ul_overview li a:hover { + color: #525252; + font-weight: bolder; + text-decoration: underline; + cursor: pointer; +} + + + +.ul_overview a.ul_overview_b{ + color: #252525; + z-index:22; + font-size: 18px; + font-weight: bold; + text-decoration: none; +} + +.ul_overview a.ul_overview_b:hover { + color: #252525; + font-weight: bolder; + text-decoration: none; + cursor: auto; +} + + +.service_icons{ + list-style-type: none; + line-height: 25px; + margin: 0px; + padding: 0px; + +} +.service_icons a{ + text-decoration: none; + height:50px; + line-height:50px; +} + +.service_icons span{ + vertical-align: middle; + line-height:0.8em; + margin: 0px; + padding: 0px; + color: #525252; + font-weight: bold; + font-size: 0.8em; + background-color: red; + + + +} +.service_icons span:hover{ + text-decoration: underline; + font-weight: bolder; + cursor: pointer; + +} + +.service_icons a img{ + width:40px; + height:40px; + margin: 0px; + padding: 0px; + float:left; + border: 2px solid #8c000a; + border-radius: 5px; + +} + +/* +area:hover + div{background: #cccccc; color: #0099ff; border: solid 1px #993366} +.test:hover { + background: transparent url ('../images/test.gif'); + background-color: red; +} + +.de:hover .deimg{ + display:inline; +} + + +#de { left: 0px; top: 21px; width: 101px; z-index:10;} +#de a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#de a:hover {background: url("../images/Europakarte/Deutschland.png") no-repeat; text-decoration:none; cursor: pointer;} + +#at { left: 0px; top: 21px; width: 101px; z-index:10;} +#at a {height: 72px; text-align:center; padding-top:80px; padding-left:15px; color:#fff;} +#at a:hover + #eumap{ +background-color: red; +} + +#eumap { +width: 50%; +height: 50%; +margin:0 auto; +background: url("../images/Europakarte/Europakarte.gif") no-repeat; +position: absolute; +top:400px; +left:200px; +} + +#eumap li {margin: 0; padding: 0; list-style: none; display: block; position: absolute;} + +#eumap a {display: block; text-decoration: none; font-size:11px; font-weight:bold;line-height:normal;} + +#div_deutschland:hover #map_deutschlandt{ + display:none; + display:none; +} +#div_deutschland:hover { + + cursor: pointer; +}*/ +.menu_edit_img{ + background: url("../images/Icons/main/edit.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_del_img{ + background: url("../images/Icons/main/del.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} +.menu_add_img{ + background: url("../images/Icons/main/plus.gif") no-repeat; + width:20px; + height:20px; + background-size: 100% 100%; + float: left; + cursor: pointer; +} + +.feedback{ + position:absolute; top:30%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; +} +.feedback_txt{ + margin:45px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.feedback:hover{ + background-color:#ccc;color:#000; +} + +.aviso{ + position:absolute; top:60%; left:-20px; + width:40px; height:120px; + background-color:#003680; color:#fff; + border:1px solid darkgrey; + overflow:hidden; cursor:pointer; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + border-radius: 10px; + +} +.aviso_txt{ + margin:52px 3px;-moz-transform:rotate(-90deg); + -moz-transform-origin: bottom right; + -webkit-transform: rotate(-90deg); + -webkit-transform-origin: bottom right; + -o-transform: rotate(-90deg); + -o-transform-origin: bottom right; + filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=1); +} +.aviso:hover{ + background-color:#ddd;color:#000; +} \ No newline at end of file diff --git a/css/status.css b/css/status.css new file mode 100644 index 0000000..a49c537 --- /dev/null +++ b/css/status.css @@ -0,0 +1,129 @@ + + +.tableStatus { + font-size: 14px; + width: 100%; + background-color: #fefefe; + padding: 0px; + border:3px solid gray; +} + + + .tableStatus td { + padding: 5px; + text-align: left; + border: 1px solid lightgray; + } + + + .tableStatus tr { + padding: 5px; + border: 1px solid black; + background-color: #ecfaff; + } + .tableStatus th, .tableStatus th td { + font-size: 14px; + background-color: #003680; + color: white; + padding: 5px; + border: 1px solid lightgray; + } + + + .tableStatus .tableStatusVermerke { + /*background-color: #ffe;*/ + background-color: #fefefe; + } + + .tableStatus .tableStatusVermerke td { + border: 0px solid white; + /*background-color: #ffe;*/ + } + + + .tableStatus .tableStatusVermerke .vermerkHeader { + text-align: right; + } + + .tableStatus .fremdspedition { + background-color: #eee; + /*font-style:italic;*/ + } + + + .tableStatus .statusOK { + background-color: #0a0; + color: #fff; + text-align: center ; + font-size: 18px; + } + + .tableStatus .statusNONE { + background-color: #ffdb00; + color: #000; + text-align: center; + font-size: 18px; + } + + + .tableStatus .statusPROBLEM { + background-color: #e10000; + color: #fff; + text-align: center; + font-size: 12px; + } + + .tableStatus .statusUNDEF { + background-color: #eee; + color: #000; + text-align: center; + font-size: 18px; + } + + + + +.statusLKW_Ankunft { + font-size: 20px; + font-weight: bold; + background-color: #003680; + color: #fff; + height: 30px; + margin: auto; + vertical-align: middle; + text-align: center; + line-height: 30px; +} +.statusLKW_Freigegeben { + font-size: 20px; + font-weight: bold; + background-color: green; + color: #fff; + height: 30px; + margin: auto; + vertical-align: middle; + text-align: center; + line-height: 30px; +} + +.statusLKW_Erfasst { + font-size: 20px; + font-weight: bold; + background-color: gray; + color: #fff; + height: 30px; + margin: auto; + vertical-align: middle; + text-align: center; + line-height: 30px; +} + + +.statusLKW_OK { + vertical-align: middle; + height: 50px; + top: 20px; + color: green; + line-height: 50px; +} + \ No newline at end of file diff --git a/css/style.css b/css/style.css new file mode 100644 index 0000000..a4d5ccd --- /dev/null +++ b/css/style.css @@ -0,0 +1,111 @@ +@charset "utf-8"; +/* CSS Document */ + +#eumap { + width: 532px; + height: 523px; + /*width: 1218px; + height: 1245px;*/ + margin:0 auto; + background-color: #ffffff; + /*border: 1px solid black;*/ + background: url("../images/Europakarte/Europakarte.jpg") no-repeat; + background-size: 100% 100%; + position: absolute; + /*top: 250px;*/ + right: 0px; + display:inline-block; + z-index: 19; +} + +.eumap_kreis{ + width: 8px; + height: 8px; + border-radius: 4px; + border: 1px solid black; + background-color: #003680; + z-index:20; + cursor:pointer; +} +.eumap_detail{ + display: none; + z-index:25; +} + +.eumap_kreis:hover + div{ + display: inline; + cursor:pointer; + /* z-index:25; */ +} + +.eumap_kreis_klein{ + width: 5px; + height: 5px; + border-radius: 3px; + border: 1px solid black; + background-color: grey; + z-index:20; + cursor:pointer; +} + + +.eumap_kreis_klein:hover + div{ + display: inline; + cursor:pointer; + /* z-index:25; */ +} + + +.eumap_detail { + + + padding:10px; + width: 200px; + /* height: 50px;*/ + margin-left:20px; + margin-top: -45px; + background-color: white; + border: 1px solid black; + border-radius: 10px; + z-index:25; + background-color: #eeeeee; + + box-shadow: 1px 1px 1px black; +} +.eumap_detail p{ + float:left; +} + + +.eumap_detail img{ + padding:0px; + width: 150px; + /* height: 50px;*/ + margin:5px; + margin-left:15px; + float:left; + box-shadow: 1px 1px 1px gray; +} + +.eumap_detail p .eumap_detail_title{ + font-family: Arial; + text-decoration: none; + font-size: 0.9em; + color: black; + font-weight: bold; + text-decoration: underline; + line-height: 30px; +} +.eumap_detail p .eumap_detail_adress{ + font-family: Arial; + + font-size: 0.7em; + line-height: 1.3em; + text-decoration: none; + color: black; +} + + +.map_Europa_points{ position: absolute;top: 0px;left: 0px; width: 100%; height: 100%; z-index: 29; } +.map_transparent{ position: absolute;top: 0px;left: 0px; width: 100%; height: 100%; display: none; cursor: pointer; z-index: 30; } + diff --git a/css/toptions/example.css b/css/toptions/example.css new file mode 100644 index 0000000..48a1584 --- /dev/null +++ b/css/toptions/example.css @@ -0,0 +1 @@ +#page_content h2{padding-bottom:6px;text-indent:0;background:none}#page_content ol{padding-bottom:5px}#demo a{margin-right:5px;border:0} diff --git a/css/toptions/style.css b/css/toptions/style.css new file mode 100644 index 0000000..89fa3ed --- /dev/null +++ b/css/toptions/style.css @@ -0,0 +1 @@ +*{margin:0;padding:0}html{height:100%}body{height:100%;color:white;font-family:"Lucida Grande", "Arial";font-size:11px;line-height:150%;background:#003343}h1,h2{text-indent:-9999px;background-repeat:no-repeat;background-image:url(../images/sprite-min.png)}h3{margin-top:5px;font-size:12px}a{color:white;outline-style:none;text-decoration:none;border-bottom:1px dotted white}a:hover{border-bottom:1px solid white}ol{margin-top:10px;padding-bottom:12px}ol li{margin-bottom:3px}li{margin-left:30px}div.top_padded{padding-top:3px}.box{margin:4px 0;padding:8px;background-color:#002933 !important;border:1px dashed #529796}.code{font-family:"Courier New", "Courier";font-size:10px}#page_background{height:113px;margin-bottom:-113px;background-image:url(../images/sprite-min.png);background-repeat:repeat-x;background-position:top}#page_wrapper{width:725px;margin:auto;padding-bottom:40px;position:relative}#page_header{height:113px;position:relative;cursor:pointer;background-image:url(../images/sprite-min.png);background-repeat:no-repeat;background-position:left -113px;border-bottom:1px dashed #529796}#page_header h1,#page_header h2{position:absolute}#page_header h2{top:30px;left:84px;width:174px;height:74px;background-image:url(../images/sprite-min.png);background-repeat:no-repeat;background-position:left -226px}#page_header h1{top:70px;left:258px;width:318px;height:12px;background-image:url(../images/sprite-min.png);background-repeat:no-repeat;background-position:left -300px}#page_content{padding:0 15px}#page_content h1,#page_content h2{margin-top:28px}#page_content h1{height:21px;margin-bottom:13px}#page_content h2{height:16px;margin-bottom:10px}#page_content p{margin-top:6px}#page_content p.intro{margin-top:11px;margin-left:12px}#examples{margin-left:15px;padding-top:5px}#examples img{margin:3px 7px 3px 7px}#examples a,#examples img{border:0}h1.thanks_for_download_top_up{background-position:left -1067px !important}h1.some_examples{background-position:left -620px !important} diff --git a/default.aspx b/default.aspx new file mode 100644 index 0000000..8bb6d5f --- /dev/null +++ b/default.aspx @@ -0,0 +1,157 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="default.aspx.vb" Inherits="_Default" %> + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + + VERAG Spedition AG + + + + + + + + + + + + + + + + + + + + + + diff --git a/default.aspx.vb b/default.aspx.vb new file mode 100644 index 0000000..62c95d4 --- /dev/null +++ b/default.aspx.vb @@ -0,0 +1,7 @@ + +Partial Class _Default + Inherits System.Web.UI.Page + Sub test() + + End Sub +End Class diff --git a/default.htm b/default.htm new file mode 100644 index 0000000..7f68aad --- /dev/null +++ b/default.htm @@ -0,0 +1,32 @@ + + + + + +
+
+ + +
+ +
+
+ ATILLA Spedition GmbH
+ Suben 14
+ A 4975 Suben
+
+ Tel.: +43 7711 / 2845 - 0
+ Fax: +43 7711 / 2836
+ E-Mail: atilla@verag.ag +
+
+
+
+ +
+
+ Under construction ... +
+ + \ No newline at end of file diff --git a/downloads/pdf.pdf b/downloads/pdf.pdf new file mode 100644 index 0000000..3d0c9bf Binary files /dev/null and b/downloads/pdf.pdf differ diff --git a/images/Atilla-Logo.jpg b/images/Atilla-Logo.jpg new file mode 100644 index 0000000..ee14542 Binary files /dev/null and b/images/Atilla-Logo.jpg differ diff --git a/images/Etzelshofen_02.gif b/images/Etzelshofen_02.gif new file mode 100644 index 0000000..121f972 Binary files /dev/null and b/images/Etzelshofen_02.gif differ diff --git a/images/Europakarte/Albanien.gif b/images/Europakarte/Albanien.gif new file mode 100644 index 0000000..d8a386f Binary files /dev/null and b/images/Europakarte/Albanien.gif differ diff --git a/images/Europakarte/Albanien.png b/images/Europakarte/Albanien.png new file mode 100644 index 0000000..b44ad95 Binary files /dev/null and b/images/Europakarte/Albanien.png differ diff --git a/images/Europakarte/Belgien.gif b/images/Europakarte/Belgien.gif new file mode 100644 index 0000000..8c2b47b Binary files /dev/null and b/images/Europakarte/Belgien.gif differ diff --git a/images/Europakarte/Belgien.png b/images/Europakarte/Belgien.png new file mode 100644 index 0000000..c312abf Binary files /dev/null and b/images/Europakarte/Belgien.png differ diff --git a/images/Europakarte/BosnienHerzegowina.gif b/images/Europakarte/BosnienHerzegowina.gif new file mode 100644 index 0000000..ebf625e Binary files /dev/null and b/images/Europakarte/BosnienHerzegowina.gif differ diff --git a/images/Europakarte/BosnienHerzegowina.png b/images/Europakarte/BosnienHerzegowina.png new file mode 100644 index 0000000..48524b8 Binary files /dev/null and b/images/Europakarte/BosnienHerzegowina.png differ diff --git a/images/Europakarte/Bulgarien.gif b/images/Europakarte/Bulgarien.gif new file mode 100644 index 0000000..80136da Binary files /dev/null and b/images/Europakarte/Bulgarien.gif differ diff --git a/images/Europakarte/Bulgarien.png b/images/Europakarte/Bulgarien.png new file mode 100644 index 0000000..f91ffe3 Binary files /dev/null and b/images/Europakarte/Bulgarien.png differ diff --git a/images/Europakarte/Daenemark.gif b/images/Europakarte/Daenemark.gif new file mode 100644 index 0000000..470b61e Binary files /dev/null and b/images/Europakarte/Daenemark.gif differ diff --git a/images/Europakarte/Daenemark.png b/images/Europakarte/Daenemark.png new file mode 100644 index 0000000..93dc63e Binary files /dev/null and b/images/Europakarte/Daenemark.png differ diff --git a/images/Europakarte/Deutschland.gif b/images/Europakarte/Deutschland.gif new file mode 100644 index 0000000..c106980 Binary files /dev/null and b/images/Europakarte/Deutschland.gif differ diff --git a/images/Europakarte/Deutschland.png b/images/Europakarte/Deutschland.png new file mode 100644 index 0000000..5c25f35 Binary files /dev/null and b/images/Europakarte/Deutschland.png differ diff --git a/images/Europakarte/Estland.gif b/images/Europakarte/Estland.gif new file mode 100644 index 0000000..ee55f69 Binary files /dev/null and b/images/Europakarte/Estland.gif differ diff --git a/images/Europakarte/Estland.png b/images/Europakarte/Estland.png new file mode 100644 index 0000000..322c5dc Binary files /dev/null and b/images/Europakarte/Estland.png differ diff --git a/images/Europakarte/Europa_points.gif b/images/Europakarte/Europa_points.gif new file mode 100644 index 0000000..4f90603 Binary files /dev/null and b/images/Europakarte/Europa_points.gif differ diff --git a/images/Europakarte/Europakarte.gif b/images/Europakarte/Europakarte.gif new file mode 100644 index 0000000..2db094e Binary files /dev/null and b/images/Europakarte/Europakarte.gif differ diff --git a/images/Europakarte/Europakarte.jpg b/images/Europakarte/Europakarte.jpg new file mode 100644 index 0000000..3a11829 Binary files /dev/null and b/images/Europakarte/Europakarte.jpg differ diff --git a/images/Europakarte/Europakarte.png b/images/Europakarte/Europakarte.png new file mode 100644 index 0000000..bd3da18 Binary files /dev/null and b/images/Europakarte/Europakarte.png differ diff --git a/images/Europakarte/Finnland.gif b/images/Europakarte/Finnland.gif new file mode 100644 index 0000000..1d0038e Binary files /dev/null and b/images/Europakarte/Finnland.gif differ diff --git a/images/Europakarte/Finnland.png b/images/Europakarte/Finnland.png new file mode 100644 index 0000000..6122c8e Binary files /dev/null and b/images/Europakarte/Finnland.png differ diff --git a/images/Europakarte/Frankreich.gif b/images/Europakarte/Frankreich.gif new file mode 100644 index 0000000..ed0f9eb Binary files /dev/null and b/images/Europakarte/Frankreich.gif differ diff --git a/images/Europakarte/Frankreich.png b/images/Europakarte/Frankreich.png new file mode 100644 index 0000000..7a257a7 Binary files /dev/null and b/images/Europakarte/Frankreich.png differ diff --git a/images/Europakarte/Griechenland.gif b/images/Europakarte/Griechenland.gif new file mode 100644 index 0000000..e543848 Binary files /dev/null and b/images/Europakarte/Griechenland.gif differ diff --git a/images/Europakarte/Griechenland.png b/images/Europakarte/Griechenland.png new file mode 100644 index 0000000..17d6e2b Binary files /dev/null and b/images/Europakarte/Griechenland.png differ diff --git a/images/Europakarte/Holland.gif b/images/Europakarte/Holland.gif new file mode 100644 index 0000000..226d7bb Binary files /dev/null and b/images/Europakarte/Holland.gif differ diff --git a/images/Europakarte/Holland.png b/images/Europakarte/Holland.png new file mode 100644 index 0000000..0b09247 Binary files /dev/null and b/images/Europakarte/Holland.png differ diff --git a/images/Europakarte/Irland.gif b/images/Europakarte/Irland.gif new file mode 100644 index 0000000..79b7019 Binary files /dev/null and b/images/Europakarte/Irland.gif differ diff --git a/images/Europakarte/Irland.png b/images/Europakarte/Irland.png new file mode 100644 index 0000000..f641a36 Binary files /dev/null and b/images/Europakarte/Irland.png differ diff --git a/images/Europakarte/Island.gif b/images/Europakarte/Island.gif new file mode 100644 index 0000000..3ef7168 Binary files /dev/null and b/images/Europakarte/Island.gif differ diff --git a/images/Europakarte/Island.png b/images/Europakarte/Island.png new file mode 100644 index 0000000..0911f1f Binary files /dev/null and b/images/Europakarte/Island.png differ diff --git a/images/Europakarte/Italien.gif b/images/Europakarte/Italien.gif new file mode 100644 index 0000000..b0326a4 Binary files /dev/null and b/images/Europakarte/Italien.gif differ diff --git a/images/Europakarte/Italien.png b/images/Europakarte/Italien.png new file mode 100644 index 0000000..c993eb7 Binary files /dev/null and b/images/Europakarte/Italien.png differ diff --git a/images/Europakarte/Kroatien.gif b/images/Europakarte/Kroatien.gif new file mode 100644 index 0000000..9aa75b4 Binary files /dev/null and b/images/Europakarte/Kroatien.gif differ diff --git a/images/Europakarte/Kroatien.png b/images/Europakarte/Kroatien.png new file mode 100644 index 0000000..f8e6e1d Binary files /dev/null and b/images/Europakarte/Kroatien.png differ diff --git a/images/Europakarte/Lettland.gif b/images/Europakarte/Lettland.gif new file mode 100644 index 0000000..ea20e8e Binary files /dev/null and b/images/Europakarte/Lettland.gif differ diff --git a/images/Europakarte/Lettland.png b/images/Europakarte/Lettland.png new file mode 100644 index 0000000..5c18d7f Binary files /dev/null and b/images/Europakarte/Lettland.png differ diff --git a/images/Europakarte/Lichtenstein.gif b/images/Europakarte/Lichtenstein.gif new file mode 100644 index 0000000..5cf1df0 Binary files /dev/null and b/images/Europakarte/Lichtenstein.gif differ diff --git a/images/Europakarte/Lichtenstein.png b/images/Europakarte/Lichtenstein.png new file mode 100644 index 0000000..1079bab Binary files /dev/null and b/images/Europakarte/Lichtenstein.png differ diff --git a/images/Europakarte/Lithauen.gif b/images/Europakarte/Lithauen.gif new file mode 100644 index 0000000..dccf283 Binary files /dev/null and b/images/Europakarte/Lithauen.gif differ diff --git a/images/Europakarte/Lithauen.png b/images/Europakarte/Lithauen.png new file mode 100644 index 0000000..b368df2 Binary files /dev/null and b/images/Europakarte/Lithauen.png differ diff --git a/images/Europakarte/Luxemburg.gif b/images/Europakarte/Luxemburg.gif new file mode 100644 index 0000000..d55274d Binary files /dev/null and b/images/Europakarte/Luxemburg.gif differ diff --git a/images/Europakarte/Luxemburg.png b/images/Europakarte/Luxemburg.png new file mode 100644 index 0000000..17c76b2 Binary files /dev/null and b/images/Europakarte/Luxemburg.png differ diff --git a/images/Europakarte/Marzedonien.gif b/images/Europakarte/Marzedonien.gif new file mode 100644 index 0000000..3c33d2c Binary files /dev/null and b/images/Europakarte/Marzedonien.gif differ diff --git a/images/Europakarte/Marzedonien.png b/images/Europakarte/Marzedonien.png new file mode 100644 index 0000000..4cbdc10 Binary files /dev/null and b/images/Europakarte/Marzedonien.png differ diff --git a/images/Europakarte/Moldawien.gif b/images/Europakarte/Moldawien.gif new file mode 100644 index 0000000..7952e6f Binary files /dev/null and b/images/Europakarte/Moldawien.gif differ diff --git a/images/Europakarte/Moldawien.png b/images/Europakarte/Moldawien.png new file mode 100644 index 0000000..756bca9 Binary files /dev/null and b/images/Europakarte/Moldawien.png differ diff --git a/images/Europakarte/Montenegro.gif b/images/Europakarte/Montenegro.gif new file mode 100644 index 0000000..2fe61b8 Binary files /dev/null and b/images/Europakarte/Montenegro.gif differ diff --git a/images/Europakarte/Montenegro.png b/images/Europakarte/Montenegro.png new file mode 100644 index 0000000..6a7bffe Binary files /dev/null and b/images/Europakarte/Montenegro.png differ diff --git a/images/Europakarte/Norwegen.gif b/images/Europakarte/Norwegen.gif new file mode 100644 index 0000000..acc95d5 Binary files /dev/null and b/images/Europakarte/Norwegen.gif differ diff --git a/images/Europakarte/Norwegen.png b/images/Europakarte/Norwegen.png new file mode 100644 index 0000000..f00c84b Binary files /dev/null and b/images/Europakarte/Norwegen.png differ diff --git a/images/Europakarte/Oesterreich.gif b/images/Europakarte/Oesterreich.gif new file mode 100644 index 0000000..2c2b132 Binary files /dev/null and b/images/Europakarte/Oesterreich.gif differ diff --git a/images/Europakarte/Oesterreich.png b/images/Europakarte/Oesterreich.png new file mode 100644 index 0000000..a51e0d7 Binary files /dev/null and b/images/Europakarte/Oesterreich.png differ diff --git a/images/Europakarte/Polen.gif b/images/Europakarte/Polen.gif new file mode 100644 index 0000000..2ac218d Binary files /dev/null and b/images/Europakarte/Polen.gif differ diff --git a/images/Europakarte/Polen.png b/images/Europakarte/Polen.png new file mode 100644 index 0000000..246e51e Binary files /dev/null and b/images/Europakarte/Polen.png differ diff --git a/images/Europakarte/Portugal.gif b/images/Europakarte/Portugal.gif new file mode 100644 index 0000000..7cd9bba Binary files /dev/null and b/images/Europakarte/Portugal.gif differ diff --git a/images/Europakarte/Portugal.png b/images/Europakarte/Portugal.png new file mode 100644 index 0000000..e480e51 Binary files /dev/null and b/images/Europakarte/Portugal.png differ diff --git a/images/Europakarte/Rumaenien.gif b/images/Europakarte/Rumaenien.gif new file mode 100644 index 0000000..1583f97 Binary files /dev/null and b/images/Europakarte/Rumaenien.gif differ diff --git a/images/Europakarte/Rumaenien.png b/images/Europakarte/Rumaenien.png new file mode 100644 index 0000000..269471a Binary files /dev/null and b/images/Europakarte/Rumaenien.png differ diff --git a/images/Europakarte/Russland.gif b/images/Europakarte/Russland.gif new file mode 100644 index 0000000..acc77a6 Binary files /dev/null and b/images/Europakarte/Russland.gif differ diff --git a/images/Europakarte/Russland.png b/images/Europakarte/Russland.png new file mode 100644 index 0000000..53656da Binary files /dev/null and b/images/Europakarte/Russland.png differ diff --git a/images/Europakarte/Schweden.gif b/images/Europakarte/Schweden.gif new file mode 100644 index 0000000..ee038f1 Binary files /dev/null and b/images/Europakarte/Schweden.gif differ diff --git a/images/Europakarte/Schweden.png b/images/Europakarte/Schweden.png new file mode 100644 index 0000000..9df6c1f Binary files /dev/null and b/images/Europakarte/Schweden.png differ diff --git a/images/Europakarte/Schweiz.gif b/images/Europakarte/Schweiz.gif new file mode 100644 index 0000000..e5525ad Binary files /dev/null and b/images/Europakarte/Schweiz.gif differ diff --git a/images/Europakarte/Schweiz.png b/images/Europakarte/Schweiz.png new file mode 100644 index 0000000..776d923 Binary files /dev/null and b/images/Europakarte/Schweiz.png differ diff --git a/images/Europakarte/Serbien.gif b/images/Europakarte/Serbien.gif new file mode 100644 index 0000000..3e04d36 Binary files /dev/null and b/images/Europakarte/Serbien.gif differ diff --git a/images/Europakarte/Serbien.png b/images/Europakarte/Serbien.png new file mode 100644 index 0000000..41953cc Binary files /dev/null and b/images/Europakarte/Serbien.png differ diff --git a/images/Europakarte/Slowakei.gif b/images/Europakarte/Slowakei.gif new file mode 100644 index 0000000..2c84546 Binary files /dev/null and b/images/Europakarte/Slowakei.gif differ diff --git a/images/Europakarte/Slowakei.png b/images/Europakarte/Slowakei.png new file mode 100644 index 0000000..f1d3178 Binary files /dev/null and b/images/Europakarte/Slowakei.png differ diff --git a/images/Europakarte/Slowenien.gif b/images/Europakarte/Slowenien.gif new file mode 100644 index 0000000..3941e3a Binary files /dev/null and b/images/Europakarte/Slowenien.gif differ diff --git a/images/Europakarte/Slowenien.png b/images/Europakarte/Slowenien.png new file mode 100644 index 0000000..d81f4e4 Binary files /dev/null and b/images/Europakarte/Slowenien.png differ diff --git a/images/Europakarte/Spanien.gif b/images/Europakarte/Spanien.gif new file mode 100644 index 0000000..12aea90 Binary files /dev/null and b/images/Europakarte/Spanien.gif differ diff --git a/images/Europakarte/Spanien.png b/images/Europakarte/Spanien.png new file mode 100644 index 0000000..a8d988d Binary files /dev/null and b/images/Europakarte/Spanien.png differ diff --git a/images/Europakarte/Tschechien.gif b/images/Europakarte/Tschechien.gif new file mode 100644 index 0000000..d71bef4 Binary files /dev/null and b/images/Europakarte/Tschechien.gif differ diff --git a/images/Europakarte/Tschechien.png b/images/Europakarte/Tschechien.png new file mode 100644 index 0000000..42d7aa6 Binary files /dev/null and b/images/Europakarte/Tschechien.png differ diff --git a/images/Europakarte/Tuerkei.gif b/images/Europakarte/Tuerkei.gif new file mode 100644 index 0000000..da7c238 Binary files /dev/null and b/images/Europakarte/Tuerkei.gif differ diff --git a/images/Europakarte/Tuerkei.png b/images/Europakarte/Tuerkei.png new file mode 100644 index 0000000..d9c356e Binary files /dev/null and b/images/Europakarte/Tuerkei.png differ diff --git a/images/Europakarte/Ukraine.gif b/images/Europakarte/Ukraine.gif new file mode 100644 index 0000000..ce2db8c Binary files /dev/null and b/images/Europakarte/Ukraine.gif differ diff --git a/images/Europakarte/Ukraine.png b/images/Europakarte/Ukraine.png new file mode 100644 index 0000000..f3c1190 Binary files /dev/null and b/images/Europakarte/Ukraine.png differ diff --git a/images/Europakarte/Ungarn.gif b/images/Europakarte/Ungarn.gif new file mode 100644 index 0000000..f172822 Binary files /dev/null and b/images/Europakarte/Ungarn.gif differ diff --git a/images/Europakarte/Ungarn.png b/images/Europakarte/Ungarn.png new file mode 100644 index 0000000..d1d1097 Binary files /dev/null and b/images/Europakarte/Ungarn.png differ diff --git a/images/Europakarte/VereinigtesKoenigreich.gif b/images/Europakarte/VereinigtesKoenigreich.gif new file mode 100644 index 0000000..5632288 Binary files /dev/null and b/images/Europakarte/VereinigtesKoenigreich.gif differ diff --git a/images/Europakarte/VereinigtesKoenigreich.png b/images/Europakarte/VereinigtesKoenigreich.png new file mode 100644 index 0000000..dd6499b Binary files /dev/null and b/images/Europakarte/VereinigtesKoenigreich.png differ diff --git a/images/Europakarte/Weissrussland.gif b/images/Europakarte/Weissrussland.gif new file mode 100644 index 0000000..c4c4f29 Binary files /dev/null and b/images/Europakarte/Weissrussland.gif differ diff --git a/images/Europakarte/Weissrussland.png b/images/Europakarte/Weissrussland.png new file mode 100644 index 0000000..8da055b Binary files /dev/null and b/images/Europakarte/Weissrussland.png differ diff --git a/images/Europakarte/Zypern.gif b/images/Europakarte/Zypern.gif new file mode 100644 index 0000000..aef6bc4 Binary files /dev/null and b/images/Europakarte/Zypern.gif differ diff --git a/images/Europakarte/Zypern.png b/images/Europakarte/Zypern.png new file mode 100644 index 0000000..bc992e8 Binary files /dev/null and b/images/Europakarte/Zypern.png differ diff --git a/images/Icons/favicon/favicon.ico b/images/Icons/favicon/favicon.ico new file mode 100644 index 0000000..8b1cfe4 Binary files /dev/null and b/images/Icons/favicon/favicon.ico differ diff --git a/images/Icons/main/del.gif b/images/Icons/main/del.gif new file mode 100644 index 0000000..ba98838 Binary files /dev/null and b/images/Icons/main/del.gif differ diff --git a/images/Icons/main/edit.gif b/images/Icons/main/edit.gif new file mode 100644 index 0000000..0998a4a Binary files /dev/null and b/images/Icons/main/edit.gif differ diff --git a/images/Icons/main/edit_types/add_contend_25-75.gif b/images/Icons/main/edit_types/add_contend_25-75.gif new file mode 100644 index 0000000..5e736b4 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_25-75.gif differ diff --git a/images/Icons/main/edit_types/add_contend_50-50.gif b/images/Icons/main/edit_types/add_contend_50-50.gif new file mode 100644 index 0000000..9c3bbc6 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_50-50.gif differ diff --git a/images/Icons/main/edit_types/add_contend_50-pic.gif b/images/Icons/main/edit_types/add_contend_50-pic.gif new file mode 100644 index 0000000..e03a976 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_50-pic.gif differ diff --git a/images/Icons/main/edit_types/add_contend_75-25.gif b/images/Icons/main/edit_types/add_contend_75-25.gif new file mode 100644 index 0000000..4b67a03 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_75-25.gif differ diff --git a/images/Icons/main/edit_types/add_contend_75-pic.gif b/images/Icons/main/edit_types/add_contend_75-pic.gif new file mode 100644 index 0000000..852c867 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_75-pic.gif differ diff --git a/images/Icons/main/edit_types/add_contend_full.gif b/images/Icons/main/edit_types/add_contend_full.gif new file mode 100644 index 0000000..0034af7 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_full.gif differ diff --git a/images/Icons/main/edit_types/add_contend_pic-50.gif b/images/Icons/main/edit_types/add_contend_pic-50.gif new file mode 100644 index 0000000..924f459 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_pic-50.gif differ diff --git a/images/Icons/main/edit_types/add_contend_pic-75.gif b/images/Icons/main/edit_types/add_contend_pic-75.gif new file mode 100644 index 0000000..f56fc87 Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_pic-75.gif differ diff --git a/images/Icons/main/edit_types/add_contend_pic.gif b/images/Icons/main/edit_types/add_contend_pic.gif new file mode 100644 index 0000000..1b9607e Binary files /dev/null and b/images/Icons/main/edit_types/add_contend_pic.gif differ diff --git a/images/Icons/main/edit_types/line.gif b/images/Icons/main/edit_types/line.gif new file mode 100644 index 0000000..1b3111f Binary files /dev/null and b/images/Icons/main/edit_types/line.gif differ diff --git a/images/Icons/main/edit_types/title.gif b/images/Icons/main/edit_types/title.gif new file mode 100644 index 0000000..1b12bd6 Binary files /dev/null and b/images/Icons/main/edit_types/title.gif differ diff --git a/images/Icons/main/plus.gif b/images/Icons/main/plus.gif new file mode 100644 index 0000000..20694fe Binary files /dev/null and b/images/Icons/main/plus.gif differ diff --git a/images/Icons/service/auszahlung.png b/images/Icons/service/auszahlung.png new file mode 100644 index 0000000..d632e98 Binary files /dev/null and b/images/Icons/service/auszahlung.png differ diff --git a/images/Icons/service/cemt.png b/images/Icons/service/cemt.png new file mode 100644 index 0000000..3509ce4 Binary files /dev/null and b/images/Icons/service/cemt.png differ diff --git a/images/Icons/service/hilfe.png b/images/Icons/service/hilfe.png new file mode 100644 index 0000000..b2e1f42 Binary files /dev/null and b/images/Icons/service/hilfe.png differ diff --git a/images/Icons/service/lagerung.png b/images/Icons/service/lagerung.png new file mode 100644 index 0000000..2f42cb4 Binary files /dev/null and b/images/Icons/service/lagerung.png differ diff --git a/images/Icons/service/maut.png b/images/Icons/service/maut.png new file mode 100644 index 0000000..d05c304 Binary files /dev/null and b/images/Icons/service/maut.png differ diff --git a/images/Icons/service/parkplatz.png b/images/Icons/service/parkplatz.png new file mode 100644 index 0000000..6d124da Binary files /dev/null and b/images/Icons/service/parkplatz.png differ diff --git a/images/Icons/service/quick-stop.png b/images/Icons/service/quick-stop.png new file mode 100644 index 0000000..e3d3c89 Binary files /dev/null and b/images/Icons/service/quick-stop.png differ diff --git a/images/Icons/service/reperatur.png b/images/Icons/service/reperatur.png new file mode 100644 index 0000000..0949180 Binary files /dev/null and b/images/Icons/service/reperatur.png differ diff --git a/images/Icons/service/rola.png b/images/Icons/service/rola.png new file mode 100644 index 0000000..f94299e Binary files /dev/null and b/images/Icons/service/rola.png differ diff --git a/images/Icons/service/steuer.png b/images/Icons/service/steuer.png new file mode 100644 index 0000000..6c90108 Binary files /dev/null and b/images/Icons/service/steuer.png differ diff --git a/images/Icons/service/tanken.png b/images/Icons/service/tanken.png new file mode 100644 index 0000000..6c0a0af Binary files /dev/null and b/images/Icons/service/tanken.png differ diff --git a/images/Icons/service/versicherung.png b/images/Icons/service/versicherung.png new file mode 100644 index 0000000..78d44d1 Binary files /dev/null and b/images/Icons/service/versicherung.png differ diff --git a/images/Icons/service/versorgung.png b/images/Icons/service/versorgung.png new file mode 100644 index 0000000..c698e9c Binary files /dev/null and b/images/Icons/service/versorgung.png differ diff --git a/images/Icons/service/zoll.png b/images/Icons/service/zoll.png new file mode 100644 index 0000000..ce6ebc7 Binary files /dev/null and b/images/Icons/service/zoll.png differ diff --git a/images/Logo_small.png b/images/Logo_small.png new file mode 100644 index 0000000..c59d7a3 Binary files /dev/null and b/images/Logo_small.png differ diff --git a/images/Suben_WESTHP_01.jpg b/images/Suben_WESTHP_01.jpg new file mode 100644 index 0000000..66cfbdc Binary files /dev/null and b/images/Suben_WESTHP_01.jpg differ diff --git a/images/Suben_WEST_12.gif b/images/Suben_WEST_12.gif new file mode 100644 index 0000000..8c283be Binary files /dev/null and b/images/Suben_WEST_12.gif differ diff --git a/images/Under_Construction.jpeg b/images/Under_Construction.jpeg new file mode 100644 index 0000000..5e2720a Binary files /dev/null and b/images/Under_Construction.jpeg differ diff --git a/images/VERAG_Mittich_11.11.08_neu2.gif b/images/VERAG_Mittich_11.11.08_neu2.gif new file mode 100644 index 0000000..14fbc7e Binary files /dev/null and b/images/VERAG_Mittich_11.11.08_neu2.gif differ diff --git a/images/VERAG_WEST2_hinten.jpg b/images/VERAG_WEST2_hinten.jpg new file mode 100644 index 0000000..e8df97d Binary files /dev/null and b/images/VERAG_WEST2_hinten.jpg differ diff --git a/images/VERAG_WEST2_hinten_neu2.jpg b/images/VERAG_WEST2_hinten_neu2.jpg new file mode 100644 index 0000000..daddd75 Binary files /dev/null and b/images/VERAG_WEST2_hinten_neu2.jpg differ diff --git a/images/VERAG_WEST2_vorne_neu2.jpg b/images/VERAG_WEST2_vorne_neu2.jpg new file mode 100644 index 0000000..2bf838f Binary files /dev/null and b/images/VERAG_WEST2_vorne_neu2.jpg differ diff --git a/images/actdot.png b/images/actdot.png new file mode 100644 index 0000000..5d02a33 Binary files /dev/null and b/images/actdot.png differ diff --git a/images/banner_top_ohneLogo.jpg b/images/banner_top_ohneLogo.jpg new file mode 100644 index 0000000..2aca976 Binary files /dev/null and b/images/banner_top_ohneLogo.jpg differ diff --git a/images/banner_top_ohneLogo2.jpg b/images/banner_top_ohneLogo2.jpg new file mode 100644 index 0000000..cdd7a56 Binary files /dev/null and b/images/banner_top_ohneLogo2.jpg differ diff --git a/images/bonitaet.png b/images/bonitaet.png new file mode 100644 index 0000000..2b50ece Binary files /dev/null and b/images/bonitaet.png differ diff --git a/images/brexit.jpg b/images/brexit.jpg new file mode 100644 index 0000000..50008fb Binary files /dev/null and b/images/brexit.jpg differ diff --git a/images/europe.jpg b/images/europe.jpg new file mode 100644 index 0000000..d39b3cc Binary files /dev/null and b/images/europe.jpg differ diff --git a/images/europe2.jpg b/images/europe2.jpg new file mode 100644 index 0000000..0b6365f Binary files /dev/null and b/images/europe2.jpg differ diff --git a/images/europe3.jpg b/images/europe3.jpg new file mode 100644 index 0000000..b125392 Binary files /dev/null and b/images/europe3.jpg differ diff --git a/images/europe4.jpg b/images/europe4.jpg new file mode 100644 index 0000000..a660820 Binary files /dev/null and b/images/europe4.jpg differ diff --git a/images/europe_o.jpg b/images/europe_o.jpg new file mode 100644 index 0000000..325479b Binary files /dev/null and b/images/europe_o.jpg differ diff --git a/images/europe_oo.jpg b/images/europe_oo.jpg new file mode 100644 index 0000000..27b419f Binary files /dev/null and b/images/europe_oo.jpg differ diff --git a/images/flagge_A.gif b/images/flagge_A.gif new file mode 100644 index 0000000..448da55 Binary files /dev/null and b/images/flagge_A.gif differ diff --git a/images/flagge_BG.gif b/images/flagge_BG.gif new file mode 100644 index 0000000..5712759 Binary files /dev/null and b/images/flagge_BG.gif differ diff --git a/images/flagge_BIH.gif b/images/flagge_BIH.gif new file mode 100644 index 0000000..e5751b1 Binary files /dev/null and b/images/flagge_BIH.gif differ diff --git a/images/flagge_D.gif b/images/flagge_D.gif new file mode 100644 index 0000000..c0a1c3e Binary files /dev/null and b/images/flagge_D.gif differ diff --git a/images/flagge_GB.gif b/images/flagge_GB.gif new file mode 100644 index 0000000..b2df614 Binary files /dev/null and b/images/flagge_GB.gif differ diff --git a/images/flagge_HR.gif b/images/flagge_HR.gif new file mode 100644 index 0000000..ce73c21 Binary files /dev/null and b/images/flagge_HR.gif differ diff --git a/images/flagge_RO.gif b/images/flagge_RO.gif new file mode 100644 index 0000000..ab7b66c Binary files /dev/null and b/images/flagge_RO.gif differ diff --git a/images/flagge_SM.gif b/images/flagge_SM.gif new file mode 100644 index 0000000..497e000 Binary files /dev/null and b/images/flagge_SM.gif differ diff --git a/images/flagge_TR.gif b/images/flagge_TR.gif new file mode 100644 index 0000000..43a4f2f Binary files /dev/null and b/images/flagge_TR.gif differ diff --git a/images/flags/flagge_A.gif b/images/flags/flagge_A.gif new file mode 100644 index 0000000..448da55 Binary files /dev/null and b/images/flags/flagge_A.gif differ diff --git a/images/flags/flagge_BG.gif b/images/flags/flagge_BG.gif new file mode 100644 index 0000000..5712759 Binary files /dev/null and b/images/flags/flagge_BG.gif differ diff --git a/images/flags/flagge_BIH.gif b/images/flags/flagge_BIH.gif new file mode 100644 index 0000000..e5751b1 Binary files /dev/null and b/images/flags/flagge_BIH.gif differ diff --git a/images/flags/flagge_D.gif b/images/flags/flagge_D.gif new file mode 100644 index 0000000..c0a1c3e Binary files /dev/null and b/images/flags/flagge_D.gif differ diff --git a/images/flags/flagge_GB.gif b/images/flags/flagge_GB.gif new file mode 100644 index 0000000..b2df614 Binary files /dev/null and b/images/flags/flagge_GB.gif differ diff --git a/images/flags/flagge_RO.gif b/images/flags/flagge_RO.gif new file mode 100644 index 0000000..ab7b66c Binary files /dev/null and b/images/flags/flagge_RO.gif differ diff --git a/images/flags/flagge_SM.gif b/images/flags/flagge_SM.gif new file mode 100644 index 0000000..497e000 Binary files /dev/null and b/images/flags/flagge_SM.gif differ diff --git a/images/flags/flagge_TR.gif b/images/flags/flagge_TR.gif new file mode 100644 index 0000000..43a4f2f Binary files /dev/null and b/images/flags/flagge_TR.gif differ diff --git a/images/handshake.png b/images/handshake.png new file mode 100644 index 0000000..0fc984f Binary files /dev/null and b/images/handshake.png differ diff --git a/images/highway118.gif b/images/highway118.gif new file mode 100644 index 0000000..e7b6622 Binary files /dev/null and b/images/highway118.gif differ diff --git a/images/highway118_2.gif b/images/highway118_2.gif new file mode 100644 index 0000000..676fcae Binary files /dev/null and b/images/highway118_2.gif differ diff --git a/images/karte_at.gif b/images/karte_at.gif new file mode 100644 index 0000000..b43f0ef Binary files /dev/null and b/images/karte_at.gif differ diff --git a/images/karte_at_1.gif b/images/karte_at_1.gif new file mode 100644 index 0000000..b43f0ef Binary files /dev/null and b/images/karte_at_1.gif differ diff --git a/images/karte_bg.gif b/images/karte_bg.gif new file mode 100644 index 0000000..8a135d8 Binary files /dev/null and b/images/karte_bg.gif differ diff --git a/images/karte_de.gif b/images/karte_de.gif new file mode 100644 index 0000000..c062132 Binary files /dev/null and b/images/karte_de.gif differ diff --git a/images/karte_de_neu.GIF b/images/karte_de_neu.GIF new file mode 100644 index 0000000..8b67566 Binary files /dev/null and b/images/karte_de_neu.GIF differ diff --git a/images/karte_ro.gif b/images/karte_ro.gif new file mode 100644 index 0000000..6057f1f Binary files /dev/null and b/images/karte_ro.gif differ diff --git a/images/karte_ro_neu.gif b/images/karte_ro_neu.gif new file mode 100644 index 0000000..3db0c92 Binary files /dev/null and b/images/karte_ro_neu.gif differ diff --git a/images/karte_sm.gif b/images/karte_sm.gif new file mode 100644 index 0000000..b390ea2 Binary files /dev/null and b/images/karte_sm.gif differ diff --git a/images/karte_tr.gif b/images/karte_tr.gif new file mode 100644 index 0000000..515eef5 Binary files /dev/null and b/images/karte_tr.gif differ diff --git a/images/kravatte.jpg b/images/kravatte.jpg new file mode 100644 index 0000000..26b0962 Binary files /dev/null and b/images/kravatte.jpg differ diff --git a/images/large_Partner_neu.gif b/images/large_Partner_neu.gif new file mode 100644 index 0000000..0d812a2 Binary files /dev/null and b/images/large_Partner_neu.gif differ diff --git a/images/large_park_tank.gif b/images/large_park_tank.gif new file mode 100644 index 0000000..de8731f Binary files /dev/null and b/images/large_park_tank.gif differ diff --git a/images/main-gradient.png b/images/main-gradient.png new file mode 100644 index 0000000..f25cb2e Binary files /dev/null and b/images/main-gradient.png differ diff --git a/images/mitarb.jpg b/images/mitarb.jpg new file mode 100644 index 0000000..b6238c5 Binary files /dev/null and b/images/mitarb.jpg differ diff --git a/images/network/suben.jpg b/images/network/suben.jpg new file mode 100644 index 0000000..2bf838f Binary files /dev/null and b/images/network/suben.jpg differ diff --git a/images/netzwerk.png b/images/netzwerk.png new file mode 100644 index 0000000..d0e5fba Binary files /dev/null and b/images/netzwerk.png differ diff --git a/images/okRound.jpg b/images/okRound.jpg new file mode 100644 index 0000000..d855449 Binary files /dev/null and b/images/okRound.jpg differ diff --git a/images/pdficon.gif b/images/pdficon.gif new file mode 100644 index 0000000..9d33d91 Binary files /dev/null and b/images/pdficon.gif differ diff --git a/images/pics/pic_01.png b/images/pics/pic_01.png new file mode 100644 index 0000000..10a072c Binary files /dev/null and b/images/pics/pic_01.png differ diff --git a/images/road.jpg b/images/road.jpg new file mode 100644 index 0000000..f4e2283 Binary files /dev/null and b/images/road.jpg differ diff --git a/images/samples/news1.jpg b/images/samples/news1.jpg new file mode 100644 index 0000000..a97bfc5 Binary files /dev/null and b/images/samples/news1.jpg differ diff --git a/images/samples/news2.jpg b/images/samples/news2.jpg new file mode 100644 index 0000000..39b84ca Binary files /dev/null and b/images/samples/news2.jpg differ diff --git a/images/samples/news3.jpg b/images/samples/news3.jpg new file mode 100644 index 0000000..080720d Binary files /dev/null and b/images/samples/news3.jpg differ diff --git a/images/slide/slide_01.png b/images/slide/slide_01.png new file mode 100644 index 0000000..7c76ed5 Binary files /dev/null and b/images/slide/slide_01.png differ diff --git a/images/slide/slide_01_old.png b/images/slide/slide_01_old.png new file mode 100644 index 0000000..77998b7 Binary files /dev/null and b/images/slide/slide_01_old.png differ diff --git a/images/slide/slide_02.png b/images/slide/slide_02.png new file mode 100644 index 0000000..7da0835 Binary files /dev/null and b/images/slide/slide_02.png differ diff --git a/images/slide/slide_02_old.png b/images/slide/slide_02_old.png new file mode 100644 index 0000000..136b4e1 Binary files /dev/null and b/images/slide/slide_02_old.png differ diff --git a/images/slide/slide_03.png b/images/slide/slide_03.png new file mode 100644 index 0000000..6c2957e Binary files /dev/null and b/images/slide/slide_03.png differ diff --git a/images/telefon.png b/images/telefon.png new file mode 100644 index 0000000..3b2da02 Binary files /dev/null and b/images/telefon.png differ diff --git a/images/test.gif b/images/test.gif new file mode 100644 index 0000000..ef59a6a Binary files /dev/null and b/images/test.gif differ diff --git a/images/test.png b/images/test.png new file mode 100644 index 0000000..26aa740 Binary files /dev/null and b/images/test.png differ diff --git a/images/thumbnails/1.jpg b/images/thumbnails/1.jpg new file mode 100644 index 0000000..2d0fe22 Binary files /dev/null and b/images/thumbnails/1.jpg differ diff --git a/images/thumbnails/2.jpg b/images/thumbnails/2.jpg new file mode 100644 index 0000000..e459d49 Binary files /dev/null and b/images/thumbnails/2.jpg differ diff --git a/images/thumbnails/3.jpg b/images/thumbnails/3.jpg new file mode 100644 index 0000000..be54722 Binary files /dev/null and b/images/thumbnails/3.jpg differ diff --git a/images/thumbnails/4.jpg b/images/thumbnails/4.jpg new file mode 100644 index 0000000..b044022 Binary files /dev/null and b/images/thumbnails/4.jpg differ diff --git a/images/thumbnails/by-ben-adamson.jpg b/images/thumbnails/by-ben-adamson.jpg new file mode 100644 index 0000000..728cdfc Binary files /dev/null and b/images/thumbnails/by-ben-adamson.jpg differ diff --git a/images/thumbnails/flv.jpg b/images/thumbnails/flv.jpg new file mode 100644 index 0000000..bc0bfc0 Binary files /dev/null and b/images/thumbnails/flv.jpg differ diff --git a/images/thumbnails/google.jpg b/images/thumbnails/google.jpg new file mode 100644 index 0000000..54db0bb Binary files /dev/null and b/images/thumbnails/google.jpg differ diff --git a/images/thumbnails/quicktime.jpg b/images/thumbnails/quicktime.jpg new file mode 100644 index 0000000..fe11b17 Binary files /dev/null and b/images/thumbnails/quicktime.jpg differ diff --git a/images/thumbnails/swf.jpg b/images/thumbnails/swf.jpg new file mode 100644 index 0000000..8939e17 Binary files /dev/null and b/images/thumbnails/swf.jpg differ diff --git a/images/thumbnails/youtube.jpg b/images/thumbnails/youtube.jpg new file mode 100644 index 0000000..c5f694c Binary files /dev/null and b/images/thumbnails/youtube.jpg differ diff --git a/images/top_up/dashboard/bottom_left.png b/images/top_up/dashboard/bottom_left.png new file mode 100644 index 0000000..6191407 Binary files /dev/null and b/images/top_up/dashboard/bottom_left.png differ diff --git a/images/top_up/dashboard/bottom_middle.png b/images/top_up/dashboard/bottom_middle.png new file mode 100644 index 0000000..32838d4 Binary files /dev/null and b/images/top_up/dashboard/bottom_middle.png differ diff --git a/images/top_up/dashboard/bottom_right.png b/images/top_up/dashboard/bottom_right.png new file mode 100644 index 0000000..71ca3f8 Binary files /dev/null and b/images/top_up/dashboard/bottom_right.png differ diff --git a/images/top_up/dashboard/close_link.png b/images/top_up/dashboard/close_link.png new file mode 100644 index 0000000..8905a0d Binary files /dev/null and b/images/top_up/dashboard/close_link.png differ diff --git a/images/top_up/dashboard/controls.png b/images/top_up/dashboard/controls.png new file mode 100644 index 0000000..ed47b83 Binary files /dev/null and b/images/top_up/dashboard/controls.png differ diff --git a/images/top_up/dashboard/middle.png b/images/top_up/dashboard/middle.png new file mode 100644 index 0000000..4e97d13 Binary files /dev/null and b/images/top_up/dashboard/middle.png differ diff --git a/images/top_up/dashboard/middle_left.png b/images/top_up/dashboard/middle_left.png new file mode 100644 index 0000000..4c3b706 Binary files /dev/null and b/images/top_up/dashboard/middle_left.png differ diff --git a/images/top_up/dashboard/middle_right.png b/images/top_up/dashboard/middle_right.png new file mode 100644 index 0000000..04c451f Binary files /dev/null and b/images/top_up/dashboard/middle_right.png differ diff --git a/images/top_up/dashboard/next.png b/images/top_up/dashboard/next.png new file mode 100644 index 0000000..9732bf7 Binary files /dev/null and b/images/top_up/dashboard/next.png differ diff --git a/images/top_up/dashboard/previous.png b/images/top_up/dashboard/previous.png new file mode 100644 index 0000000..580fb37 Binary files /dev/null and b/images/top_up/dashboard/previous.png differ diff --git a/images/top_up/dashboard/resize_link.png b/images/top_up/dashboard/resize_link.png new file mode 100644 index 0000000..64004ef Binary files /dev/null and b/images/top_up/dashboard/resize_link.png differ diff --git a/images/top_up/dashboard/sprite.png b/images/top_up/dashboard/sprite.png new file mode 100644 index 0000000..d4f7502 Binary files /dev/null and b/images/top_up/dashboard/sprite.png differ diff --git a/images/top_up/dashboard/top_left.png b/images/top_up/dashboard/top_left.png new file mode 100644 index 0000000..7b0c76a Binary files /dev/null and b/images/top_up/dashboard/top_left.png differ diff --git a/images/top_up/dashboard/top_middle.png b/images/top_up/dashboard/top_middle.png new file mode 100644 index 0000000..ba7613a Binary files /dev/null and b/images/top_up/dashboard/top_middle.png differ diff --git a/images/top_up/dashboard/top_right.png b/images/top_up/dashboard/top_right.png new file mode 100644 index 0000000..b92b370 Binary files /dev/null and b/images/top_up/dashboard/top_right.png differ diff --git a/images/top_up/flatlook/middle.png b/images/top_up/flatlook/middle.png new file mode 100644 index 0000000..71964c3 Binary files /dev/null and b/images/top_up/flatlook/middle.png differ diff --git a/images/top_up/flatlook/sprite.png b/images/top_up/flatlook/sprite.png new file mode 100644 index 0000000..ffc00f3 Binary files /dev/null and b/images/top_up/flatlook/sprite.png differ diff --git a/images/top_up/loader.gif b/images/top_up/loader.gif new file mode 100644 index 0000000..e7930da Binary files /dev/null and b/images/top_up/loader.gif differ diff --git a/images/top_up/quicklook/bottom_left.png b/images/top_up/quicklook/bottom_left.png new file mode 100644 index 0000000..1dcffca Binary files /dev/null and b/images/top_up/quicklook/bottom_left.png differ diff --git a/images/top_up/quicklook/bottom_middle.png b/images/top_up/quicklook/bottom_middle.png new file mode 100644 index 0000000..c27b277 Binary files /dev/null and b/images/top_up/quicklook/bottom_middle.png differ diff --git a/images/top_up/quicklook/bottom_right.png b/images/top_up/quicklook/bottom_right.png new file mode 100644 index 0000000..134affe Binary files /dev/null and b/images/top_up/quicklook/bottom_right.png differ diff --git a/images/top_up/quicklook/close_link.png b/images/top_up/quicklook/close_link.png new file mode 100644 index 0000000..fb3a4ed Binary files /dev/null and b/images/top_up/quicklook/close_link.png differ diff --git a/images/top_up/quicklook/middle.png b/images/top_up/quicklook/middle.png new file mode 100644 index 0000000..b95345d Binary files /dev/null and b/images/top_up/quicklook/middle.png differ diff --git a/images/top_up/quicklook/middle_left.png b/images/top_up/quicklook/middle_left.png new file mode 100644 index 0000000..d64917b Binary files /dev/null and b/images/top_up/quicklook/middle_left.png differ diff --git a/images/top_up/quicklook/middle_right.png b/images/top_up/quicklook/middle_right.png new file mode 100644 index 0000000..b7cd41a Binary files /dev/null and b/images/top_up/quicklook/middle_right.png differ diff --git a/images/top_up/quicklook/next.png b/images/top_up/quicklook/next.png new file mode 100644 index 0000000..2d52bbb Binary files /dev/null and b/images/top_up/quicklook/next.png differ diff --git a/images/top_up/quicklook/previous.png b/images/top_up/quicklook/previous.png new file mode 100644 index 0000000..c79050d Binary files /dev/null and b/images/top_up/quicklook/previous.png differ diff --git a/images/top_up/quicklook/resize_link.png b/images/top_up/quicklook/resize_link.png new file mode 100644 index 0000000..76e0622 Binary files /dev/null and b/images/top_up/quicklook/resize_link.png differ diff --git a/images/top_up/quicklook/sprite.png b/images/top_up/quicklook/sprite.png new file mode 100644 index 0000000..a7468a9 Binary files /dev/null and b/images/top_up/quicklook/sprite.png differ diff --git a/images/top_up/quicklook/top_left.png b/images/top_up/quicklook/top_left.png new file mode 100644 index 0000000..e8bd721 Binary files /dev/null and b/images/top_up/quicklook/top_left.png differ diff --git a/images/top_up/quicklook/top_middle.png b/images/top_up/quicklook/top_middle.png new file mode 100644 index 0000000..32b97c9 Binary files /dev/null and b/images/top_up/quicklook/top_middle.png differ diff --git a/images/top_up/quicklook/top_right.png b/images/top_up/quicklook/top_right.png new file mode 100644 index 0000000..561c422 Binary files /dev/null and b/images/top_up/quicklook/top_right.png differ diff --git a/images/truck.png b/images/truck.png new file mode 100644 index 0000000..6499b2e Binary files /dev/null and b/images/truck.png differ diff --git a/images/verag_hq.jpg b/images/verag_hq.jpg new file mode 100644 index 0000000..e3ab077 Binary files /dev/null and b/images/verag_hq.jpg differ diff --git a/images/verag_logo_white.png b/images/verag_logo_white.png new file mode 100644 index 0000000..0f81ee8 Binary files /dev/null and b/images/verag_logo_white.png differ diff --git a/images/world.jpg b/images/world.jpg new file mode 100644 index 0000000..47555cc Binary files /dev/null and b/images/world.jpg differ diff --git a/images/world2.jpg b/images/world2.jpg new file mode 100644 index 0000000..f227656 Binary files /dev/null and b/images/world2.jpg differ diff --git a/images/world3.jpg b/images/world3.jpg new file mode 100644 index 0000000..5e64013 Binary files /dev/null and b/images/world3.jpg differ diff --git a/images/world4.jpg b/images/world4.jpg new file mode 100644 index 0000000..02da857 Binary files /dev/null and b/images/world4.jpg differ diff --git a/index_TEST.aspx b/index_TEST.aspx new file mode 100644 index 0000000..4c2c82e --- /dev/null +++ b/index_TEST.aspx @@ -0,0 +1,200 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="index_TEST.aspx.vb" Inherits="_Default" %> + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + + VERAG Spedition AG + + + + + + + + + + + + + + + + + + + + + + + + LOGIN + + + + + diff --git a/index_TEST.aspx.vb b/index_TEST.aspx.vb new file mode 100644 index 0000000..65b2b30 --- /dev/null +++ b/index_TEST.aspx.vb @@ -0,0 +1,5 @@ + +Partial Class _Default + Inherits System.Web.UI.Page + +End Class diff --git a/index_content.aspx b/index_content.aspx new file mode 100644 index 0000000..b1d471f --- /dev/null +++ b/index_content.aspx @@ -0,0 +1,46 @@ +"; + if(mysql_num_rows($qry_blockfields)!=false){ // läuft bockfields durch + while ($blockfield_IDs = mysql_fetch_array($qry_blockfields)) { + $bf_ID=$blockfield_IDs['bfld_ID']; + $bf_begin=$blockfield_IDs['bart_beginParam']; + $bf_end=$blockfield_IDs['bart_endParam']; + + + $qry_blockContent = qry_blockContent($bf_ID); + echo $bf_begin; + $cnt3=0; + if(mysql_num_rows($qry_blockContent)!=false){ // läuft arguments durch + while ($bfld_cnt = mysql_fetch_array($qry_blockContent)) { + // echo "ARGUMENT ID: ".$bf_ID; + //$ID=$bfld_cnt['bfld_ID']; + $begin=$bfld_cnt['barg_beginArgument']; + $end=$bfld_cnt['barg_endArgument']; + $content=$bfld_cnt['bfac_'.$lan]; + $default=$bfld_cnt['bfac_'.$lan]; + if($content==""){ $content=$default; } + if($bfld_cnt['barg_ID']==3){ eval(" ?>".$begin."".$content."".$end.""); } + else{ echo $begin."".$content."".$end; } + $cnt3++; + } + + } + echo $bf_end; + // $cnt2++; + } + } + echo ""; + // $cnt1++; + } + } + + ?> diff --git a/index_content.aspx.vb b/index_content.aspx.vb new file mode 100644 index 0000000..88df8e8 --- /dev/null +++ b/index_content.aspx.vb @@ -0,0 +1,5 @@ + +Partial Class index_content + Inherits System.Web.UI.Page + +End Class diff --git a/js/forms.js b/js/forms.js new file mode 100644 index 0000000..f37d480 --- /dev/null +++ b/js/forms.js @@ -0,0 +1,79 @@ +function formhash(form, password) { + // Create a new element input, this will be our hashed password field. + var p = document.createElement("input"); + + // Add the new element to our form. + form.appendChild(p); + p.name = "p"; + p.type = "hidden"; + p.value = hex_sha512(password.value); + + // Make sure the plaintext password doesn't get sent. + password.value = ""; + + // Finally submit the form. + form.submit(); +} + +function regformhash(form, uid, email, password, conf) { + // Check each field has a value + if (uid.value == '' || + email.value == '' || + password.value == '' || + conf.value == '') { + + alert('You must provide all the requested details. Please try again'); + return false; + } + + // Check the username + + re = /^\w+$/; + if(!re.test(form.username.value)) { + alert("Username must contain only letters, numbers and underscores. Please try again"); + form.username.focus(); + return false; + } + + // Check that the password is sufficiently long (min 6 chars) + // The check is duplicated below, but this is included to give more + // specific guidance to the user + if (password.value.length < 6) { + alert('Passwords must be at least 6 characters long. Please try again'); + form.password.focus(); + return false; + } + + // At least one number, one lowercase and one uppercase letter + // At least six characters + + var re = /(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{6,}/; + if (!re.test(password.value)) { + alert('Passwords must contain at least one number, one lowercase and one uppercase letter. Please try again'); + return false; + } + + // Check password and confirmation are the same + if (password.value != conf.value) { + alert('Your password and confirmation do not match. Please try again'); + form.password.focus(); + return false; + } + + // Create a new element input, this will be our hashed password field. + var p = document.createElement("input"); + + // Add the new element to our form. + form.appendChild(p); + p.name = "p"; + p.type = "hidden"; + p.value = hex_sha512(password.value); + + // Make sure the plaintext password doesn't get sent. + password.value = ""; + conf.value = ""; + + // Finally submit the form. + form.submit(); + return true; +} \ No newline at end of file diff --git a/js/jquery-advanced-news-ticker.jquery.json b/js/jquery-advanced-news-ticker.jquery.json new file mode 100644 index 0000000..2668342 --- /dev/null +++ b/js/jquery-advanced-news-ticker.jquery.json @@ -0,0 +1,44 @@ +{ + "name": "jquery-advanced-news-ticker", + "title": "jQuery Advanced News Ticker", + "description": "A powerful, flexible and animated vertical news ticker plugin for JQuery.", + "keywords": [ + "news", + "ticker", + "newsticker", + "animation", + "scroll", + "scroller", + "slide", + "slider", + "animated", + "callback", + "jquery", + "vertical" + ], + "version": "1.0.1", + "author": { + "name": "risq", + "url": "https://github.com/risq" + }, + "maintainers": [ + { + "name": "risq", + "url": "https://github.com/risq" + } + ], + "licenses": [ + { + "type": "GPL", + "url": "https://github.com/risq/jquery-advanced-news-ticker/blob/master/LICENSE.txt" + } + ], + "bugs": "https://github.com/risq/jquery-advanced-news-ticker/issues", + "homepage": "https://github.com/risq/jquery-advanced-news-ticker", + "docs": "https://github.com/risq/jquery-advanced-news-ticker", + "demo": "http://risq.github.io/jquery-advanced-news-ticker/demo.html", + "download": "https://github.com/risq/jquery-advanced-news-ticker", + "dependencies": { + "jquery": ">=1.5" + } +} \ No newline at end of file diff --git a/js/jquery.newsTicker.js b/js/jquery.newsTicker.js new file mode 100644 index 0000000..19b4f30 --- /dev/null +++ b/js/jquery.newsTicker.js @@ -0,0 +1,248 @@ +/* + _____ _____ _____ _______ + /\ \ /\ \ /\ \ /::\ \ + /::\ \ /::\ \ /::\ \ /::::\ \ + /::::\ \ \:::\ \ /::::\ \ /::::::\ \ + /::::::\ \ \:::\ \ /::::::\ \ /::::::::\ \ + /:::/\:::\ \ \:::\ \ /:::/\:::\ \ /:::/~~\:::\ \ + /:::/__\:::\ \ \:::\ \ /:::/__\:::\ \ /:::/ \:::\ \ + /::::\ \:::\ \ /::::\ \ \:::\ \:::\ \:::/ / \:::\ \ + /::::::\ \:::\ \__ /::::::\ \_\:::\ \:::\ \:/____/ \:::\____\ + /:::/\:::\ \:::\____\ \ /:::/\:::\ \ \:::\ \:::\ \ | |:::| | + /:::/ \:::\ \:::| | \/:::/ \:::\____\ \:::\ \:::\____\___| |:::|____| + \::/ |::::\ /:::|____| /:::/ \::/ / \:::\ \::/ / _\___/:::/ / + \/____|:::::\/:::/ /\/:::/ / \/____/\ \:::\ \/____/:\ |::| /:::/ / + |:::::::::/ /:::::/ / \:::\ \:::\ \ \:::\|::|/:::/ / + |::|\::::/ /\::::/____/ \:::\ \:::\____\ \::::::::::/ / + |::| \::/____/ \:::\ \ \:::\ /:::/ / \::::::::/ / + |::| ~| \:::\ \ \:::\/:::/ / \::::::/ / + |::| | \:::\ \ \::::::/ / \::::/____/ + \::| | \:::\____\ \::::/ / |::| | + \:| | \::/ / \::/ / |::|____| + \|___| \/____/ \/____/ ~~ + + ____.________ _____ .___ .___ + | |\_____ \ __ __ ___________ ___.__. / _ \ __| _/__ _______ ____ ____ ____ __| _/ + | | / / \ \| | \_/ __ \_ __ < | | / /_\ \ / __ |\ \/ /\__ \ / \_/ ___\/ __ \ / __ | +/\__| |/ \_/. \ | /\ ___/| | \/\___ | / | \/ /_/ | \ / / __ \| | \ \__\ ___// /_/ | +\________|\_____\ \_/____/ \___ >__| / ____| \____|__ /\____ | \_/ (____ /___| /\___ >___ >____ | + \__> \/ \/ \/ \/ \/ \/ \/ \/ \/ + _______ ___________.__ __ + \ \ ______ _ ________ \__ ___/|__| ____ | | __ ___________ + ______ / | \_/ __ \ \/ \/ / ___/ | | | |/ ___\| |/ // __ \_ __ \ ______ + /_____/ / | \ ___/\ /\___ \ | | | \ \___| <\ ___/| | \/ /_____/ + \____|__ /\___ >\/\_//____ > |____| |__|\___ >__|_ \\___ >__| + \/ \/ \/ \/ \/ \/ + + +============================================================================================================== + JQuery Advanced News Ticker 1.0.11 (20/02/14) + created by risq + website (docs & demos) : http://risq.github.io/jquery-advanced-news-ticker/ +============================================================================================================== + +*/ + +; +(function($, window, document, undefined) { + 'use strict'; + var pluginName = 'newsTicker', + defaults = { + row_height: 20, + max_rows: 3, + speed: 400, + duration: 2500, + direction: 'up', + autostart: 1, + pauseOnHover: 1, + nextButton: null, + prevButton: null, + startButton: null, + stopButton: null, + hasMoved: function() {}, + movingUp: function() {}, + movingDown: function() {}, + start: function() {}, + stop: function() {}, + pause: function() {}, + unpause: function() {} + }; + + function Plugin(element, options) { + this.element = element; + this.$el = $(element); + this.options = $.extend({}, defaults, options); + this._defaults = defaults; + this._name = pluginName; + this.moveInterval; + this.state = 0; + this.paused = 0; + this.moving = 0; + if (this.$el.is('ul, ol')) { + this.init(); + } + } + + Plugin.prototype = { + init: function() { + this.$el.height(this.options.row_height * this.options.max_rows) + .css({overflow : 'hidden'}); + + this.checkSpeed(); + + if(this.options.nextButton && typeof(this.options.nextButton[0]) !== 'undefined') + this.options.nextButton.click(function(e) { + this.moveNext(); + this.resetInterval(); + }.bind(this)); + if(this.options.prevButton && typeof(this.options.prevButton[0]) !== 'undefined') + this.options.prevButton.click(function(e) { + this.movePrev(); + this.resetInterval(); + }.bind(this)); + if(this.options.stopButton && typeof(this.options.stopButton[0]) !== 'undefined') + this.options.stopButton.click(function(e) { + this.stop() + }.bind(this)); + if(this.options.startButton && typeof(this.options.startButton[0]) !== 'undefined') + this.options.startButton.click(function(e) { + this.start() + }.bind(this)); + + if(this.options.pauseOnHover) { + this.$el.hover(function() { + if (this.state) + this.pause(); + }.bind(this), function() { + if (this.state) + this.unpause(); + }.bind(this)); + } + + if(this.options.autostart) + this.start(); + }, + + start: function() { + if (!this.state) { + this.state = 1; + this.resetInterval(); + this.options.start(); + } + }, + + stop: function() { + if (this.state) { + clearInterval(this.moveInterval); + this.state = 0; + this.options.stop(); + } + }, + + resetInterval: function() { + if (this.state) { + clearInterval(this.moveInterval); + this.moveInterval = setInterval(function() {this.move()}.bind(this), this.options.duration); + } + }, + + move: function() { + if (!this.paused) this.moveNext(); + }, + + moveNext: function() { + if (this.options.direction === 'down') + this.moveDown(); + else if (this.options.direction === 'up') + this.moveUp(); + }, + + movePrev: function() { + if (this.options.direction === 'down') + this.moveUp(); + else if (this.options.direction === 'up') + this.moveDown(); + }, + + pause: function() { + if (!this.paused) this.paused = 1; + this.options.pause(); + }, + + unpause: function() { + if (this.paused) this.paused = 0; + this.options.unpause(); + }, + + moveDown: function() { + if (!this.moving) { + this.moving = 1; + this.options.movingDown(); + this.$el.children('li:last').detach().prependTo(this.$el).css('marginTop', '-' + this.options.row_height + 'px') + .animate({marginTop: '0px'}, this.options.speed, function(){ + this.moving = 0; + this.options.hasMoved(); + }.bind(this)); + } + }, + + moveUp: function() { + if (!this.moving) { + this.moving = 1; + this.options.movingUp(); + var element = this.$el.children('li:first'); + element.animate({marginTop: '-' + this.options.row_height + 'px'}, this.options.speed, + function(){ + element.detach().css('marginTop', '0').appendTo(this.$el); + this.moving = 0; + this.options.hasMoved(); + }.bind(this)); + } + }, + + updateOption: function(option, value) { + if (typeof(this.options[option]) !== 'undefined'){ + this.options[option] = value; + if (option == 'duration' || option == 'speed'){ + this.checkSpeed(); + this.resetInterval(); + } + } + }, + + add: function(content){ + this.$el.append($('
  • ').html(content)); + }, + + getState: function() { + if (paused) return 2 // 2 = paused + else return this.state;// 0 = stopped, 1 = started + }, + + checkSpeed: function() { + if (this.options.duration < (this.options.speed + 25)) + this.options.speed = this.options.duration - 25; + }, + + destroy: function() { + this._destroy(); // or this.delete; depends on jQuery version + } + }; + + $.fn[pluginName] = function(option) { + var args = arguments; + + return this.each(function() { + var $this = $(this), + data = $.data(this, 'plugin_' + pluginName), + options = typeof option === 'object' && option; + if (!data) { + $this.data('plugin_' + pluginName, (data = new Plugin(this, options))); + } + // if first argument is a string, call silimarly named function + if (typeof option === 'string') { + data[option].apply(data, Array.prototype.slice.call(args, 1)); + } + }); + }; +})(jQuery, window, document); diff --git a/js/jquery.newsTicker.min.js b/js/jquery.newsTicker.min.js new file mode 100644 index 0000000..6aedc71 --- /dev/null +++ b/js/jquery.newsTicker.min.js @@ -0,0 +1,12 @@ +/* + JQuery Advanced News Ticker 1.0.11 (20/02/14) + created by risq + website (docs & demos) : http://risq.github.io/jquery-advanced-news-ticker/ +*/ +(function(b,k,l,m){function g(a,f){this.element=a;this.$el=b(a);this.options=b.extend({},c,f);this._defaults=c;this._name=d;this.moveInterval;this.moving=this.paused=this.state=0;(this.$el.is("ul")||this.$el.is("ol"))&&this.init()}var d="newsTicker",c={row_height:20,max_rows:3,speed:400,duration:2500,direction:"up",autostart:1,pauseOnHover:1,nextButton:null,prevButton:null,startButton:null,stopButton:null,hasMoved:function(){},movingUp:function(){},movingDown:function(){},start:function(){},stop:function(){}, +pause:function(){},unpause:function(){}};g.prototype={init:function(){this.$el.height(this.options.row_height*this.options.max_rows).css({overflow:"hidden"});this.checkSpeed();this.options.nextButton&&"undefined"!==typeof this.options.nextButton[0]&&this.options.nextButton.click(function(a){this.moveNext();this.resetInterval()}.bind(this));this.options.prevButton&&"undefined"!==typeof this.options.prevButton[0]&&this.options.prevButton.click(function(a){this.movePrev();this.resetInterval()}.bind(this)); +this.options.stopButton&&"undefined"!==typeof this.options.stopButton[0]&&this.options.stopButton.click(function(a){this.stop()}.bind(this));this.options.startButton&&"undefined"!==typeof this.options.startButton[0]&&this.options.startButton.click(function(a){this.start()}.bind(this));this.options.pauseOnHover&&this.$el.hover(function(){this.state&&this.pause()}.bind(this),function(){this.state&&this.unpause()}.bind(this));this.options.autostart&&this.start()},start:function(){this.state||(this.state= +1,this.resetInterval(),this.options.start())},stop:function(){this.state&&(clearInterval(this.moveInterval),this.state=0,this.options.stop())},resetInterval:function(){this.state&&(clearInterval(this.moveInterval),this.moveInterval=setInterval(function(){this.move()}.bind(this),this.options.duration))},move:function(){this.paused||this.moveNext()},moveNext:function(){"down"===this.options.direction?this.moveDown():"up"===this.options.direction&&this.moveUp()},movePrev:function(){"down"===this.options.direction? +this.moveUp():"up"===this.options.direction&&this.moveDown()},pause:function(){this.paused||(this.paused=1);this.options.pause()},unpause:function(){this.paused&&(this.paused=0);this.options.unpause()},moveDown:function(){this.moving||(this.moving=1,this.options.movingDown(),this.$el.children("li:last").detach().prependTo(this.$el).css("marginTop","-"+this.options.row_height+"px").animate({marginTop:"0px"},this.options.speed,function(){this.moving=0;this.options.hasMoved()}.bind(this)))},moveUp:function(){if(!this.moving){this.moving= +1;this.options.movingUp();var a=this.$el.children("li:first");a.animate({marginTop:"-"+this.options.row_height+"px"},this.options.speed,function(){a.detach().css("marginTop","0").appendTo(this.$el);this.moving=0;this.options.hasMoved()}.bind(this))}},updateOption:function(a,b){"undefined"!==typeof this.options[a]&&(this.options[a]=b,"duration"==a||"speed"==a)&&(this.checkSpeed(),this.resetInterval())},add:function(a){this.$el.append(b("
  • ").html(a))},getState:function(){return paused?2:this.state}, +checkSpeed:function(){this.options.duration<\/script>"); + var script = document.getElementById("__ie_onload"); + script.onreadystatechange = function() { + if (this.readyState == "complete") { + init(); // call the onload handler + } + }; +/*@end @*/ + +/* for Safari */ +if (/WebKit/i.test(navigator.userAgent)) { // sniff + var _timer = setInterval(function() { + if (/loaded|complete/.test(document.readyState)) { + init(); // call the onload handler + } + }, 10); +} + +/* for other browsers */ +window.onload = init; + + +function getScrollXY() { + var scrOfX = 0, scrOfY = 0; + + if( typeof( window.pageYOffset ) == 'number' ) { + //Netscape compliant + scrOfY = window.pageYOffset; + scrOfX = window.pageXOffset; + } else if( document.body && ( document.body.scrollLeft || document.body.scrollTop ) ) { + //DOM compliant + scrOfY = document.body.scrollTop; + scrOfX = document.body.scrollLeft; + } else if( document.documentElement && ( document.documentElement.scrollLeft || document.documentElement.scrollTop ) ) { + //IE6 standards compliant mode + scrOfY = document.documentElement.scrollTop; + scrOfX = document.documentElement.scrollLeft; + } + return [ scrOfX, scrOfY ]; +} + + + function Mausklick2 (Ereignis) { + + pDoc = document.getElementById("eumap"); +alert("ahe"); + var scroll=getScrollXY(); // sroll + offset_left=pDoc.offsetLeft; + // +offset_top=0; + while(pDoc.parentNode!=null && pDoc.parentNode!=undefined){ + pDoc = pDoc.parentNode; + + if(pDoc.offsetTop!=undefined){ offset_top+=pDoc.offsetTop; } + if(pDoc.offsetLeft!=undefined){ offset_left+=pDoc.offsetLeft; } + if(pDoc.parentNode==null || pDoc.parentNode.tagName=="HTML"){ break; } + } + var pos_x=Ereignis.clientX-offset_left+scroll[0]; + var pos_y=Ereignis.clientY-offset_top+scroll[1]; + var eumap_width=document.getElementById('eumap').offsetWidth; + var eumap_height=document.getElementById('eumap').offsetHeight; + + pos_x=parseFloat((100*pos_x)/eumap_width).toFixed(1); + pos_y=parseFloat((100*pos_y)/eumap_height).toFixed(1); + + + // document.getElementById('testtest').innerHTML="

    "+document.getElementById('testtest').innerHTML+""+pos_x+", "+pos_y+"
    "; + + window.open("newMapPoint.php?var_x="+pos_x+"&var_y="+pos_y+"", "Neuen Punkt hinzufügen", "width=500,height=500,left=100,top=200"); + } + function Mausklick (Ereignis) { + /* + * + + d index: tag in C:\xampp\htdocs\Verag_Homepage\index.php on line 36 +Netzwerk + + IDS + Mittel- und Osteuropa + Fiskalverzollungen + +Die VERAG Spedition AG ist eingebunden in ein Netz von neutralen Zollagenten an allen wichtigen Zoll-/Grenzstellen in Mittel- und Osteuropa und ist daher in der Lage, einen lückenlosen Service anzubieten. + + + + + + + + + + + + + +43.0, 50.7 +51.5, 51.4 +51.1, 52.9 +52.0, 54.2 +52.9, 56.5 +50.7, 56.6 +51.5, 58.2 +48.6, 60.3 +42.1, 66.8 +40.2, 67.0 +40.2, 64.5 +37.4, 58.5 +37.7, 56.9 +38.4, 55.5 +35.9, 52.9 +31.0, 63.7 +28.8, 56.9 +26.4, 55.5 +57.2, 64.6 +56.4, 68.2 +52.0, 69.7 +51.5, 72.0 +67.5, 64.5 +66.5, 66.8 +65.7, 68.4 +64.8, 69.4 +63.3, 69.6 +62.0, 70.2 +62.4, 72.8 +70.2, 74.6 +70.2, 77.2 +77.9, 72.6 +78.6, 78.9 + + + Hautppunkte + + + 48.6, 61.7 +49.7, 64.5 +50.8, 64.9 +49.9, 66.4 +54.9, 69.3 +57.4, 65.8 +63.4, 71.0 +65.8, 70.4 +71.3, 78.2 +84.4, 79.7 + + */ + } + function Mausklick22 (Ereignis) { + pDoc = document.getElementById("eumap"); + + var scroll=getScrollXY(); // sroll + offset_left=pDoc.offsetLeft; + // +offset_top=0; + while(pDoc.parentNode!=null && pDoc.parentNode!=undefined){ + pDoc = pDoc.parentNode; + + if(pDoc.offsetTop!=undefined){ offset_top+=pDoc.offsetTop; } + if(pDoc.offsetLeft!=undefined){ offset_left+=pDoc.offsetLeft; } + if(pDoc.parentNode==null || pDoc.parentNode.tagName=="HTML"){ break; } + } + var pos_x=Ereignis.clientX-offset_left+scroll[0]; + var pos_y=Ereignis.clientY-offset_top+scroll[1]; + var eumap_width=document.getElementById('eumap').offsetWidth; + var eumap_height=document.getElementById('eumap').offsetHeight; + + pos_x=parseFloat((100*pos_x)/eumap_width).toFixed(1); + pos_y=parseFloat((100*pos_y)/eumap_height).toFixed(1); + /*document.getElementById('pos_x').value=""+pos_x; + document.getElementById('pos_y').value=""+pos_y;*/ + + for (var i = 0; i < a.length; i++){ + var o=document.getElementById('map_'+a[i][0]); + if( parseFloat(pos_x)>parseFloat(a[i][1]) && parseFloat(pos_x)parseFloat(a[i][3]) && parseFloat(pos_y) 32) bkey = binb_sha512(bkey, key.length * 8); + + var ipad = Array(32), opad = Array(32); + for(var i = 0; i < 32; i++) + { + ipad[i] = bkey[i] ^ 0x36363636; + opad[i] = bkey[i] ^ 0x5C5C5C5C; + } + + var hash = binb_sha512(ipad.concat(rstr2binb(data)), 1024 + data.length * 8); + return binb2rstr(binb_sha512(opad.concat(hash), 1024 + 512)); +} + +/* + * Convert a raw string to a hex string + */ +function rstr2hex(input) +{ + try { hexcase } catch(e) { hexcase=0; } + var hex_tab = hexcase ? "0123456789ABCDEF" : "0123456789abcdef"; + var output = ""; + var x; + for(var i = 0; i < input.length; i++) + { + x = input.charCodeAt(i); + output += hex_tab.charAt((x >>> 4) & 0x0F) + + hex_tab.charAt( x & 0x0F); + } + return output; +} + +/* + * Convert a raw string to a base-64 string + */ +function rstr2b64(input) +{ + try { b64pad } catch(e) { b64pad=''; } + var tab = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"; + var output = ""; + var len = input.length; + for(var i = 0; i < len; i += 3) + { + var triplet = (input.charCodeAt(i) << 16) + | (i + 1 < len ? input.charCodeAt(i+1) << 8 : 0) + | (i + 2 < len ? input.charCodeAt(i+2) : 0); + for(var j = 0; j < 4; j++) + { + if(i * 8 + j * 6 > input.length * 8) output += b64pad; + else output += tab.charAt((triplet >>> 6*(3-j)) & 0x3F); + } + } + return output; +} + +/* + * Convert a raw string to an arbitrary string encoding + */ +function rstr2any(input, encoding) +{ + var divisor = encoding.length; + var i, j, q, x, quotient; + + /* Convert to an array of 16-bit big-endian values, forming the dividend */ + var dividend = Array(Math.ceil(input.length / 2)); + for(i = 0; i < dividend.length; i++) + { + dividend[i] = (input.charCodeAt(i * 2) << 8) | input.charCodeAt(i * 2 + 1); + } + + /* + * Repeatedly perform a long division. The binary array forms the dividend, + * the length of the encoding is the divisor. Once computed, the quotient + * forms the dividend for the next step. All remainders are stored for later + * use. + */ + var full_length = Math.ceil(input.length * 8 / + (Math.log(encoding.length) / Math.log(2))); + var remainders = Array(full_length); + for(j = 0; j < full_length; j++) + { + quotient = Array(); + x = 0; + for(i = 0; i < dividend.length; i++) + { + x = (x << 16) + dividend[i]; + q = Math.floor(x / divisor); + x -= q * divisor; + if(quotient.length > 0 || q > 0) + quotient[quotient.length] = q; + } + remainders[j] = x; + dividend = quotient; + } + + /* Convert the remainders to the output string */ + var output = ""; + for(i = remainders.length - 1; i >= 0; i--) + output += encoding.charAt(remainders[i]); + + return output; +} + +/* + * Encode a string as utf-8. + * For efficiency, this assumes the input is valid utf-16. + */ +function str2rstr_utf8(input) +{ + var output = ""; + var i = -1; + var x, y; + + while(++i < input.length) + { + /* Decode utf-16 surrogate pairs */ + x = input.charCodeAt(i); + y = i + 1 < input.length ? input.charCodeAt(i + 1) : 0; + if(0xD800 <= x && x <= 0xDBFF && 0xDC00 <= y && y <= 0xDFFF) + { + x = 0x10000 + ((x & 0x03FF) << 10) + (y & 0x03FF); + i++; + } + + /* Encode output as utf-8 */ + if(x <= 0x7F) + output += String.fromCharCode(x); + else if(x <= 0x7FF) + output += String.fromCharCode(0xC0 | ((x >>> 6 ) & 0x1F), + 0x80 | ( x & 0x3F)); + else if(x <= 0xFFFF) + output += String.fromCharCode(0xE0 | ((x >>> 12) & 0x0F), + 0x80 | ((x >>> 6 ) & 0x3F), + 0x80 | ( x & 0x3F)); + else if(x <= 0x1FFFFF) + output += String.fromCharCode(0xF0 | ((x >>> 18) & 0x07), + 0x80 | ((x >>> 12) & 0x3F), + 0x80 | ((x >>> 6 ) & 0x3F), + 0x80 | ( x & 0x3F)); + } + return output; +} + +/* + * Encode a string as utf-16 + */ +function str2rstr_utf16le(input) +{ + var output = ""; + for(var i = 0; i < input.length; i++) + output += String.fromCharCode( input.charCodeAt(i) & 0xFF, + (input.charCodeAt(i) >>> 8) & 0xFF); + return output; +} + +function str2rstr_utf16be(input) +{ + var output = ""; + for(var i = 0; i < input.length; i++) + output += String.fromCharCode((input.charCodeAt(i) >>> 8) & 0xFF, + input.charCodeAt(i) & 0xFF); + return output; +} + +/* + * Convert a raw string to an array of big-endian words + * Characters >255 have their high-byte silently ignored. + */ +function rstr2binb(input) +{ + var output = Array(input.length >> 2); + for(var i = 0; i < output.length; i++) + output[i] = 0; + for(var i = 0; i < input.length * 8; i += 8) + output[i>>5] |= (input.charCodeAt(i / 8) & 0xFF) << (24 - i % 32); + return output; +} + +/* + * Convert an array of big-endian words to a string + */ +function binb2rstr(input) +{ + var output = ""; + for(var i = 0; i < input.length * 32; i += 8) + output += String.fromCharCode((input[i>>5] >>> (24 - i % 32)) & 0xFF); + return output; +} + +/* + * Calculate the SHA-512 of an array of big-endian dwords, and a bit length + */ +var sha512_k; +function binb_sha512(x, len) +{ + if(sha512_k == undefined) + { + //SHA512 constants + sha512_k = new Array( +new int64(0x428a2f98, -685199838), new int64(0x71374491, 0x23ef65cd), +new int64(-1245643825, -330482897), new int64(-373957723, -2121671748), +new int64(0x3956c25b, -213338824), new int64(0x59f111f1, -1241133031), +new int64(-1841331548, -1357295717), new int64(-1424204075, -630357736), +new int64(-670586216, -1560083902), new int64(0x12835b01, 0x45706fbe), +new int64(0x243185be, 0x4ee4b28c), new int64(0x550c7dc3, -704662302), +new int64(0x72be5d74, -226784913), new int64(-2132889090, 0x3b1696b1), +new int64(-1680079193, 0x25c71235), new int64(-1046744716, -815192428), +new int64(-459576895, -1628353838), new int64(-272742522, 0x384f25e3), +new int64(0xfc19dc6, -1953704523), new int64(0x240ca1cc, 0x77ac9c65), +new int64(0x2de92c6f, 0x592b0275), new int64(0x4a7484aa, 0x6ea6e483), +new int64(0x5cb0a9dc, -1119749164), new int64(0x76f988da, -2096016459), +new int64(-1740746414, -295247957), new int64(-1473132947, 0x2db43210), +new int64(-1341970488, -1728372417), new int64(-1084653625, -1091629340), +new int64(-958395405, 0x3da88fc2), new int64(-710438585, -1828018395), +new int64(0x6ca6351, -536640913), new int64(0x14292967, 0xa0e6e70), +new int64(0x27b70a85, 0x46d22ffc), new int64(0x2e1b2138, 0x5c26c926), +new int64(0x4d2c6dfc, 0x5ac42aed), new int64(0x53380d13, -1651133473), +new int64(0x650a7354, -1951439906), new int64(0x766a0abb, 0x3c77b2a8), +new int64(-2117940946, 0x47edaee6), new int64(-1838011259, 0x1482353b), +new int64(-1564481375, 0x4cf10364), new int64(-1474664885, -1136513023), +new int64(-1035236496, -789014639), new int64(-949202525, 0x654be30), +new int64(-778901479, -688958952), new int64(-694614492, 0x5565a910), +new int64(-200395387, 0x5771202a), new int64(0x106aa070, 0x32bbd1b8), +new int64(0x19a4c116, -1194143544), new int64(0x1e376c08, 0x5141ab53), +new int64(0x2748774c, -544281703), new int64(0x34b0bcb5, -509917016), +new int64(0x391c0cb3, -976659869), new int64(0x4ed8aa4a, -482243893), +new int64(0x5b9cca4f, 0x7763e373), new int64(0x682e6ff3, -692930397), +new int64(0x748f82ee, 0x5defb2fc), new int64(0x78a5636f, 0x43172f60), +new int64(-2067236844, -1578062990), new int64(-1933114872, 0x1a6439ec), +new int64(-1866530822, 0x23631e28), new int64(-1538233109, -561857047), +new int64(-1090935817, -1295615723), new int64(-965641998, -479046869), +new int64(-903397682, -366583396), new int64(-779700025, 0x21c0c207), +new int64(-354779690, -840897762), new int64(-176337025, -294727304), +new int64(0x6f067aa, 0x72176fba), new int64(0xa637dc5, -1563912026), +new int64(0x113f9804, -1090974290), new int64(0x1b710b35, 0x131c471b), +new int64(0x28db77f5, 0x23047d84), new int64(0x32caab7b, 0x40c72493), +new int64(0x3c9ebe0a, 0x15c9bebc), new int64(0x431d67c4, -1676669620), +new int64(0x4cc5d4be, -885112138), new int64(0x597f299c, -60457430), +new int64(0x5fcb6fab, 0x3ad6faec), new int64(0x6c44198c, 0x4a475817)); + } + + //Initial hash values + var H = new Array( +new int64(0x6a09e667, -205731576), +new int64(-1150833019, -2067093701), +new int64(0x3c6ef372, -23791573), +new int64(-1521486534, 0x5f1d36f1), +new int64(0x510e527f, -1377402159), +new int64(-1694144372, 0x2b3e6c1f), +new int64(0x1f83d9ab, -79577749), +new int64(0x5be0cd19, 0x137e2179)); + + var T1 = new int64(0, 0), + T2 = new int64(0, 0), + a = new int64(0,0), + b = new int64(0,0), + c = new int64(0,0), + d = new int64(0,0), + e = new int64(0,0), + f = new int64(0,0), + g = new int64(0,0), + h = new int64(0,0), + //Temporary variables not specified by the document + s0 = new int64(0, 0), + s1 = new int64(0, 0), + Ch = new int64(0, 0), + Maj = new int64(0, 0), + r1 = new int64(0, 0), + r2 = new int64(0, 0), + r3 = new int64(0, 0); + var j, i; + var W = new Array(80); + for(i=0; i<80; i++) + W[i] = new int64(0, 0); + + // append padding to the source string. The format is described in the FIPS. + x[len >> 5] |= 0x80 << (24 - (len & 0x1f)); + x[((len + 128 >> 10)<< 5) + 31] = len; + + for(i = 0; i=32 +//The function revrrot() is for that +function int64rrot(dst, x, shift) +{ + dst.l = (x.l >>> shift) | (x.h << (32-shift)); + dst.h = (x.h >>> shift) | (x.l << (32-shift)); +} + +//Reverses the dwords of the source and then rotates right by shift. +//This is equivalent to rotation by 32+shift +function int64revrrot(dst, x, shift) +{ + dst.l = (x.h >>> shift) | (x.l << (32-shift)); + dst.h = (x.l >>> shift) | (x.h << (32-shift)); +} + +//Bitwise-shifts right a 64-bit number by shift +//Won't handle shift>=32, but it's never needed in SHA512 +function int64shr(dst, x, shift) +{ + dst.l = (x.l >>> shift) | (x.h << (32-shift)); + dst.h = (x.h >>> shift); +} + +//Adds two 64-bit numbers +//Like the original implementation, does not rely on 32-bit operations +function int64add(dst, x, y) +{ + var w0 = (x.l & 0xffff) + (y.l & 0xffff); + var w1 = (x.l >>> 16) + (y.l >>> 16) + (w0 >>> 16); + var w2 = (x.h & 0xffff) + (y.h & 0xffff) + (w1 >>> 16); + var w3 = (x.h >>> 16) + (y.h >>> 16) + (w2 >>> 16); + dst.l = (w0 & 0xffff) | (w1 << 16); + dst.h = (w2 & 0xffff) | (w3 << 16); +} + +//Same, except with 4 addends. Works faster than adding them one by one. +function int64add4(dst, a, b, c, d) +{ + var w0 = (a.l & 0xffff) + (b.l & 0xffff) + (c.l & 0xffff) + (d.l & 0xffff); + var w1 = (a.l >>> 16) + (b.l >>> 16) + (c.l >>> 16) + (d.l >>> 16) + (w0 >>> 16); + var w2 = (a.h & 0xffff) + (b.h & 0xffff) + (c.h & 0xffff) + (d.h & 0xffff) + (w1 >>> 16); + var w3 = (a.h >>> 16) + (b.h >>> 16) + (c.h >>> 16) + (d.h >>> 16) + (w2 >>> 16); + dst.l = (w0 & 0xffff) | (w1 << 16); + dst.h = (w2 & 0xffff) | (w3 << 16); +} + +//Same, except with 5 addends +function int64add5(dst, a, b, c, d, e) +{ + var w0 = (a.l & 0xffff) + (b.l & 0xffff) + (c.l & 0xffff) + (d.l & 0xffff) + (e.l & 0xffff); + var w1 = (a.l >>> 16) + (b.l >>> 16) + (c.l >>> 16) + (d.l >>> 16) + (e.l >>> 16) + (w0 >>> 16); + var w2 = (a.h & 0xffff) + (b.h & 0xffff) + (c.h & 0xffff) + (d.h & 0xffff) + (e.h & 0xffff) + (w1 >>> 16); + var w3 = (a.h >>> 16) + (b.h >>> 16) + (c.h >>> 16) + (d.h >>> 16) + (e.h >>> 16) + (w2 >>> 16); + dst.l = (w0 & 0xffff) | (w1 << 16); + dst.h = (w2 & 0xffff) | (w3 << 16); +} \ No newline at end of file diff --git a/js/toptions/jquery/all.js b/js/toptions/jquery/all.js new file mode 100644 index 0000000..158d07d --- /dev/null +++ b/js/toptions/jquery/all.js @@ -0,0 +1,193 @@ + +// * +// * 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 +// * + +if (typeof(jQuery) == "undefined") { +(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)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + +// * +// * jQuery UI Core & Resizable 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + +// * +// * jQuery Effects Core & Clip 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + +// * +// * jQuery Effects Core & Clip 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + diff --git a/js/toptions/jquery/core.uic-resizable.js b/js/toptions/jquery/core.uic-resizable.js new file mode 100644 index 0000000..98826dc --- /dev/null +++ b/js/toptions/jquery/core.uic-resizable.js @@ -0,0 +1,176 @@ + +// * +// * 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 +// * + +if (typeof(jQuery) == "undefined") { +(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)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + +// * +// * jQuery UI Core & Resizable 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + diff --git a/js/toptions/jquery/fxc-clip.js b/js/toptions/jquery/fxc-clip.js new file mode 100644 index 0000000..6f2426d --- /dev/null +++ b/js/toptions/jquery/fxc-clip.js @@ -0,0 +1,18 @@ + +// * +// * jQuery Effects Core & Clip 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + diff --git a/js/toptions/jquery/uic-resizable.js b/js/toptions/jquery/uic-resizable.js new file mode 100644 index 0000000..64bfc75 --- /dev/null +++ b/js/toptions/jquery/uic-resizable.js @@ -0,0 +1,18 @@ + +// * +// * jQuery UI Core & Resizable 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + diff --git a/js/toptions/top_up-min.js b/js/toptions/top_up-min.js new file mode 100644 index 0000000..8413c0c --- /dev/null +++ b/js/toptions/top_up-min.js @@ -0,0 +1 @@ +if(typeof(TopUp)=="undefined"){var scriptElement=(function deriveScriptElement(){var c="tu_dummy_script";document.write(''); + + var dummyScript = document.getElementById(id); + var element = dummyScript.previousSibling; + + dummyScript.parentNode.removeChild(dummyScript); + return element; +}()); +var scriptHost = (function deriveScriptHost() { + var src = scriptElement.getAttribute("src"); + return src.match(/^\w+\:\/\//) ? src.match(/^\w+\:\/\/[^\/]*\//)[0] : ""; +}()); + +// * +// * TopUp 1.7.2 (Uncompressed) - Alpha release +// * The #1 Javascript Pop Up / Lightbox (http://gettopup.com) +// * +// * This library requires Prototype (http://prototypejs.org) +// * +// * (c) 2010 Paul Engel (Internetbureau Holder B.V.) +// * Except otherwise noted, TopUp is licensed under +// * http://creativecommons.org/licenses/by-sa/3.0 +// * +// * $Date: 2010-03-07 19:47:47 +0100 (Sun, 07 March 2010) $ +// * + +TopUp = (function() { + var initialized = false, on_ready = [], displaying = false, options = null, group = null, index = null, data = null, reservedDuration = 0.25; + var observing = new Hash({ + body : true, + selector : null, + currently: [] + }); + var default_preset = new Hash({ + layout : "dashboard", + effect : "transform", + duration : 0.5, + resizable: 1 + }), presets = new Hash(); + + var extendPrototype = function() { + Prototype.Browser.IE6 = Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5), 10) == 6; + Prototype.Browser.IE7 = Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5), 10) >= 7; + + Element.addMethods({ + center: function(element) { + element = $(element); + var scrollOffsets = document.viewport.getScrollOffsets(); + return element.setStyle({ + top : parseInt((document.viewport.getHeight() - element.getHeight()) / 2, 10) + scrollOffsets.top + "px", + left : parseInt((document.viewport.getWidth() - element.getWidth() ) / 2, 10) + scrollOffsets.left + "px", + position: "absolute" + }); + }, + lockDimensions: function(element) { + element.setStyle({width: element.getWidth() + "px", height: element.getHeight() + "px"}); + return element; + }, + unlockDimensions: function(element) { + element.setStyle({width: "auto", height: "auto"}); + return element; + }, + centerWrap: function(element, compare) { + var current = {width: element.getWidth(), height: element.getHeight()}, delta = {width: 0, height: 0}, diff = 0; + + diff = compare.getWidth() - current.width; + if (delta.width < diff) { + delta.width = diff; + } + diff = compare.getHeight() - current.height; + if (delta.height < diff) { + delta.height = diff; + } + + var offset = element.cumulativeOffset(); + var css = $H({ + top: offset.top - (delta.height === 0 ? 0 : parseInt(delta.height / 2, 10)), + left: offset.left - (delta.width === 0 ? 0 : parseInt(delta.width / 2, 10)), + width: element.getWidth() + delta.width, + height: element.getHeight() + delta.height + }); + + if (options.get("x")) { + css.set("left", options.get("x") - parseInt((css.get("width") - compare.getWidth()) / 2, 10)); + } + if (options.get("y")) { + css.set("top" , options.get("y") - parseInt((css.get("height") - compare.getHeight()) / 2, 10)); + } + css.keys().each(function(k) { css.set(k, css.get(k) + "px") }); + + $("tu_center_wrapper").setStyle(css.toObject()); + $("tu_centered_content").insert({bottom: element}); + + element.setStyle({ + top: "auto", + left: "auto", + width: "auto", + height: "auto", + display: "inline-block", + position: "relative" + }); + + if (Prototype.Browser.FF2) { + element.setStyle({display: "table"}); + } + if (Prototype.Browser.IE6) { + element.setStyle({display: "inline"}); + } + + $("tu_center_wrapper").show(); + + return element; + }, + removeCenterWrap: function(element) { + var position = $("tu_center_wrapper").cumulativeOffset(); + var delta = {width: $("tu_center_wrapper").getWidth() - element.getWidth(), height: $("tu_center_wrapper").getHeight() - element.getHeight()}; + + document.body.insert({bottom: element.setStyle({top : position.top + parseInt(delta.height / 2, 10) + "px", + left: position.left + parseInt(delta.width / 2, 10) + "px", + position: "absolute"})}); + $("tu_center_wrapper").hide(); + + return element; + } + }); + + Effect.SwitchOn = function(element) { + element = $(element); + var elementDimensions = element.getDimensions(); + return new Effect.Scale( + element, 100, + Object.extend({ + duration : 0.55, + scaleFromCenter: true, + scaleX : false, + scaleContent : false, + scaleFrom : 1, + beforeSetup: function(effect) { + effect.element.show().makePositioned().makeClipping(); + } + }, arguments[1] || {}) + ); + }; + }; + var injectCode = function() { + var images_url = TopUp.host + TopUp.images_path; + + var css = '.te_overflow{overflow:hidden !important}.te_dragging{cursor:move !important}#tu_overlay,.te_top_up{top:0;left:0}#tu_overlay{width:100%;height:100%;position:fixed;z-index:999}#temp_up{top:-9999px;z-index:-1}.te_transparent{opacity:0}.te_shaded{opacity:.65;background:black}.te_scrollable{overflow:auto}.te_top_up{position:absolute;z-index:1000}.te_top_up a{border:0}.te_top_up a:hover{border:0}.te_top_up .ui-resizable-se{position:absolute !important;background-color:transparent !important;border:0 !important}.te_wrapper{position:relative}.te_title{width:100%;color:white;font-family:"Lucida Grande", "Arial";font-size:11px;position:absolute;text-align:center;z-index:1001}.te_frame,#tu_center_wrapper{border-collapse:collapse}.te_frame tr,.te_frame td{margin:0;padding:0}.te_frame .te_left,.te_frame .te_middle,.te_frame .te_right{padding:0}.te_controls{position:absolute;z-index:1001}.te_close_link,.te_previous_link,.te_next_link{cursor:pointer}.te_close_link{position:absolute;z-index:1002}.te_previous_link,.te_next_link{display:block;float:left}#tu_center_wrapper{position:absolute;z-index:1000}#tu_loader{width:100%;height:100%;position:absolute;background:url(' + images_url + 'loader.gif) no-repeat 50% 50%;display:block;z-index:1003} #top_up .te_dashboard .ui-resizable-se{width:10px !important;height:10px !important;bottom:12px !important;right:10px !important;background-image:url(' + images_url + 'dashboard/sprite.png) !important;background-position:0 0 !important}.te_dashboard .te_title{top:-9px;font-weight:bold;text-shadow:1px 1px 1px black}.te_dashboard .te_corner,.te_dashboard .te_rib{background-image:url(' + images_url + 'dashboard/sprite.png)}.te_dashboard .te_top,.te_dashboard .te_bottom{height:20px}.te_dashboard .te_left_filler{width:20px}.te_dashboard .te_right_filler{width:19px}.te_dashboard .te_middle .te_middle{background:url(' + images_url + 'dashboard/middle.png)}.te_dashboard .te_top .te_left{background-position:-17px -29px}.te_dashboard .te_top .te_middle{background-position:0 -71px}.te_dashboard .te_top .te_right{background-position:-33px -29px}.te_dashboard .te_middle .te_left{background-position:-17px -232px}.te_dashboard .te_middle .te_right{background-position:-33px -232px}.te_dashboard .te_bottom .te_left{background-position:-17px -47px}.te_dashboard .te_bottom .te_middle{background-position:-17px -89px}.te_dashboard .te_bottom .te_right{background-position:-33px -47px}.te_dashboard .te_content{margin:-11px -12px -11px -13px}.te_dashboard .te_controls{left:50%;width:63px;height:29px;margin-left:-33px;padding-left:5px;bottom:35px;background-image:url(' + images_url + 'dashboard/sprite.png);background-position:0 -178px}.te_dashboard .te_previous_link,.te_dashboard .te_next_link{width:31px;height:29px;background-image:url(' + images_url + 'dashboard/sprite.png)}.te_dashboard .te_previous_link{background-position:66px -113px}.te_dashboard .te_next_link{background-position:30px -113px}.te_dashboard .te_previous_link:hover{background-position:66px -142px}.te_dashboard .te_next_link:hover{background-position:30px -142px}.te_dashboard .te_close_link{width:28px;height:26px;top:-1px;right:-6px;background-image:url(' + images_url + 'dashboard/sprite.png);background-position:-20px 0} #top_up .te_quicklook .ui-resizable-se{width:10px !important;height:10px !important;bottom:12px !important;right:9px !important;background-image:url(' + images_url + 'quicklook/sprite.png) !important;background-position:-75px -181px !important}.te_quicklook .te_title{top:6px}.te_quicklook .te_corner,.te_quicklook .te_rib{background-image:url(' + images_url + 'quicklook/sprite.png)}.te_quicklook .te_top{height:24px}.te_quicklook .te_bottom{height:56px}.te_quicklook .te_left_filler,.te_quicklook .te_right_filler{width:12px}.te_quicklook .te_middle .te_middle{background:url(' + images_url + 'quicklook/middle.png)}.te_quicklook .te_top .te_left{background-position:0 0}.te_quicklook .te_top .te_middle{background-position:0 -30px}.te_quicklook .te_top .te_right{background-position:12px 0}.te_quicklook .te_middle .te_left{background-position:0 -181px}.te_quicklook .te_middle .te_right{background-position:12px -181px}.te_quicklook .te_bottom .te_left{background-position:0 -122px}.te_quicklook .te_bottom .te_middle{background-position:0 -61px}.te_quicklook .te_bottom .te_right{background-position:12px -122px}.te_quicklook .te_content{margin:0 -7px}.te_quicklook .te_controls{left:50%;width:66px;margin-left:-33px;bottom:18px}.te_quicklook .te_previous_link,.te_quicklook .te_next_link{width:31px;height:29px;margin:0 1px;background-image:url(' + images_url + 'quicklook/sprite.png)}.te_quicklook .te_previous_link{background-position:89px -195px}.te_quicklook .te_next_link{background-position:52px -195px}.te_quicklook .te_previous_link:hover{background-position:89px -226px}.te_quicklook .te_next_link:hover{background-position:52px -226px}.te_quicklook .te_close_link{width:13px;height:13px;top:7px;left:9px;background-image:url(' + images_url + 'quicklook/sprite.png);background-position:-24px -181px} #top_up .te_flatlook .ui-resizable-se{width:10px !important;height:10px !important;bottom:22px !important;right:14px !important;background-image:url(' + images_url + 'flatlook/sprite.png) !important;background-position:-75px -181px !important}.te_flatlook .te_title{top:5px;text-shadow:1px 1px 2px #2A2A2A}.te_flatlook .te_corner,.te_flatlook .te_rib{background-image:url(' + images_url + 'flatlook/sprite.png)}.te_flatlook .te_top{height:26px}.te_flatlook .te_bottom{height:29px}.te_flatlook .te_left_filler,.te_flatlook .te_right_filler{width:21px}.te_flatlook .te_middle .te_middle{background:url(' + images_url + 'flatlook/middle.png) repeat-x top}.te_flatlook .te_top .te_left{background-position:0 0}.te_flatlook .te_top .te_middle{background-position:0 -29px}.te_flatlook .te_top .te_right{background-position:-89px 0}.te_flatlook .te_middle .te_left{background-position:0 -181px}.te_flatlook .te_middle .te_right{background-position:-89px -181px}.te_flatlook .te_bottom .te_left{background-position:0 -90px}.te_flatlook .te_bottom .te_middle{background-position:0 -58px}.te_flatlook .te_bottom .te_right{background-position:-89px -90px}.te_flatlook .te_content{margin:-2px -11px -3px -11px}.te_flatlook .te_controls{left:50%;width:66px;margin-left:-33px;bottom:18px}.te_flatlook .te_previous_link,.te_flatlook .te_next_link{width:31px;height:29px;margin:0 1px;background-image:url(' + images_url + 'flatlook/sprite.png)}.te_flatlook .te_previous_link{background-position:89px -195px}.te_flatlook .te_next_link{background-position:52px -195px}.te_flatlook .te_previous_link:hover{background-position:89px -226px}.te_flatlook .te_next_link:hover{background-position:52px -226px}.te_flatlook .te_close_link{width:13px;height:13px;top:6px;left:15px;background-image:url(' + images_url + 'flatlook/sprite.png);background-position:-24px -181px}'; + var ie7fix = '.te_dashboard .te_content{margin-bottom:-14px}'; + var ie6fix = '.te_dashboard .te_content{margin-bottom:-13px}.te_dashboard .te_controls{width:65px;padding-left:3px}.te_dashboard .te_top .te_left,.te_dashboard .te_top .te_middle,.te_dashboard .te_top .te_right{background-image:none}.te_dashboard .te_middle .te_left,.te_dashboard .te_middle .te_right{background-image:none}.te_dashboard .te_bottom .te_left,.te_dashboard .te_bottom .te_middle,.te_dashboard .te_bottom .te_right{background-image:none}.te_dashboard .te_controls,.te_dashboard .te_previous_link,.te_dashboard .te_next_link,.te_dashboard .te_close_link{background-image:none}.te_dashboard .te_top .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/top_left.png" , sizingMethod="crop" )}.te_dashboard .te_top .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/top_middle.png" , sizingMethod="scale")}.te_dashboard .te_top .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/top_right.png" , sizingMethod="crop" )}.te_dashboard .te_middle .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/middle_left.png" , sizingMethod="scale")}.te_dashboard .te_middle .te_middle{filter:alpha(opacity = 75);background:black}.te_dashboard .te_middle .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/middle_right.png" , sizingMethod="scale")}.te_dashboard .te_bottom .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/bottom_left.png" , sizingMethod="crop" )}.te_dashboard .te_bottom .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/bottom_middle.png", sizingMethod="scale")}.te_dashboard .te_bottom .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/bottom_right.png" , sizingMethod="crop" )}.te_dashboard .te_controls{background:#505455}.te_dashboard .te_previous_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/previous.png" , sizingMethod="crop" )}.te_dashboard .te_next_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/next.png" , sizingMethod="crop" )}.te_dashboard .te_close_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/close_link.png" , sizingMethod="crop" )} .te_quicklook .te_bottom{height:55px}.te_quicklook .te_controls{width:67px}.te_quicklook .te_top .te_left,.te_quicklook .te_top .te_middle,.te_quicklook .te_top .te_right{background-image:none}.te_quicklook .te_middle .te_left,.te_quicklook .te_middle .te_right{background-image:none}.te_quicklook .te_bottom .te_left,.te_quicklook .te_bottom .te_middle,.te_quicklook .te_bottom .te_right{background-image:none}.te_quicklook .te_previous_link,.te_quicklook .te_next_link,.te_quicklook .te_close_link{background-image:none}.te_quicklook .te_top .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/top_left.png" , sizingMethod="crop" )}.te_quicklook .te_top .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/top_middle.png" , sizingMethod="scale")}.te_quicklook .te_top .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/top_right.png" , sizingMethod="crop" )}.te_quicklook .te_middle .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/middle_left.png" , sizingMethod="scale")}.te_quicklook .te_middle .te_middle{filter:alpha(opacity = 70);background:black}.te_quicklook .te_middle .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/middle_right.png" , sizingMethod="scale")}.te_quicklook .te_bottom .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/bottom_left.png" , sizingMethod="crop" )}.te_quicklook .te_bottom .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/bottom_middle.png", sizingMethod="scale")}.te_quicklook .te_bottom .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/bottom_right.png" , sizingMethod="crop" )}.te_quicklook .te_previous_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/previous.png" , sizingMethod="crop" )}.te_quicklook .te_next_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/next.png" , sizingMethod="crop" )}.te_quicklook .te_close_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/close_link.png" , sizingMethod="crop" )} .te_flatlook .te_bottom{height:55px}.te_flatlook .te_controls{width:67px}.te_flatlook .te_top .te_left,.te_flatlook .te_top .te_middle,.te_flatlook .te_top .te_right{background-image:none}.te_flatlook .te_middle .te_left,.te_flatlook .te_middle .te_right{background-image:none}.te_flatlook .te_bottom .te_left,.te_flatlook .te_bottom .te_middle,.te_flatlook .te_bottom .te_right{background-image:none}.te_flatlook .te_previous_link,.te_flatlook .te_next_link,.te_flatlook .te_close_link{background-image:none}.te_flatlook .te_top .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/top_left.png" , sizingMethod="crop" )}.te_flatlook .te_top .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/top_middle.png" , sizingMethod="scale")}.te_flatlook .te_top .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/top_right.png" , sizingMethod="crop" )}.te_flatlook .te_middle .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/middle_left.png" , sizingMethod="scale")}.te_flatlook .te_middle .te_middle{filter:alpha(opacity = 70);background:black}.te_flatlook .te_middle .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/middle_right.png" , sizingMethod="scale")}.te_flatlook .te_bottom .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/bottom_left.png" , sizingMethod="crop" )}.te_flatlook .te_bottom .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/bottom_middle.png", sizingMethod="scale")}.te_flatlook .te_bottom .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/bottom_right.png" , sizingMethod="crop" )}.te_flatlook .te_previous_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/previous.png" , sizingMethod="crop" )}.te_flatlook .te_next_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/next.png" , sizingMethod="crop" )}.te_flatlook .te_close_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/close_link.png" , sizingMethod="crop" )}'; + var iefix = '#tu_overlay{top:expression((ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px");left:expression((ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px");position:absolute}.te_transparent{filter:alpha(opacity = 0)}.te_shaded{filter:alpha(opacity = 65)}.te_content{position:relative;zoom:1}'; + var html = '
    '; + + if (css == '
    ') { + return; // This only occurs when running in development mode + } + + var head = $$("head").first(); + if (!head) { + $(document.body).insert({before: (head = new Element("head"))}); + } + head.insert({top: styleElement(css)}); + + var style = head.select("style").first(); + if (Prototype.Browser.IE7) { + style.insert({after: styleElement(ie7fix)}); + } + if (Prototype.Browser.IE6) { + style.insert({after: styleElement(ie6fix)}); + } + if (Prototype.Browser.IE) { + style.insert({after: styleElement(iefix)}); + } + + $(document.body).insert({bottom: html}); + }; + var styleElement = function(css) { + var style = document.createElement("style"); + style.type = "text/css"; + if (style.styleSheet) { + // All IE developers should burn in hell! + style.styleSheet.cssText = css; + } else { + style.appendChild(document.createTextNode(css)); + } + return style; + } + var bind = function() { + var body = $(document.body); + + var observe_body = observing.get("body"); + var selector = observing.get("selector"); + + if (observe_body) { + body.observe("click", documentClick); + observing.get("currently").push("body"); + } + if (selector) { + $$(selector).each(function(element) { + element.observe("click", documentClick); + }); + observing.get("currently").push(selector); + } + + body.observe("keydown", documentKeyDown); + }; + + var documentClick = function(event) { + var top_up = deriveTopUp(event); + if (top_up) { + topUpClick(top_up, event); + } + }; + var documentKeyDown = function(event) { + if ($("top_up").visible()) { + switch(event.keyCode) { + case 27: + TopUp.close(); break; + case 37: + TopUp.previous(); break; + case 39: + TopUp.next(); break; + } + } + }; + var topUpClick = function(top_up, event) { + TopUp.displayTopUp(top_up); + event.stop(); + }; + + var deriveTopUp = function(event) { + var element = event.element(); + if (element.descendantOf("top_up")) { + return; + } + return [element, element.up(), element.up(1)].detect(function(e) { + return !!e && + (e.hasClassName("top_up") || + e.hasAttribute("toptions") || + e.classNames().any(function(c) { return c.match(/^tu_/) != null }) || + presets.keys().any(function(s) { return e.match(s) })); + }); + }; + var deriveToptions = function(top_up, opts) { + var toptions = default_preset.merge({ + topUp: top_up.identify(), + reference: top_up.readAttribute("href") + }); + + presets.each(function(preset) { + if (top_up.match(preset.first())) { + toptions.update(preset.last()); + } + }); + + if (top_up.hasAttribute("toptions")) { + top_up.readAttribute("toptions").split(",").each(function(option) { + var key_value = option.split("=").invoke("strip"); + toptions.set(key_value[0], key_value[1]); + }); + } + + var coptions = top_up.classNames().select(function(x) { return x.match(/^tu_/) }); + coptions.each(function(c) { + c.sub(/^tu_/, "").split("_").each(function(coption) { + if ($w("db ql fl").include(coption)) { + var layoutRefs = {db: "dashboard", ql: "quicklook", fl: "flatlook"}; + toptions.set("layout", layoutRefs[coption]); + } + if ($w("image html dom iframe ajax script").include(coption)) { + toptions.set("type", coption); + } + if (coption.match(/[0123456789]+x[0123456789]+/)) { + var dimensions = coption.split("x"); + toptions.set("width" , dimensions[0]); + toptions.set("height", dimensions[1]); + } + }); + }); + + if (parseInt(toptions.get("noGroup"), 10) == 1) { + toptions.unset("group"); + } + + toptions.update(opts || {}); + + return toptions; + }; + var deriveOptions = function(reference, opts, store) { + var result = default_preset.clone(); + + if (opts) { + if (presets.keys().include(opts.preset)) { + result.update(presets[opts.preset]); + } + result.update(opts); + } + + if (store) { + result.set("reference", reference); + if (!result.keys().include("type")) { + result.set("type", deriveType(reference)); + } + if (movieContentDisplayed(result)) { + result.set("resizable", 0); + } + options = result.clone(); + } + + return result; + }; + var deriveType = function(reference) { + if (reference.toLowerCase().match(/\.(gif|jpg|jpeg|png)$/)) { + return "image"; + } + if (reference.toLowerCase().match(/\.(swf)$/)) { + return "flash"; + } + if (reference.toLowerCase().match(/\.(flv)$/)) { + return "flashvideo"; + } + if (reference.toLowerCase().match(/\.(aif|aiff|aac|au|bmp|gsm|mov|mid|midi|mpg|mpeg|m4a|m4v|mp4|psd|qt|qtif|qif|qti|snd|tif|tiff|wav|3g2|3gp|wbmp)$/)) { + return "quicktime"; + } + if (reference.toLowerCase().match(/\.(ra|ram|rm|rpm|rv|smi|smil)$/)) { + return "realplayer"; + } + if (reference.toLowerCase().match(/\.(asf|avi|wma|wmv)$/)) { + return "windowsmedia"; + } + return "ajax"; + }; + var movieContentDisplayed = function(opts) { + return $w("flash flashvideo quicktime realplayer windowsmedia").include((opts || options).get("type")); + }; + + var prepare = function() { + // TODO: resizable + + $("top_up").down(".te_title").fade({duration: reservedDuration}); + if (!(group && group.items.length > 1)) { + $("top_up").down(".te_controls").fade({duration: reservedDuration}); + } + + $$(".te_top_up").each(function(e) { + e.down(".te_wrapper").writeAttribute("class", "te_wrapper te_" + options.get("layout")); + }); + + if (parseInt(options.get("shaded"), 10) == 1) { + $("tu_overlay").addClassName("te_shaded"); + } else { + $("tu_overlay").removeClassName("te_shaded"); + } + + if ($w("modal shaded overlayClose").any(function(o) { return parseInt(options.get(o), 10) == 1 })) { + $("tu_overlay").show(); + } else { + $("tu_overlay").hide(); + } + }; + var loadContent = function() { + showLoader(); + + $("top_up").down(".te_title").update(options.get("title") || ""); + + switch(options.get("type")) { + case "image": + options.set("content", new Element("img", {src: options.get("reference")})); + if (!options.get("content").complete) { + Event.observe(options.get("content"), "load", onContentReady); + } else { + onContentReady(); + } + break; + case "flash": + loadFlashContent(); break; + case "flashvideo": + loadFlashVideoContent(); break; + case "quicktime": + loadQuickTimeContent(); break; + case "realplayer": + loadRealPlayerContent(); break; + case "windowsmedia": + loadWindowsMediaContent(); break; + case "iframe": + options.set("content", new Element("iframe", {src: options.get("reference"), frameborder: 0, border: 0})); + onContentReady(); + break; + case "html": case "dom": + options.set("content", new Element("div")[options.get("type") == "html" ? "update" : "appendChild"](options.get("reference"))); + onContentReady(); + break; + case "ajax": case "script": + options.set("content", null); + new Ajax.Request(options.get("reference"), { + method: (parseInt(options.get("post"), 10) == 1) ? "post" : "get", + asynchronous: false, + parameters: options.get("parameters"), + evalJS: (options.get("type") == "script"), + onSuccess: function() { + var element = (new Element("div")).update(transport.responseText); + options.set("content", element.firstDescendant()); + onContentReady(); + } + }); + break; + } + }; + var loadFlashContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + + object.appendChild(new Element("param", {name: "src" , value: options.get("reference")})); + object.appendChild(new Element("param", {name: "allowfullscreen", value: "true"})); + + object.appendChild(new Element("embed", {src : options.get("reference"), + width : options.get("width"), + height : options.get("height"), + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height")})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadFlashVideoContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + var src = TopUp.host + TopUp.players_path + "flvplayer.swf"; + + object.appendChild(new Element("param", {name: "movie" , value: src})); + object.appendChild(new Element("param", {name: "flashvars" , value: "file=" + options.get("reference") + "&autostart=true"})); + object.appendChild(new Element("param", {name: "allowfullscreen", value: "true"})); + + object.appendChild(new Element("embed", {src : src, + width : options.get("width"), + height : options.get("height"), + flashvars : "file=" + options.get("reference") + "&autostart=true", + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height")})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadQuickTimeContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid : "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B", + codebase: "http://www.apple.com/qtactivex/qtplugin.cab", + style : "display: none"}); + + object.appendChild(new Element("param", {name: "src" , value: options.get("reference")})); + object.appendChild(new Element("param", {name: "scale" , value: "aspect"})); + object.appendChild(new Element("param", {name: "bgcolor" , value: "black"})); + object.appendChild(new Element("param", {name: "showlogo", value: "false"})); + object.appendChild(new Element("param", {name: "autoplay", value: "true"})); + object.appendChild(new Element("embed", {src : options.get("reference"), + width : options.get("width"), + height : options.get("height"), + scale : "aspect", + bgcolor : "black", + showlogo : "false", + autoplay : "true", + type : "video/quicktime", + pluginspage: "http://www.apple.com/quicktime/download/"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height"), style: "background: black"})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadRealPlayerContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid: "clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA", + style : "display: none"}); + + object.appendChild(new Element("param", {name: "src" , value: options.get("reference")})); + object.appendChild(new Element("param", {name: "controls" , value: "imagewindow"})); + object.appendChild(new Element("param", {name: "console" , value: "one"})); + object.appendChild(new Element("param", {name: "autostart", value: "true"})); + object.appendChild(new Element("embed", {src : options.get("reference"), + width : options.get("width"), + height : options.get("height"), + controls : "imagewindow", + console : "one", + autostart : "true", + nojava : "true", + type : "audio/x-pn-realaudio-plugin", + pluginspage: "http://www.real.com/freeplayer/?rppr=rnwk"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height")})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadWindowsMediaContent = function() { + loadQuickTimeContent(); + }; + var onContentReady = function() { + hideLoader(); + + // TODO: resizable + // + // if (html) { + // options.content = jQuery(html); + // } + // + // switch(options.get("type")) { + // case "image": case "iframe": + // options.resize = options.content; + // jQuery(".te_content").removeClass("te_scrollable"); + // break; + // default: + // options.resize = jQuery("#temp_up .te_content"); + // jQuery(".te_content").addClass("te_scrollable"); + // } + + if ($("top_up").visible()) { + replace(); + } else { + show(); + } + }; + + var showLoader = function() { + var top_up = $("top_up"); + var origin = top_up.visible() ? top_up : $(options.get("topUp")); + + if (origin) { + if (origin.childElements().length > 0) { + origin = $(origin.childElements()[0]); + } + var dimensions = $H(origin.getDimensions()); + var offsets = origin.cumulativeOffset(); + } else { + var dimensions = $H(document.viewport.getDimensions()); + var offsets = document.viewport.getScrollOffsets(); + } + + offsets.each(function(v, i) { + dimensions.set($w("left top")[i], v); + }); + + dimensions.keys().each(function(k) { dimensions.set(k, dimensions.get(k) + "px") }); + $("tu_loader").setStyle(dimensions.toObject()).show(); + }; + var hideLoader = function() { + $("tu_loader").hide(); + }; + + var show = function() { + var afterFinish = function() { + $("top_up").down(".te_title").appear({duration: reservedDuration}); + $("top_up").down(".te_close_link").appear({duration: reservedDuration}); + if (options.get("group") && options.get("group").length > 1 && !$("top_up").down(".te_controls").visible()) { + $("top_up").down(".te_controls").appear({duration: reservedDuration}); + } + afterDisplay(); + }; + + clearContent(); + setContent(); + setSizeAndPosition(); + moveContent("top_up"); + + var effectDuration = options.get("duration") - reservedDuration; + switch(options.get("effect")) { + case "appear": case "fade": + new Effect.Appear ("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + case "switch": case "clip": + new Effect.SwitchOn("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + default: + transform(afterFinish); break; + } + }; + var replace = function(callback) { + var te_content = $("top_up").down(".te_content").lockDimensions(); + var childElements = te_content.childElements(); + var wrapper = new Element("div"); + + te_content.insert({bottom: wrapper}); + childElements.each(function(child) { + wrapper.insert({bottom: child}); + }); + + wrapper.fade({duration: reservedDuration, afterFinish: function() { + moveContent("temp_up"); + wrapper.remove(); + + if (!callback) { + callback = function() { + clearContent(); + setContent(); + }; + } + + callback.apply([], [$("top_up").down(".tu_content"), data]); + setDimensions(); + $("top_up").centerWrap($("temp_up")); + + te_content.morph({width : $("temp_up").down(".te_content").getWidth() + "px", + height: $("temp_up").down(".te_content").getHeight() + "px"}, + {duration: 0.4, + afterFinish: function() { + moveContent("top_up"); + $("top_up").removeCenterWrap(); + afterDisplay(); + } + }); + }}); + }; + var hide = function(callback) { + var afterFinish = function() { + $("tu_overlay").hide(); + afterHide(); + if (callback) { + callback.apply([], [$("top_up").down(".tu_content"), data]); + } + }; + + // TODO: IE tweaks in hide() + // + // jQuery("#top_up .tu_title") .fadeOut(duration); + // jQuery("#top_up .tu_controls").fadeOut(duration); + // if (jQuery.ie) { + // jQuery("#top_up .tu_close_link").hide(); + // onReady.apply(); + // } else { + // jQuery("#top_up .tu_close_link").fadeOut(duration, onReady); + // } + + $("top_up").down(".te_title") .fade({duration: reservedDuration}); + $("top_up").down(".te_controls") .fade({duration: reservedDuration}); + + if (movieContentDisplayed()) { + options.get("content").firstDescendant().hide(); + } + + $("top_up").down(".te_close_link").fade({duration: reservedDuration, afterFinish: function() { + var effectDuration = options.get("duration") - reservedDuration; + switch(options.get("effect")) { + case "appear": case "fade": + new Effect.Fade ("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + case "switch": case "clip": + new Effect.SwitchOff("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + default: + transform(afterFinish); break; + } + }}); + }; + + var setContent = function() { + $("temp_up").down(".te_content").appendChild(options.get("content")); + }; + var moveContent = function(to) { + var from = (to == "top_up") ? "temp_up" : "top_up"; + + var fromContainer = $(from).down(".te_content"); + var toContainer = $(to ).down(".te_content"); + + fromContainer.childElements().each(function(e) { toContainer.appendChild(e); }); + }; + var clearContent = function() { + $("top_up").down(".te_content").childElements().invoke("remove"); + }; + var transform = function(callback) { + var topUp = $("top_up"); + var teContent = topUp.down(".te_content"); + + if (options.get("topUp")) { + var topUpElement = $(options.get("topUp")); + var dimensions = {top : topUpElement.cumulativeOffset().top, + left: topUpElement.cumulativeOffset().left, + width : topUpElement.getWidth(), + height: topUpElement.getHeight() - 4}; + } else { + var dimensions = {top : parseInt(document.viewport.getDimensions().height / 2, 10) - parseInt(teContent.getHeight() / 2, 10) + document.viewport.getScrollOffsets().top, + left: parseInt(document.viewport.getDimensions().width / 2, 10) - parseInt(teContent.getWidth() / 2, 10) + document.viewport.getScrollOffsets().left, + width : 10, + height: 10}; + } + + if (displaying) { + topUp.addClassName("te_transparent") + .show(); + if (!options.get("topUp")) { + dimensions.top -= parseInt(teContent.getHeight() / 2, 10); + dimensions.left -= parseInt(teContent.getWidth() / 2, 10); + } + } + + var topUpOffset = topUp .cumulativeOffset(); + var teContentOffset = teContent.cumulativeOffset(); + var teContentDiff = {width: topUp.getWidth() - teContent.getWidth(), + height: topUp.getHeight() - teContent.getHeight()}; + + dimensions.top -= teContentOffset.top - topUpOffset.top; + dimensions.left -= teContentOffset.left - topUpOffset.left; + + var origin = {top: parseInt(topUp.getStyle("top"), 10), left: parseInt(topUp.getStyle("left"), 10), width: topUp.getWidth(), height: topUp.getHeight()}; + var opts = {to : displaying ? origin : dimensions}; + + if (displaying) { + opts.to.width -= teContentDiff.width; + opts.to.height -= teContentDiff.height; + } + + var animation = function() { + var onReady = function() { + displaying ? + callback.apply() : + topUp.fade({duration: reservedDuration, afterFinish: callback}); + topUp.removeClassName("te_overflow"); + }; + + topUp .morph({top: opts.to.top + "px", left: opts.to.left + "px"}, {duration: reservedDuration}); + options.get("content").morph({width: opts.to.width + "px", height: opts.to.height + "px"}, {duration: reservedDuration, afterFinish: onReady}); + }; + + if (displaying) { + topUp .setStyle({top: dimensions.top + "px", left: dimensions.left + "px"}); + options.get("content").setStyle({width: dimensions.width + "px", height: dimensions.height + "px"}); + + topUp.hide() + .addClassName("te_overflow") + .removeClassName("te_transparent") + .appear({duration: reservedDuration, afterFinish: animation}); + } else { + animation.apply(); + } + }; + + var setSizeAndPosition = function() { + setDimensions(); + setOffsets(); + }; + var setDimensions = function() { + var viewportDimensions = $H(document.viewport.getDimensions()); + var topUpDimensions = $H($("top_up").getDimensions()); + var tuContentDimensions = $H($("top_up").down(".te_content").getDimensions()); + var dimensions = $H(options.get("content").getDimensions()); + + var diffs = $w("width height").inject($H(), function(h, k) { + h.set(k, topUpDimensions.get(k) - tuContentDimensions.get(k)); + return h; + }); + + options.each(function(o) { + if ($w("width height").include(o.first())) { + dimensions.set(o.first(), parseInt(o.last(), 10)); + } + }); + + var change = $w("width height").inject($H(), function(changed, k) { + var currentValue = dimensions.get(k); + var newValue = deriveDimension(currentValue, viewportDimensions.get(k), diffs.get(k)); + if (currentValue != newValue) { + options.get("type") == "image" ? + changed.set(k, {value: newValue, factor: newValue / currentValue}) : + dimensions.set(k, newValue); + } + return changed; + }).toArray().sortBy(function(c) { + return c.last().factor; + }).first(); + + if (change) { + var counterKey = {width: "height", height: "width"}[change.first()]; + dimensions.set(counterKey, parseInt(dimensions.get(counterKey) * change.last().factor, 10)); + dimensions.set(change.first(), change.last().value); + } + + dimensions.keys().each(function(k) { dimensions.set(k, dimensions.get(k) + "px") }); + options.get("content").setStyle(dimensions.toObject()); + }; + var deriveDimension = function(currentValue, maxValue, padding) { + return (currentValue + padding <= maxValue - 8 ? currentValue : maxValue - padding - 8); + }; + var setOffsets = function(dimensions) { + var dimensions = $H($("temp_up").getDimensions()); + + // TODO: deriving offsets when TopUp already visible in setOffsets() + // + // if ($("top_up").visible()) { + // + // } else { + var viewportDimensions = $H(document.viewport.getDimensions()); + var offsets = document.viewport.getScrollOffsets().inject($H(), function(result, offset, index) { + var key = $w("width height")[index]; + result.set($w("left top")[index], offset + parseInt(viewportDimensions.get(key) / 2, 10) - parseInt(dimensions.get(key) / 2, 10)); + return result; + }); + // } + + if (options.get("x")) { + offsets.set("left", options.get("x")); + } + if (options.get("y")) { + offsets.set("top" , options.get("y")); + } + + offsets.keys().each(function(k) { offsets.set(k, offsets.get(k) + "px") }); + $("top_up").setStyle(offsets.toObject()); + }; + + var afterDisplay = function() { + // TODO: IE tweaks in afterDisplay() + $$(".te_top_up,.te_content").invoke("unlockDimensions"); + + if (movieContentDisplayed()) { + options.get("content").firstDescendant().show(); + } + + if (options.get("ondisplay")) { + options.get("ondisplay").apply([], [$("top_up").down(".te_content"), data]); + } + + displaying = false; + }; + var afterHide = function() { + if (options.get("onclose")) { + options.get("onclose").apply([], [$("top_up").down(".te_content"), data]); + } + }; + + var deriveGroup = function() { + if (options.get("group")) { + + if (group && group.name == options.get("group")) { + return; + } + group = {name: options.get("group"), items: new Array}; + + $$(["[toptions]", presets.keys().join(",")].join(",")).each(function(e) { + if (!e.readAttribute("tu_group")) { + e.writeAttribute("tu_group", deriveToptions(e).get("group") || ""); + } + if (e.readAttribute("tu_group") == group.name) { + group.items.push(e.identify()); + } + }); + + index = group.items.indexOf(options.get("topUp")); + + } else { + group = null; + } + }; + var navigateInGroup = function(step) { + if (group === null) { + return; + } + + index = index + step; + + if (index < 0) { + index = group.items.length - 1; + } + if (index > group.items.length - 1) { + index = 0; + } + + TopUp.displayTopUp($(group.items[index])); + }; + + return { + version: "1.7.2", + host: scriptHost, + images_path: "images/top_up/", + players_path: "players/", + init: function() { + if (initialized) { + return false; + } + + try { + document.observe("dom:loaded", function() { + extendPrototype(); + injectCode(); + bind(); + + // TODO: draggable + // new Draggable("top_up", {handle: "te_title", starteffect: null, endeffect: null}); + on_ready.each(function(f) { + f.apply(); + }); + }); + + initialized = true; + } catch(e) {} + }, + defaultPreset: function(set) { + default_preset.update(set); + }, + addPresets: function(sets) { + presets.update(sets); + }, + observe: function(selector, alsoRebind) { + observing.set("body" , false); + observing.set("selector", selector); + if (alsoRebind) { + TopUp.rebind(); + } + }, + ready: function(func) { + on_ready.push(func); + }, + rebind: function() { + // Normally not needed anymore due to use of event delegation (yay!) + // But you might still need this when using custom observed elements (e.g. by calling TopUp.observe("#gallery")) + + $$(observing.get("currently")).invoke("stopObserving", "click", documentClick); + observing.get("currently").clear(); + bind(); + }, + displayTopUp: function(top_up, opts) { + var toptions = deriveToptions(top_up, opts); + TopUp.display(toptions.unset("reference"), toptions); + }, + display: function(reference, opts) { + if (displaying) { + return false; + } + + try { + displaying = true; + data = {}; + deriveOptions(reference, opts, true); + deriveGroup(); + + prepare(); + loadContent(); + } catch(e) { + displaying = false; + alert("Sorry, but the following error occured:\n\n" + e); + } + }, + update: function(func) { + // if (jQuery("#top_up").is(":hidden")) { + // return; + // } + // + // options.type = "html"; + // options.resize = jQuery("#temp_up .te_content"); + // jQuery(".te_content").addClass("te_scrollable"); + // + // replace(func || function() {}); + }, + previous: function() { + navigateInGroup(-1); + }, + next: function() { + navigateInGroup(1); + }, + overlayClose: function() { + if (parseInt(options.getoverlayClose, 10) == 1) { + TopUp.close(); + } + }, + close: function(afterClose) { + if ($("top_up").visible()) { + hide(afterClose); + } + }, + onContentReady: onContentReady + }; +}()); + +TopUp.init(); + +} diff --git a/js/toptions/top_up.js b/js/toptions/top_up.js new file mode 100644 index 0000000..a642b2a --- /dev/null +++ b/js/toptions/top_up.js @@ -0,0 +1,1344 @@ +if (typeof(TopUp) == "undefined") { + +var scriptElement = (function deriveScriptElement() { + var id = "tu_dummy_script"; + document.write(''); + + var dummyScript = document.getElementById(id); + var element = dummyScript.previousSibling; + + dummyScript.parentNode.removeChild(dummyScript); + return element; +}()); +var scriptHost = (function deriveScriptHost() { + var src = scriptElement.getAttribute("src"); + return src.match(/^\w+\:\/\//) ? src.match(/^\w+\:\/\/[^\/]*\//)[0] : ""; +}()); +var scriptParams = (function deriveScriptParams() { + var src = scriptElement.getAttribute("src"); + var pairs = ((src.match(/([\?]*)\?(.*)+/) || ["", "", ""])[2] || "").replace(/(^[0123456789]+|\.js(\s+)?$)/, "").split("&"); + var params = {}; + + for (var i = 0; i < pairs.length; i++) { + if (pairs[i] != "") { + var key_value = pairs[i].split("="); + if (key_value.length == 2) { + params[key_value[0].replace(/^\s+|\s+$/g, "")] = key_value[1].replace(/^\s+|\s+$/g, ""); + } + } + } + return params; +}()); + +// * +// * TopUp 1.7.2 (Uncompressed) +// * The #1 Javascript Pop Up / Lightbox (http://gettopup.com) +// * +// * This library requires jQuery (http://jquery.com) +// * +// * (c) 2010 Paul Engel (Internetbureau Holder B.V.) +// * Except otherwise noted, TopUp is licensed under +// * http://creativecommons.org/licenses/by-sa/3.0 +// * +// * $Date: 2010-03-07 19:47:47 +0100 (Sun, 07 March 2010) $ +// * + +TopUp = (function() { + var initialized = false, selector = null, on_ready = [], displaying = false, options = null, group = null, index = null, data = null; + var fast_mode = false; + var default_preset = { + layout: "dashboard", + effect: "transform", + resizable: 1 + }, presets = {}; + + var extendjQuery = function() { + jQuery.extend({ + keys: function(hash) { + var keys = []; + for (var key in hash) { + if (hash.hasOwnProperty(key)) { + keys.push(key); + } + } + return keys; + }, + ie: jQuery.browser.msie, + ie6: jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 6, + ie7: jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 7, + ie8: jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 8, + ff2: jQuery.browser.mozilla && parseFloat(jQuery.browser.version) < 1.9 + }); + jQuery.fn.extend({ + id: function() { + if (!this.is("[id]")) { + var id = ""; + var counter = 0; + do {id = "element_" + counter++;} while (jQuery("#" + id).length); + jQuery(this).attr("id", id); + } + return jQuery(this).attr("id"); + }, + markerId: function() { + return "_" + this.id() + "_marker"; + }, + bubbleDetect: function(selector, separator) { + var detected = null; + var element = this; + jQuery.each(selector.split(separator || ","), function(i, e) { + var selector = jQuery.trim(e); + if (jQuery(selector).index(element) != -1) { + detected = {element: jQuery(element), selector: selector}; + } + }); + return detected || (element.parent()[0] ? jQuery(element.parent()[0]).bubbleDetect(selector, separator) : null); + }, + center: function() { + var css = {top: parseInt((jQuery(window).height() - this.outerHeight()) / 2, 10) + jQuery(window).scrollTop(), + left: parseInt((jQuery(window).width() - this.outerWidth()) / 2, 10) + jQuery(window).scrollLeft(), + position: "absolute"}; + + this.css(css); + return this; + }, + lockDimensions: function() { + this.css({width: this.outerWidth(), height: this.outerHeight()}); + return this; + }, + unlockDimensions: function() { + this.css({width: "auto", height: "auto"}); + return this; + }, + centerWrap: function(compare) { + var current = {width: this.outerWidth(), height: this.outerHeight()}, delta = {width: 0, height: 0}, diff = 0; + + // added by Timo Besenreuther (2010-02-24) + // fix problem with adjusting height in safari (topup used to gradually move down) + compare.find(".te_frame").css("display", "block"); + + diff = compare.outerWidth() - current.width; + if (delta.width < diff) { + delta.width = diff; + } + diff = compare.outerHeight() - current.height; + + if (delta.height < diff) { + delta.height = diff; + } + + var offset = this.offset(); + var css = { + top: offset.top - (delta.height === 0 ? 0 : parseInt(delta.height / 2, 10)), + left: offset.left - (delta.width === 0 ? 0 : parseInt(delta.width / 2, 10)), + width: this.width() + delta.width, + height: this.height() + delta.height + }; + + if (options.x) { + css.left = options.x - parseInt((css.width - compare.outerWidth()) / 2, 10); + } + if (options.y) { + css.top = options.y - parseInt((css.height - compare.outerHeight()) / 2, 10); + } + + jQuery("#tu_center_wrapper").css(css); + jQuery("#tu_centered_content").append(this); + + this.css({ + top: "auto", + left: "auto", + width: "auto", + height: "auto", + display: "inline-block", + position: "relative" + }); + + if (jQuery.ff2) { + this.css({display: "table"}); + } + if (jQuery.ie) { + this.css({display: "inline"}); + } + + jQuery("#tu_center_wrapper").show(); + + return this; + }, + removeCenterWrap: function(newTopUpWidth) { + var position = jQuery("#tu_center_wrapper").offset(); + + // added by Timo Besenreuther (2010-02-24) + // this.outerWidth() does not work properly in ie8 + var delta = { + width: jQuery("#tu_center_wrapper").outerWidth() - newTopUpWidth, + height: jQuery("#tu_center_wrapper").outerHeight() - this.outerHeight() + }; + + this.css({ + top: position.top + parseInt(delta.height / 2, 10), + left: position.left + parseInt(delta.width / 2, 10), + position: "absolute" + }).appendTo("body"); + + jQuery("#tu_center_wrapper").hide(); + + return this; + }, + draggableZ: function(opts) { + var element = this; + + this.mousedown(function(event) { + if (opts && opts.only && !jQuery(event.target).is(opts.only)) { + return; + } + + event.preventDefault(); + + var offset = element.offset(); + var diff = {top: event.pageY - offset.top, left: event.pageX - offset.left}; + + jQuery("body").addClass("te_dragging"); + jQuery("*").bind("mousemove.draggable", function(event) { + element.css({top: event.pageY - diff.top, left: event.pageX - diff.left}); + }); + }); + + jQuery("#top_up").mouseup(function(event) { + jQuery("body").removeClass("te_dragging"); + jQuery("*").unbind("mousemove.draggable"); + }); + } + }); + }; + var injectCode = function() { + var images_url = TopUp.host + TopUp.images_path; + + var css = ''; + var ie7fix = ''; + var ie6fix = ''; + var iefix = ''; + var html = '
    '; + + if (!jQuery("head").length) { + jQuery(document.body).before(""); + } + jQuery(css).prependTo("head"); + + if (jQuery.ie7 || jQuery.ie8) { + jQuery(ie7fix).insertAfter("head > style:first"); + } + if (jQuery.ie6) { + jQuery(ie6fix).insertAfter("head > style:first"); + } + if (jQuery.ie) { + jQuery(iefix).insertAfter("head > style:first"); + } + + jQuery(html).appendTo("body"); + }; + var bind = function() { + var coptions = []; + + // added by Timo Besenreuther (2010-02-24) / modified by Paul Engel (2010-02-25) + if (!fast_mode) { + coptions.push("[class^=tu_][class*=x]"); + jQuery.each(["db", "ql", "fl", "image", "html", "dom", "iframe", "ajax", "script"], function(i, coption) { + coptions.push("[class^=tu_][class*=_" + coption + "]"); + }); + } + + selector = jQuery.merge([".top_up", "[toptions]", coptions.join(",")], jQuery.keys(presets)).join(); + + jQuery(selector).live("click", topUpClick); + jQuery(document).bind("keyup", documentKeyPress); + }; + + // added by Timo Besenreuther (2010-02-24) + // fade duration 0 prevents black frame from flashing + var fadeDuration = function(duration) { + return jQuery.ie8 || jQuery.ie7 || jQuery.ie6 ? 0 : duration; + }; + + var topUpClick = function(event) { + TopUp.displayTopUp(jQuery(event.target)); + return false; + }; + var documentKeyPress = function(event) { + if (jQuery("#top_up").is(":hidden") || jQuery(event.target).is(":input")) { + return; + } + + switch(event.keyCode) { + case 27: + TopUp.close(); break; + case 37: + TopUp.previous(); break; + case 39: + TopUp.next(); break; + } + }; + + var deriveTopUpOptions = function(topUp, opts) { + var toptions = jQuery.extend({}, {topUp: "#" + topUp.element.id(), preset: topUp.selector}); + + jQuery.each(topUp.element.attr("class").split(/\s/), function(i, c) { + if (c.match(/^tu_/)) { + jQuery.each(c.replace(/^tu_/, "").split("_"), function(j, coption) { + switch(coption) { + case "db": case "ql": case "fl": + toptions["layout"] = {"db": "dashboard", "ql": "quicklook", "fl": "flatlook"}[coption]; break; + case "image": case "html": case "dom": case "iframe": case "ajax": case "script": + toptions["type"] = coption; break; + default: + if (coption.match(/\dx\d/)) { + toptions["width"] = coption.split("x")[0]; + toptions["height"] = coption.split("x")[1]; + } + } + }); + } + }); + + if (topUp.element.is("[toptions]")) { + jQuery.each(topUp.element.attr("toptions").split(","), function(i, option) { + var key_value = option.split("="); + toptions[jQuery.trim(key_value[0])] = jQuery.trim(key_value[1]); + }); + } + + if (toptions.noGroup && parseInt(toptions.noGroup, 10) == 1) { + toptions.group = null; + } + + if (opts) { + toptions = jQuery.extend(toptions, opts); + } + + return toptions; + }; + var deriveOptions = function(reference, opts, store) { + var result = jQuery.extend({}, default_preset); + + if (opts) { + if (presets[opts.preset]) { + result = jQuery.extend(result, presets[opts.preset]); + } + result = jQuery.extend(result, opts); + } + + if (result.ondisplay && !jQuery.isFunction(result.ondisplay)) { + var fdisplay = result.ondisplay; + result.ondisplay = function() {eval(fdisplay);}; + } + if (result.onclose && !jQuery.isFunction(result.onclose)) { + var fclose = result.onclose; + result.onclose = function() {eval(fclose);}; + } + + if (store) { + result.reference = result.reference ? jQuery(result.reference) : reference; + if (!result.type) { + result.type = deriveType(reference); + } + if (movieContentDisplayed(result)) { + result.resizable = 0; + } + options = jQuery.extend({}, result); + } + + return result; + }; + var deriveType = function(reference) { + if (reference.toLowerCase().match(/\.(gif|jpg|jpeg|png)(\?[0123456789]+)?$/)) { + return "image"; + } + if (reference.toLowerCase().match(/\.(swf)(\?[0123456789]+)?$/)) { + return "flash"; + } + if (reference.toLowerCase().match(/\.(flv)(\?[0123456789]+)?$/)) { + return "flashvideo"; + } + if (reference.toLowerCase().match(/\.(aif|aiff|aac|au|bmp|gsm|mov|mid|midi|mpg|mpeg|m4a|m4v|mp4|psd|qt|qtif|qif|qti|snd|tif|tiff|wav|3g2|3gp|wbmp)(\?[0123456789]+)?$/)) { + return "quicktime"; + } + if (reference.toLowerCase().match(/\.(ra|ram|rm|rpm|rv|smi|smil)(\?[0123456789]+)?$/)) { + return "realplayer"; + } + if (reference.toLowerCase().match(/\.(asf|avi|wma|wmv)(\?[0123456789]+)?$/)) { + return "windowsmedia"; + } + return "ajax"; + }; + var movieContentDisplayed = function(opts) { + return jQuery.inArray((opts || options).type, ["flash", "flashvideo", "quicktime", "realplayer", "windowsmedia"]) != -1; + }; + + var deriveGroup = function() { + if (options.group) { + + if (!(group && group.name == options.group)) { + group = {name: options.group, items: jQuery([])}; + jQuery.each(jQuery(selector), function(i, e) { + if (!jQuery(e).is("[tu_group]")) { + jQuery(e).attr("tu_group", deriveOptions(null, deriveTopUpOptions(jQuery(e).bubbleDetect(selector))).group); + } + + if (jQuery(e).attr("tu_group") == group.name) { + group.items = group.items.add(e); + } + }); + } + + var ids = jQuery.map(group.items, function(e, i) { + return "#" + jQuery(e).id(); + }); + index = options.topUp ? jQuery.inArray(options.topUp, ids) : -1; + + } else { + group = null; + } + }; + + var navigateInGroup = function(step) { + if (group === null) { + return; + } + + index = index + step; + + if (index < 0) { + index = group.items.length - 1; + } + if (index > group.items.length - 1) { + index = 0; + } + + TopUp.displayTopUp(group.items[index]); + }; + + var prepare = function() { + if (jQuery("#top_up .te_frame").resizable) { + jQuery("#top_up .te_frame").resizable("destroy"); + } + + jQuery("#top_up .te_title").fadeOut(fadeDuration(200)); + if (!(group && group.items.length > 1)) { + jQuery("#top_up .te_controls").fadeOut(fadeDuration(200)); + } + + jQuery(".te_wrapper").attr("class", "te_wrapper te_" + options.layout); + jQuery(".te_frame,.te_content").unlockDimensions(); + + if (parseInt(options.shaded, 10) == 1) { + jQuery("#tu_overlay").addClass("te_shaded"); + } else { + jQuery("#tu_overlay").removeClass("te_shaded"); + } + + if ((parseInt(options.modal, 10) == 1) || (parseInt(options.shaded, 10) == 1) || (parseInt(options.overlayClose, 10) == 1)) { + if (jQuery.ie8) { + var fixOverlay = function() { + jQuery('#tu_overlay').css('top', document.body.parentElement.scrollTop+'px'); + }; + fixOverlay.apply(); + window.onresize = fixOverlay; + jQuery(window).bind('scroll', fixOverlay); + } + jQuery("#tu_overlay").show(); + } else { + jQuery("#tu_overlay").hide(); + } + + // added by Timo Besenreuther (2009-11-14) / modified by Paul Engel (2009-11-14) + var altText = ""; + if (options.topUp && (options.topUp != "") && ((parseInt(options.readAltText, 10) == 1) || (options.title && options.title.match("{alt}")))) { + var topUp = jQuery(options.topUp); + + if (topUp.length) { + var image = topUp.find("img"); + if (image.length) { + altText = image.attr("alt") || ""; + } + if (altText != "" && !(options.title && options.title.match("{alt}"))) { + options.title = "{alt}"; + } + } + } + options.title = (options.title || "").replace("{alt}", altText).replace("{current}", group === null ? "" : (index + 1)).replace("{total}", group === null ? "" : group.items.length); + }; + var loadContent = function() { + switch(options.type) { + case "image": + options.content = new Image(); + jQuery(options.content).load(function() { + options.content = jQuery(this); + onContentReady(); + }) + .attr("src", options.reference); + break; + case "flash": case "flashvideo": case "quicktime": case "realplayer": case "windowsmedia": + loadMovie(options.type, options.reference, options.width, options.height); break; + case "iframe": + options.content = jQuery(''); break; + case "html": case "dom": + var reference = jQuery(options.reference); + if (reference.context) { + var marker = jQuery("
    ").attr({ + id : reference.markerId(), + "class": (reference.is(":hidden") ? "hidden" : ""), + style : "display: none" + }); + options.content = jQuery("
    ").append(reference.before(marker).addClass("marked")); + reference.show(); + } else { + options.content = jQuery("
    ").append(reference); + } + break; + case "ajax": case "script": + options.content = null; + jQuery.ajax({url: options.reference, + type: (parseInt(options.post, 10) == 1) ? "POST" : "GET", + cache: false, + async: false, + data: options.parameters, + dataType: (options.type == "ajax") ? "html" : "script", + success: onContentReady}); + } + + if (jQuery.inArray(options.type, ["html", "dom", "iframe"]) != -1) { + onContentReady(); + } + }; + var loadMovie = function(type, src, width, height) { + if (!jQuery.ie) { + switch(options.type) { + case "flash": + loadFlashContent(); break; + case "flashvideo": + loadFlashVideoContent(); break; + case "quicktime": + loadQuickTimeContent(); break; + case "realplayer": + loadRealPlayerContent(); break; + case "windowsmedia": + loadWindowsMediaContent(); break; + } + return; + } + + var object_attrs = {width: width, height: height}, params = {src: src}, classid = null, mimetype = null, codebase = null, pluginspage = null; + + switch(type) { + case "flash": case "flashvideo": + classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"; + codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"; + mimetype = "application/x-shockwave-flash"; + pluginspage = "http://get.adobe.com/flashplayer/"; + break; + case "quicktime": + classid = "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"; + codebase = "http://www.apple.com/qtactivex/qtplugin.cab"; + mimetype = "video/quicktime"; + pluginspage = "http://www.apple.com/quicktime/download/"; + params.scale = "aspect"; + params.bgcolor = "black"; + params.showlogo = "false"; + params.autoplay = "true"; + break; + case "realplayer": + classid = "clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA"; + mimetype = "audio/x-pn-realaudio-plugin"; + pluginspage = "http://www.real.com/freeplayer/?rppr=rnwk"; + params.controls = "imagewindow"; + params.console = "one"; + params.autostart = "true"; + params.nojava = "true"; + break; + case "windowsmedia": + classid = "clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"; + codebase = "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"; + mimetype = "application/x-oleobject"; + pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"; + params.filename = src; + params.animationatstart = "true"; + params.transparentatstart = "true"; + params.autostart = "true"; + params.showcontrols = "true"; + params.showstatusbar = "true"; + params.windowlessvideo = "true"; + break; + } + + switch(type) { + case "flash": case "flashvideo": + params.allowfullscreen = "true"; + case "flashvideo": + params.flashvars = "file=" + src + "&autostart=true"; + src = TopUp.host + TopUp.players_path + "flvplayer.swf"; + params.src = src; + params.movie = src; + break; + } + + object_attrs.codebase = codebase; + if (window.ActiveXObject) { + object_attrs.classid = classid; + object_attrs.data = src; + } + + var paramTags = ""; + for (var key in params) { + paramTags += " " + createElementTag("param", {name: key, value: params[key]}); + } + + params.width = width; + params.height = height; + params.mimetype = mimetype; + params.pluginspage = pluginspage; + + var element = document.createElement("div"); + element.innerHTML = createElementTag("object", object_attrs) + paramTags + createElementTag("embed", params) + ""; + + options.content = jQuery(element); + onContentReady(); + }; + var createElementTag = function(tagName, attrs) { + var html = "<" + tagName; + for (var key in attrs) { + html += " " + key + "='" + attrs[key] + "'"; + } + return html + ">"; + }; + var loadFlashContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + + object.append(jQuery("").attr({name: "src" , value: options.reference})); + object.append(jQuery("").attr({name: "allowfullscreen", value: "true"})); + + object.append(jQuery("").attr({src : options.reference, + width : options.width, + height : options.height, + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height}); + options.content.append(object); + onContentReady(); + }; + var loadFlashVideoContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + + object.append(jQuery("").attr({name: "movie" , value: TopUp.host + TopUp.players_path + "flvplayer.swf"})); + object.append(jQuery("").attr({name: "flashvars" , value: "file=" + options.reference + "&autostart=true"})); + object.append(jQuery("").attr({name: "allowfullscreen", value: "true"})); + + object.append(jQuery("").attr({src : TopUp.host + TopUp.players_path + "flvplayer.swf", + width : options.width, + height : options.height, + flashvars : "file=" + options.reference + "&autostart=true", + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height}); + options.content.append(object); + onContentReady(); + }; + var loadQuickTimeContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid : "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B", + codebase: "http://www.apple.com/qtactivex/qtplugin.cab", + style : "display: none"}); + + object.append(jQuery("").attr({name: "src" , value: options.reference})); + object.append(jQuery("").attr({name: "scale" , value: "aspect"})); + object.append(jQuery("").attr({name: "bgcolor" , value: "black"})); + object.append(jQuery("").attr({name: "showlogo", value: "false"})); + object.append(jQuery("").attr({name: "autoplay", value: "true"})); + + object.append(jQuery("").attr({src : options.reference, + width : options.width, + height : options.height, + scale : "aspect", + bgcolor : "black", + showlogo : "false", + autoplay : "true", + type : "video/quicktime", + pluginspage: "http://www.apple.com/quicktime/download/"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height, style: "background: black"}); + options.content.append(object); + onContentReady(); + }; + var loadRealPlayerContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid: "clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA", + style : "display: none"}); + + object.append(jQuery("").attr({name: "src" , value: options.reference})); + object.append(jQuery("").attr({name: "controls" , value: "imagewindow"})); + object.append(jQuery("").attr({name: "console" , value: "one"})); + object.append(jQuery("").attr({name: "autostart", value: "true"})); + + object.append(jQuery("").attr({src : options.reference, + width : options.width, + height : options.height, + controls : "imagewindow", + console : "one", + autostart : "true", + nojava : "true", + type : "audio/x-pn-realaudio-plugin", + pluginspage: "http://www.real.com/freeplayer/?rppr=rnwk"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height}); + options.content.append(object); + onContentReady(); + }; + var loadWindowsMediaContent = function() { + loadQuickTimeContent(); + }; + + var onContentReady = function(html) { + hideLoader(); + + if (html) { + options.content = jQuery(html); + } + + switch(options.type) { + case "image": case "html": case "dom": case "iframe": + options.resize = options.content; + jQuery(".te_content").removeClass("te_scrollable"); + break; + default: + options.resize = jQuery("#temp_up .te_content"); + jQuery(".te_content").addClass("te_scrollable"); + } + + if (jQuery("#top_up").is(":hidden")) { + show(); + } else { + replace(); + } + }; + var showLoader = function() { + var origin = jQuery("#top_up"); + if (jQuery("#top_up").is(":hidden")) { + origin = jQuery(options.topUp); + if (!origin.length) { + origin = jQuery(document); + } else if (origin.children().length > 0) { + origin = jQuery(origin.children()[0]); + } + } + try { + var dimensions = {top: origin.offset().top, + left: origin.offset().left, + width: origin.outerWidth(), + height: origin.outerHeight()}; + } catch(e) { + var dimensions = {top: jQuery(window).scrollTop(), + left: jQuery(window).scrollLeft(), + width: parseInt(jQuery(window).width() / 2, 10), + height: parseInt(jQuery(window).height() / 2, 10)}; + } + + // added by Timo Besenreuther (2010-02-24) + //   fixes issue in ie6 (current image disappearing while loading) + jQuery("#tu_loader").html(" ").css(dimensions).show(); + }; + var hideLoader = function() { + jQuery("#tu_loader").hide(); + }; + + var show = function() { + setContent(); + setDimensions(); + + moveContent("top_up"); + jQuery("#top_up").center(); + + if (options.x) { + jQuery("#top_up").css({left: parseInt(options.x, 10)}); + } + if (options.y) { + jQuery("#top_up").css({top : parseInt(options.y, 10)}); + } + + switch(options.effect) { + case "appear": case "fade": + jQuery("#top_up").fadeIn(fadeDuration(300), afterDisplay); break; + case "switch": case "clip": + jQuery("#top_up").show("clip", {direction: "vertical"}, 500, afterDisplay); break; + case "transform": + var origin = jQuery(options.topUp); + if (origin.children().length > 0) { + origin = jQuery(origin.children()[0]); + } + var tuContent = jQuery("#top_up").find(".te_content"); + var dimensions = options.topUp ? + jQuery.extend({width: origin.outerWidth(), height: origin.outerHeight()}, origin.offset()) : + {top: parseInt(jQuery(window).height() / 2, 10) - parseInt(tuContent.height() / 2, 10) + jQuery(window).scrollTop(), + left: parseInt(jQuery(window).width() / 2, 10) - parseInt(tuContent.width() / 2, 10) + jQuery(window).scrollLeft(), + width: 10, + height: 10}; + + transform("from", dimensions, afterDisplay); + break; + default: + jQuery("#top_up").show(); + afterDisplay(); + } + }; + + var replace = function(callback) { + var isScrollable = jQuery("#top_up .te_content").hasClass("te_scrollable"); + if (isScrollable) { + jQuery("#top_up .te_content").removeClass("te_scrollable"); + } + var focusedElement = jQuery("#top_up .te_content :focus"); + var wrapper = jQuery("#top_up .te_content").lockDimensions().wrapInner("
    ").children(); + + wrapper.fadeOut(fadeDuration(250), function() { + if (parseInt(options.storeCurrent, 10) == 1) { + wrapper.addClass("te_stored_content").hide().find(".te_stored_content").before(wrapper); + } else { + wrapper.children().appendTo("#temp_up .te_content").end().end().remove(); + } + + if (callback) { + var arg = jQuery("#temp_up .te_content"); + if (jQuery.inArray(options.type, ["html", "dom"]) != -1) { + arg = arg.children().eq(0); + } + callback.apply(arg); + } else { + clearContent(); + setContent(); + } + if (isScrollable) { + jQuery("#top_up .te_content").addClass("te_scrollable"); + } + + + setDimensions(); + + jQuery("#top_up").centerWrap(jQuery("#temp_up")); + + var animation = {width: jQuery("#temp_up .te_content").outerWidth(), + height: jQuery("#temp_up .te_content").outerHeight()}; + + // added by Timo Besenreuther (2010-02-24) + // fix problem with changing width in ie8 (topup used to move left) + var newTopUpWidth = jQuery("#temp_up").outerWidth(); + jQuery("#top_up .te_content").animate(animation, 400, function() { + moveContent("top_up"); + jQuery("#top_up").removeCenterWrap(newTopUpWidth); + focusedElement.focus(); + afterDisplay(); + }); + }); + }; + + var setContent = function() { + options.content.appendTo("#temp_up .te_content"); + }; + var moveContent = function(to) { + var from = to == "top_up" ? "temp_up" : "top_up"; + jQuery("#" + from + " .te_content").children().appendTo("#" + to + " .te_content"); + + if (to == "top_up") { + jQuery("#top_up .te_content").css({width: jQuery("#temp_up .te_content").css("width"), + height: jQuery("#temp_up .te_content").css("height")}); + } + }; + var clearContent = function() { + jQuery(".te_content .marked").each(function() { + var marker = jQuery("#" + jQuery(this).markerId()); + if (marker.hasClass("hidden")) { + jQuery(this).hide(); + } + marker.after(jQuery(this).removeClass("marked")).remove(); + }); + + jQuery(".te_content").children(":not(.te_stored_content)").remove(); + }; + + var transform = function(direction, dimensions, callback) { + var topUp = jQuery("#top_up"); + var tuContent = topUp.find(".te_content"); + + if (direction == "from") { + topUp.addClass("te_transparent") + .show(); + } + + var topUpOffset = topUp.offset(); + var tuContentOffset = tuContent.offset(); + var tuContentDiff = {width: topUp.width() - tuContent.width(), + height: topUp.height() - tuContent.height()}; + + dimensions.top -= tuContentOffset.top - topUpOffset.top; + dimensions.left -= tuContentOffset.left - topUpOffset.left; + + var origin = {top: topUp.css("top"), left: topUp.css("left"), width: topUp.outerWidth(), height: topUp.outerHeight()}; + var opts = {to: direction == "from" ? origin : dimensions, duration: 500}; + + if (direction == "from") { + opts.to.width -= tuContentDiff.width; + opts.to.height -= tuContentDiff.height; + } + + var animation = function() { + var cb = function() { + callback.apply(); + options.content.removeClass("te_overflow"); + }; + + var onReady = direction == "to" ? + function() { + topUp.fadeOut(fadeDuration(100), cb); + } : cb; + + topUp .animate({top: opts.to.top, left: opts.to.left}, opts.duration); + options.content.animate({width: opts.to.width, + height: opts.to.height}, opts.duration, onReady); + }; + + options.content.addClass("te_overflow"); + + if (direction == "from") { + topUp .css({top: dimensions.top, left: dimensions.left}); + options.content.css({width: dimensions.width, height: dimensions.height}); + + jQuery(".te_top_up,.te_content").unlockDimensions(); + + topUp.hide() + .removeClass("te_transparent") + .fadeIn(fadeDuration(150), animation); + } else { + animation.apply(); + } + }; + var afterDisplay = function() { + var duration = fadeDuration(500); + + if (jQuery("#top_up .te_frame").resizable && parseInt(options.resizable, 10) == 1) { + var opts = {stop: function(){ jQuery("#top_up .te_frame").css({width: "auto", height: "auto"}); }, + handles: "se", + minWidth: 200, minHeight: 75, + alsoResize: "#" + options.resize.id(), + aspectRatio: options.type == "image"}; + jQuery("#top_up .te_frame").resizable(opts); + } + + if (jQuery.ie6 || jQuery.ie7) { + jQuery("#top_up .te_title").css("width", jQuery("#top_up").width()); + } + jQuery("#top_up .te_title").html(options.title || "") + .fadeIn(duration); + + if (group && group.items.length > 1 && jQuery("#top_up .te_controls").is(":hidden")) { + if (jQuery.ie6) { + jQuery("#top_up .te_controls").show(); + } else { + jQuery("#top_up .te_controls").fadeIn(duration); + } + } + + if (jQuery("#top_up .te_close_link").is(":hidden")) { + if (jQuery.ie6) { + jQuery("#top_up .te_close_link").show(); + } else { + jQuery("#top_up .te_close_link").fadeIn(duration); + } + } + + checkPosition(); + + jQuery(".te_top_up,.te_content").unlockDimensions(); + if (movieContentDisplayed()) { + options.content.find("object").show(); + } + + if (options.ondisplay) { + options.ondisplay.apply(this, [jQuery("#top_up .te_content"), data]); + } + + displaying = false; + }; + + var setDimensions = function(dimensions) { + var func = dimensions ? null : checkHeight; + + if (!dimensions) { + options.resize.unlockDimensions(); + if (jQuery.inArray(options.type, ["image", "html", "dom", "iframe"]) != -1) { + jQuery("#temp_up .te_content").unlockDimensions(); + } + + dimensions = {}; + if (options.width) { + dimensions.width = parseInt(options.width, 10); + } + if (options.height) { + dimensions.height = parseInt(options.height, 10); + } + if (jQuery.ie6) { + jQuery("#top_up .te_title").css("width", jQuery("#temp_up").outerWidth()); + } + } + + // added by Timo Besenreuther (2010-02-24) + // close button does not get transformed properly in ie8, so we just hide it + if (jQuery.ie8) { + jQuery("#top_up .te_close_link").hide(); + } + + options.resize.css(dimensions); + + // added by Timo Besenreuther (2010-02-24) + // display close button again after resizing + if (jQuery.ie8) { + jQuery("#top_up .te_close").show(); + } + + if (func) { + func.apply(); + } + }; + var checkHeight = function() { + if (jQuery("#temp_up").outerHeight() <= jQuery(window).height() - 4) { + return; + } + + var extraHeight = jQuery("#temp_up").outerHeight() - jQuery("#temp_up .te_content").height(), + dimensions = {height: jQuery(window).height() - 4 - extraHeight}; + + if (options.type == "image") { + dimensions.width = parseInt(options.content.width() * (dimensions.height / options.content.height()), 10); + } + + setDimensions(dimensions); + }; + var checkPosition = function() { + var offset = jQuery("#top_up").offset(); + var dimensions = {width: jQuery("#top_up").outerWidth(), height: jQuery("#top_up").outerHeight()}; + var position = {}; + + if (offset.top - jQuery(window).scrollTop() < 2) { + position.top = jQuery(window).scrollTop() + 2; + } else if (offset.top + dimensions.height - jQuery(window).scrollTop() > jQuery(window).height() - 2) { + position.top = jQuery(window).scrollTop() + jQuery(window).height() - dimensions.height - 2; + } + + if (offset.left - jQuery(window).scrollLeft() < 2) { + position.left = jQuery(window).scrollLeft() + 2; + } else if (offset.left + dimensions.width - jQuery(window).scrollLeft() > jQuery(window).width() - 2) { + position.left = jQuery(window).scrollLeft() + jQuery(window).width() - dimensions.width - 24; + } + + if (jQuery.keys(position).length > 0) { + if (jQuery.ie6 || jQuery.ie7) { + // added by Timo Besenreuther (2010-02-24) + // IE6&7 somehow lose the content (make sure it is displayed) + jQuery("#top_up").css(position); + window.setTimeout(function() { + jQuery("#top_up .te_content").show(); + }, 1); + } else { + jQuery("#top_up").animate(position, 300); + } + } + }; + + var hide = function(callback) { + jQuery(".te_content .te_stored_content").removeClass("te_stored_content"); + + var duration = fadeDuration(250); + var onReady = function() { + animateHide(callback); + }; + + jQuery("#top_up .te_title") .fadeOut(duration); + jQuery("#top_up .te_controls").fadeOut(duration); + + if (movieContentDisplayed()) { + options.content.find("object").hide(); + } + + if (jQuery.ie) { + jQuery("#top_up .te_close_link").hide(); + onReady.apply(); + } else { + jQuery("#top_up .te_close_link").fadeOut(duration, onReady); + } + }; + var animateHide = function(callback) { + var afterHide = function() { + if (callback) { + callback.apply(this, [jQuery("#top_up .te_content"), data]); + } + if (options.onclose) { + options.onclose.apply(this, [jQuery("#top_up .te_content"), data]); + } + + clearContent(); + moveContent("temp_up"); + }; + + switch(options.effect) { + case "appear": case "fade": + jQuery("#top_up").fadeOut(fadeDuration(300), afterHide); break; + case "switch": case "clip": + jQuery("#top_up").hide("clip", {direction: "vertical"}, 400, afterHide); break; + case "transform": + if (jQuery.ie6) { + // added by Timo Besenreuther (2010-02-24) + // transforming back to origin sometimes causes problems in ie6 + jQuery("#top_up").hide(); + afterHide.apply(); + break; + } + var origin = jQuery(options.topUp); + if (origin.children().length > 0) { + origin = jQuery(origin.children()[0]); + } + var tuContent = jQuery("#top_up").find(".te_content"); + var dimensions = options.topUp ? + jQuery.extend({width: origin.outerWidth(), height: origin.outerHeight()}, origin.offset()) : + {top: parseInt(jQuery(window).height() / 2, 10) + jQuery(window).scrollTop(), + left: parseInt(jQuery(window).width() / 2, 10) + jQuery(window).scrollLeft(), + width: 10, + height: 10}; + + transform("to", dimensions, afterHide); + break; + default: + jQuery("#top_up").hide(); + afterHide(); + } + + jQuery("#tu_overlay").hide(); + }; + + return { + version: "1.7.2", + jquery: null, + host: scriptParams.host || scriptHost, + images_path: scriptParams.images_path || "images/top_up/", + players_path: scriptParams.players_path || "players/", + data: data, + init: function() { + if (initialized) { + return false; + } + + try { + jQuery(document).ready(function() { + TopUp.jquery = jQuery().jquery; + + fast_mode = parseInt(scriptParams.fast_mode, 10) == 1; + default_preset.resizable = jQuery.ui && jQuery.ui.resizable ? 1 : 0; + + extendjQuery(); + injectCode(); + bind(); + + jQuery("#top_up").draggableZ({only: ".te_title,.te_top *,.te_bottom *"}); + jQuery.each(on_ready, function(i, func) { + func.apply(); + }); + }); + + jQuery(window).unload(function() { + jQuery("*").unbind(); + if (jQuery("#top_up .te_frame").resizable) { + jQuery("#top_up .te_frame").resizable("destroy"); + } + }); + + initialized = true; + } catch(e) {} + }, + defaultPreset: function(set) { + default_preset = jQuery.extend(default_preset, set); + }, + addPresets: function(sets) { + presets = jQuery.extend(presets, sets); + }, + ready: function(func) { + on_ready.push(func); + }, + // added by Timo Besenreuther (2010-02-24) / modified by Paul Engel (2010-02-25) + // disable cpu-consuming options like .tu_images etc + enableFastMode: function() { + var args = arguments; + + if (!jQuery.isReady) { + TopUp.ready(function() { + TopUp.enableFastMode.apply(null, args); + }); + return false; + } + + if (arguments.length) { + var arg = arguments[0]; + var func = jQuery.isFunction(arg) ? arg : function() { return arg; }; + fast_mode = func.apply(); + } else { + fast_mode = true; + } + fast_mode = fast_mode == true || parseInt(fast_mode, 10) == 1; + + TopUp.rebind(); + }, + rebind: function() { + if (selector) { + jQuery(selector).die("click", topUpClick); + } + bind(); + }, + displayTopUp: function(element, opts) { + if (!jQuery.isReady) { + TopUp.ready(function() { + TopUp.displayTopUp(element, opts); + }); + return false; + } + var topUp = jQuery(element).bubbleDetect(selector); + var toptions = deriveTopUpOptions(topUp, jQuery.extend(opts || {}, {trigger: "#" + jQuery(element).id()})); + TopUp.display(topUp.element.attr("href"), toptions); + }, + display: function(reference, opts) { + if (!jQuery.isReady) { + TopUp.ready(function() { + TopUp.display(reference, opts); + }); + return false; + } + + if (displaying) { + return false; + } + + try { + displaying = true; + + data = {}; + deriveOptions(reference, opts, true); + + showLoader(); + + var continueDisplaying = function() { + try { + deriveGroup(); + prepare(); + loadContent(); + } catch(e) { + displaying = false; + hideLoader(); + alert("Sorry, but the following error occured:\n\n" + e); + } + }; + + // added by Timo Besenreuther (2010-02-24) + // force ie6 to display loader while deriving groups (which can take a while...) + if (jQuery.ie6) { + window.setTimeout(continueDisplaying, 1); + } else { + continueDisplaying(); + } + } catch(e) { + displaying = false; + hideLoader(); + alert("Sorry, but the following error occured:\n\n" + e); + } + }, + update: function(func) { + if (jQuery("#top_up").is(":hidden")) { + return; + } + + replace(func || function() {}); + }, + restore: function(storeCurrent, callback) { + options.storeCurrent = storeCurrent ? 1 : 0; + options.ondisplay = callback; + + TopUp.update(function() { + clearContent(); + var stored_content = this.children(":not(.te_stored_content):first-child").prev(); + if (!stored_content.length) { + stored_content = this.children(".te_stored_content:last-child"); + } + stored_content.children().insertBefore(stored_content).end().end().remove(); + }); + }, + previous: function() { + navigateInGroup(-1); + }, + next: function() { + navigateInGroup(1); + }, + overlayClose: function() { + if (parseInt(options.overlayClose, 10) == 1) { + TopUp.close(); + } + }, + close: function(callback) { + if (jQuery("#top_up").is(":visible")) { + hide(callback); + } + } + }; +}()); + +(function () { + var missing_libs = []; + + if (scriptParams.libs != null) { + var libs = scriptParams.libs.replace(/clip|switch/g, "fxc-clip").replace(/resize/g, "uic-resizable").split("+"); + + for (var i = 0; i < libs.length; i++) { + if (["all", "core", "fxc-clip", "uic-resizable"].indexOf(libs[i]) != -1) { + if (missing_libs.indexOf(libs[i]) == -1) { + missing_libs.push(libs[i]); + } + } + } + } else { + if (typeof(jQuery) == "undefined") { + missing_libs.push("all"); + } else { + if (!jQuery.effects || !jQuery.effects.clip) { + missing_libs.push("fxc-clip"); + } + if (!jQuery.ui || !jQuery.ui.resizable) { + missing_libs.push("uic-resizable"); + } + } + } + + if (missing_libs.length == 0) { + TopUp.init(); + } else { + var src = scriptElement.getAttribute("src").replace(/(development\/)?top_up(\-min)?\.js.*$/, "jquery/" + missing_libs.sort().join(".") + ".js"); + document.write(''); + } +}()); + +} diff --git a/js/topup/1. Single links/1. TopUp classes.html b/js/topup/1. Single links/1. TopUp classes.html new file mode 100644 index 0000000..63bf315 --- /dev/null +++ b/js/topup/1. Single links/1. TopUp classes.html @@ -0,0 +1,48 @@ + + + Single links - Using TopUp classes + + + + + +
    +
    + +
    +
    +

    TopUp classes

    +

    + You can implement TopUp just by adding a TopUp class to a HTML element. + There are multiple TopUp classes of which you can choose from. +

    +

    + For TopUp with default settings, just use 'top_up'. + You can also compose the TopUp class which specifies certain TopUp settings. +

    +

    + When composing you can specify: +

    +
      +
    1. the layout ('db' for dashboard, 'ql' for quicklook, 'fl' for flatlook)
    2. +
    3. the type (see documentation)
    4. +
    5. the dimensions (width'x'height)
    6. +
    +

    + The composed TopUp class has to begin with 'tu_' followed by the settings joined with underscores.
    + As an example, use 'tu_ql_iframe' for a TopUp with the 'quicklook' layout and the 'iframe' type. +

    +
    +

    Demo

    +
    + + + Open Google +
    +
    +
    + + \ No newline at end of file diff --git a/js/topup/1. Single links/2. TopUp preset.html b/js/topup/1. Single links/2. TopUp preset.html new file mode 100644 index 0000000..4655bde --- /dev/null +++ b/js/topup/1. Single links/2. TopUp preset.html @@ -0,0 +1,48 @@ + + + Single links - Using a TopUp preset + + + + + +
    +
    + +
    +
    +

    TopUp preset

    +

    + Specifying a TopUp preset is just like specifying style attributes to a CSS selector in your stylesheet. + The great advantage of using presets is that it provides you to keep your HTML entirely(!) clean. +

    +

    + Just call TopUp.addPresets() with a hash as parameter.
    + The key of each entry has to be a CSS selector and the value has to be a hash of toptions. +

    +
    +

    Demo

    +
    +
    + + + +
    + +
    +
    +
    + + \ No newline at end of file diff --git a/js/topup/1. Single links/3. Toptions.html b/js/topup/1. Single links/3. Toptions.html new file mode 100644 index 0000000..43b11e2 --- /dev/null +++ b/js/topup/1. Single links/3. Toptions.html @@ -0,0 +1,35 @@ + + + Single links - Using Toptions + + + + + +
    +
    + +
    +
    +

    Toptions

    +

    + Other than TopUp classes or presets, you can also use plain old options to customize your TopUp element (so called toptions). +

    +

    + Just add the toptions attribute to your TopUp element.
    + A toption is specified as "[name] = [value]", use the comma (",") as a seperator between toptions. +

    +
    +

    Demo

    +
    + + + +
    +
    +
    + + \ No newline at end of file diff --git a/js/topup/1. Single links/README b/js/topup/1. Single links/README new file mode 100644 index 0000000..bca951c --- /dev/null +++ b/js/topup/1. Single links/README @@ -0,0 +1,2 @@ +This is the simplest type of all TopUp implementations. +A single HTML element (in most cases a link) refers to a certain location which will be presented by the TopUp module when clicked on that element. \ No newline at end of file diff --git a/js/topup/1. Single links/photos/1.jpg b/js/topup/1. Single links/photos/1.jpg new file mode 100644 index 0000000..9a30b91 Binary files /dev/null and b/js/topup/1. Single links/photos/1.jpg differ diff --git a/js/topup/1. Single links/photos/2.jpg b/js/topup/1. Single links/photos/2.jpg new file mode 100644 index 0000000..fc548fb Binary files /dev/null and b/js/topup/1. Single links/photos/2.jpg differ diff --git a/js/topup/1. Single links/thumbnails/1.jpg b/js/topup/1. Single links/thumbnails/1.jpg new file mode 100644 index 0000000..67225be Binary files /dev/null and b/js/topup/1. Single links/thumbnails/1.jpg differ diff --git a/js/topup/1. Single links/thumbnails/2.jpg b/js/topup/1. Single links/thumbnails/2.jpg new file mode 100644 index 0000000..c3db715 Binary files /dev/null and b/js/topup/1. Single links/thumbnails/2.jpg differ diff --git a/js/topup/2. Grouped links/1. TopUp preset.html b/js/topup/2. Grouped links/1. TopUp preset.html new file mode 100644 index 0000000..4205656 --- /dev/null +++ b/js/topup/2. Grouped links/1. TopUp preset.html @@ -0,0 +1,51 @@ + + + Grouped links - Using a TopUp preset + + + + + +
    +
    + +
    +
    +

    TopUp preset

    +

    + Specifying a TopUp preset is just like specifying style attributes to a CSS selector in your stylesheet. + The great advantage of using presets is that it provides you to keep your HTML entirely(!) clean. +

    +

    + Just call TopUp.addPresets() with a hash as parameter.
    + The key of each entry has to be a CSS selector and the value has to be a hash of toptions. +

    +

    + So for grouping links, just specify group: [name] in the preset. +

    +
    +

    Demo

    +
    +
    + + + At Sunset +
    + +
    +
    +
    + + \ No newline at end of file diff --git a/js/topup/2. Grouped links/2. Toptions.html b/js/topup/2. Grouped links/2. Toptions.html new file mode 100644 index 0000000..56070c9 --- /dev/null +++ b/js/topup/2. Grouped links/2. Toptions.html @@ -0,0 +1,31 @@ + + + Single links - Using Toptions + + + + + +
    +
    + +
    +
    +

    Toptions

    +

    + Just add a toptions attribute with "group = [name]" to your TopUp elements. +

    +
    +

    Demo

    + +
    +
    + + \ No newline at end of file diff --git a/js/topup/2. Grouped links/README b/js/topup/2. Grouped links/README new file mode 100644 index 0000000..ad32608 --- /dev/null +++ b/js/topup/2. Grouped links/README @@ -0,0 +1,2 @@ +TopUp offers you to group links together so you can navigate between them in the TopUp. +In most cases the group feature is used for image galleries, but TopUp provides you the ability to group ANY type of links together. \ No newline at end of file diff --git a/js/topup/2. Grouped links/photos/2.jpg b/js/topup/2. Grouped links/photos/2.jpg new file mode 100644 index 0000000..86f618e Binary files /dev/null and b/js/topup/2. Grouped links/photos/2.jpg differ diff --git a/js/topup/2. Grouped links/photos/3.jpg b/js/topup/2. Grouped links/photos/3.jpg new file mode 100644 index 0000000..770193a Binary files /dev/null and b/js/topup/2. Grouped links/photos/3.jpg differ diff --git a/js/topup/2. Grouped links/photos/by-ben-adamson.jpg b/js/topup/2. Grouped links/photos/by-ben-adamson.jpg new file mode 100644 index 0000000..809067a Binary files /dev/null and b/js/topup/2. Grouped links/photos/by-ben-adamson.jpg differ diff --git a/js/topup/2. Grouped links/thumbnails/2.jpg b/js/topup/2. Grouped links/thumbnails/2.jpg new file mode 100644 index 0000000..8430f54 Binary files /dev/null and b/js/topup/2. Grouped links/thumbnails/2.jpg differ diff --git a/js/topup/2. Grouped links/thumbnails/3.jpg b/js/topup/2. Grouped links/thumbnails/3.jpg new file mode 100644 index 0000000..def926d Binary files /dev/null and b/js/topup/2. Grouped links/thumbnails/3.jpg differ diff --git a/js/topup/2. Grouped links/thumbnails/by-ben-adamson.jpg b/js/topup/2. Grouped links/thumbnails/by-ben-adamson.jpg new file mode 100644 index 0000000..dab0331 Binary files /dev/null and b/js/topup/2. Grouped links/thumbnails/by-ben-adamson.jpg differ diff --git a/js/topup/images/photos/1.jpg b/js/topup/images/photos/1.jpg new file mode 100644 index 0000000..9a30b91 Binary files /dev/null and b/js/topup/images/photos/1.jpg differ diff --git a/js/topup/images/photos/2.jpg b/js/topup/images/photos/2.jpg new file mode 100644 index 0000000..fc548fb Binary files /dev/null and b/js/topup/images/photos/2.jpg differ diff --git a/js/topup/images/photos/3.jpg b/js/topup/images/photos/3.jpg new file mode 100644 index 0000000..770193a Binary files /dev/null and b/js/topup/images/photos/3.jpg differ diff --git a/js/topup/images/photos/4.jpg b/js/topup/images/photos/4.jpg new file mode 100644 index 0000000..86f618e Binary files /dev/null and b/js/topup/images/photos/4.jpg differ diff --git a/js/topup/images/photos/by-ben-adamson.jpg b/js/topup/images/photos/by-ben-adamson.jpg new file mode 100644 index 0000000..809067a Binary files /dev/null and b/js/topup/images/photos/by-ben-adamson.jpg differ diff --git a/js/topup/images/sprite-min.png b/js/topup/images/sprite-min.png new file mode 100644 index 0000000..c072683 Binary files /dev/null and b/js/topup/images/sprite-min.png differ diff --git a/js/topup/images/thumbnails/1.jpg b/js/topup/images/thumbnails/1.jpg new file mode 100644 index 0000000..2d0fe22 Binary files /dev/null and b/js/topup/images/thumbnails/1.jpg differ diff --git a/js/topup/images/thumbnails/2.jpg b/js/topup/images/thumbnails/2.jpg new file mode 100644 index 0000000..e459d49 Binary files /dev/null and b/js/topup/images/thumbnails/2.jpg differ diff --git a/js/topup/images/thumbnails/3.jpg b/js/topup/images/thumbnails/3.jpg new file mode 100644 index 0000000..be54722 Binary files /dev/null and b/js/topup/images/thumbnails/3.jpg differ diff --git a/js/topup/images/thumbnails/4.jpg b/js/topup/images/thumbnails/4.jpg new file mode 100644 index 0000000..b044022 Binary files /dev/null and b/js/topup/images/thumbnails/4.jpg differ diff --git a/js/topup/images/thumbnails/by-ben-adamson.jpg b/js/topup/images/thumbnails/by-ben-adamson.jpg new file mode 100644 index 0000000..728cdfc Binary files /dev/null and b/js/topup/images/thumbnails/by-ben-adamson.jpg differ diff --git a/js/topup/images/thumbnails/flv.jpg b/js/topup/images/thumbnails/flv.jpg new file mode 100644 index 0000000..bc0bfc0 Binary files /dev/null and b/js/topup/images/thumbnails/flv.jpg differ diff --git a/js/topup/images/thumbnails/google.jpg b/js/topup/images/thumbnails/google.jpg new file mode 100644 index 0000000..54db0bb Binary files /dev/null and b/js/topup/images/thumbnails/google.jpg differ diff --git a/js/topup/images/thumbnails/quicktime.jpg b/js/topup/images/thumbnails/quicktime.jpg new file mode 100644 index 0000000..fe11b17 Binary files /dev/null and b/js/topup/images/thumbnails/quicktime.jpg differ diff --git a/js/topup/images/thumbnails/swf.jpg b/js/topup/images/thumbnails/swf.jpg new file mode 100644 index 0000000..8939e17 Binary files /dev/null and b/js/topup/images/thumbnails/swf.jpg differ diff --git a/js/topup/images/thumbnails/youtube.jpg b/js/topup/images/thumbnails/youtube.jpg new file mode 100644 index 0000000..c5f694c Binary files /dev/null and b/js/topup/images/thumbnails/youtube.jpg differ diff --git a/js/topup/images/top_up/dashboard/bottom_left.png b/js/topup/images/top_up/dashboard/bottom_left.png new file mode 100644 index 0000000..6191407 Binary files /dev/null and b/js/topup/images/top_up/dashboard/bottom_left.png differ diff --git a/js/topup/images/top_up/dashboard/bottom_middle.png b/js/topup/images/top_up/dashboard/bottom_middle.png new file mode 100644 index 0000000..32838d4 Binary files /dev/null and b/js/topup/images/top_up/dashboard/bottom_middle.png differ diff --git a/js/topup/images/top_up/dashboard/bottom_right.png b/js/topup/images/top_up/dashboard/bottom_right.png new file mode 100644 index 0000000..71ca3f8 Binary files /dev/null and b/js/topup/images/top_up/dashboard/bottom_right.png differ diff --git a/js/topup/images/top_up/dashboard/close_link.png b/js/topup/images/top_up/dashboard/close_link.png new file mode 100644 index 0000000..8905a0d Binary files /dev/null and b/js/topup/images/top_up/dashboard/close_link.png differ diff --git a/js/topup/images/top_up/dashboard/controls.png b/js/topup/images/top_up/dashboard/controls.png new file mode 100644 index 0000000..ed47b83 Binary files /dev/null and b/js/topup/images/top_up/dashboard/controls.png differ diff --git a/js/topup/images/top_up/dashboard/middle.png b/js/topup/images/top_up/dashboard/middle.png new file mode 100644 index 0000000..4e97d13 Binary files /dev/null and b/js/topup/images/top_up/dashboard/middle.png differ diff --git a/js/topup/images/top_up/dashboard/middle_left.png b/js/topup/images/top_up/dashboard/middle_left.png new file mode 100644 index 0000000..4c3b706 Binary files /dev/null and b/js/topup/images/top_up/dashboard/middle_left.png differ diff --git a/js/topup/images/top_up/dashboard/middle_right.png b/js/topup/images/top_up/dashboard/middle_right.png new file mode 100644 index 0000000..04c451f Binary files /dev/null and b/js/topup/images/top_up/dashboard/middle_right.png differ diff --git a/js/topup/images/top_up/dashboard/next.png b/js/topup/images/top_up/dashboard/next.png new file mode 100644 index 0000000..9732bf7 Binary files /dev/null and b/js/topup/images/top_up/dashboard/next.png differ diff --git a/js/topup/images/top_up/dashboard/previous.png b/js/topup/images/top_up/dashboard/previous.png new file mode 100644 index 0000000..580fb37 Binary files /dev/null and b/js/topup/images/top_up/dashboard/previous.png differ diff --git a/js/topup/images/top_up/dashboard/resize_link.png b/js/topup/images/top_up/dashboard/resize_link.png new file mode 100644 index 0000000..64004ef Binary files /dev/null and b/js/topup/images/top_up/dashboard/resize_link.png differ diff --git a/js/topup/images/top_up/dashboard/sprite.png b/js/topup/images/top_up/dashboard/sprite.png new file mode 100644 index 0000000..d4f7502 Binary files /dev/null and b/js/topup/images/top_up/dashboard/sprite.png differ diff --git a/js/topup/images/top_up/dashboard/top_left.png b/js/topup/images/top_up/dashboard/top_left.png new file mode 100644 index 0000000..7b0c76a Binary files /dev/null and b/js/topup/images/top_up/dashboard/top_left.png differ diff --git a/js/topup/images/top_up/dashboard/top_middle.png b/js/topup/images/top_up/dashboard/top_middle.png new file mode 100644 index 0000000..ba7613a Binary files /dev/null and b/js/topup/images/top_up/dashboard/top_middle.png differ diff --git a/js/topup/images/top_up/dashboard/top_right.png b/js/topup/images/top_up/dashboard/top_right.png new file mode 100644 index 0000000..b92b370 Binary files /dev/null and b/js/topup/images/top_up/dashboard/top_right.png differ diff --git a/js/topup/images/top_up/flatlook/middle.png b/js/topup/images/top_up/flatlook/middle.png new file mode 100644 index 0000000..71964c3 Binary files /dev/null and b/js/topup/images/top_up/flatlook/middle.png differ diff --git a/js/topup/images/top_up/flatlook/sprite.png b/js/topup/images/top_up/flatlook/sprite.png new file mode 100644 index 0000000..ffc00f3 Binary files /dev/null and b/js/topup/images/top_up/flatlook/sprite.png differ diff --git a/js/topup/images/top_up/loader.gif b/js/topup/images/top_up/loader.gif new file mode 100644 index 0000000..e7930da Binary files /dev/null and b/js/topup/images/top_up/loader.gif differ diff --git a/js/topup/images/top_up/quicklook/bottom_left.png b/js/topup/images/top_up/quicklook/bottom_left.png new file mode 100644 index 0000000..1dcffca Binary files /dev/null and b/js/topup/images/top_up/quicklook/bottom_left.png differ diff --git a/js/topup/images/top_up/quicklook/bottom_middle.png b/js/topup/images/top_up/quicklook/bottom_middle.png new file mode 100644 index 0000000..c27b277 Binary files /dev/null and b/js/topup/images/top_up/quicklook/bottom_middle.png differ diff --git a/js/topup/images/top_up/quicklook/bottom_right.png b/js/topup/images/top_up/quicklook/bottom_right.png new file mode 100644 index 0000000..134affe Binary files /dev/null and b/js/topup/images/top_up/quicklook/bottom_right.png differ diff --git a/js/topup/images/top_up/quicklook/close_link.png b/js/topup/images/top_up/quicklook/close_link.png new file mode 100644 index 0000000..fb3a4ed Binary files /dev/null and b/js/topup/images/top_up/quicklook/close_link.png differ diff --git a/js/topup/images/top_up/quicklook/middle.png b/js/topup/images/top_up/quicklook/middle.png new file mode 100644 index 0000000..b95345d Binary files /dev/null and b/js/topup/images/top_up/quicklook/middle.png differ diff --git a/js/topup/images/top_up/quicklook/middle_left.png b/js/topup/images/top_up/quicklook/middle_left.png new file mode 100644 index 0000000..d64917b Binary files /dev/null and b/js/topup/images/top_up/quicklook/middle_left.png differ diff --git a/js/topup/images/top_up/quicklook/middle_right.png b/js/topup/images/top_up/quicklook/middle_right.png new file mode 100644 index 0000000..b7cd41a Binary files /dev/null and b/js/topup/images/top_up/quicklook/middle_right.png differ diff --git a/js/topup/images/top_up/quicklook/next.png b/js/topup/images/top_up/quicklook/next.png new file mode 100644 index 0000000..2d52bbb Binary files /dev/null and b/js/topup/images/top_up/quicklook/next.png differ diff --git a/js/topup/images/top_up/quicklook/previous.png b/js/topup/images/top_up/quicklook/previous.png new file mode 100644 index 0000000..c79050d Binary files /dev/null and b/js/topup/images/top_up/quicklook/previous.png differ diff --git a/js/topup/images/top_up/quicklook/resize_link.png b/js/topup/images/top_up/quicklook/resize_link.png new file mode 100644 index 0000000..76e0622 Binary files /dev/null and b/js/topup/images/top_up/quicklook/resize_link.png differ diff --git a/js/topup/images/top_up/quicklook/sprite.png b/js/topup/images/top_up/quicklook/sprite.png new file mode 100644 index 0000000..a7468a9 Binary files /dev/null and b/js/topup/images/top_up/quicklook/sprite.png differ diff --git a/js/topup/images/top_up/quicklook/top_left.png b/js/topup/images/top_up/quicklook/top_left.png new file mode 100644 index 0000000..e8bd721 Binary files /dev/null and b/js/topup/images/top_up/quicklook/top_left.png differ diff --git a/js/topup/images/top_up/quicklook/top_middle.png b/js/topup/images/top_up/quicklook/top_middle.png new file mode 100644 index 0000000..32b97c9 Binary files /dev/null and b/js/topup/images/top_up/quicklook/top_middle.png differ diff --git a/js/topup/images/top_up/quicklook/top_right.png b/js/topup/images/top_up/quicklook/top_right.png new file mode 100644 index 0000000..561c422 Binary files /dev/null and b/js/topup/images/top_up/quicklook/top_right.png differ diff --git a/js/topup/javascripts/jquery/all.js b/js/topup/javascripts/jquery/all.js new file mode 100644 index 0000000..158d07d --- /dev/null +++ b/js/topup/javascripts/jquery/all.js @@ -0,0 +1,193 @@ + +// * +// * 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 +// * + +if (typeof(jQuery) == "undefined") { +(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)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + +// * +// * jQuery UI Core & Resizable 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + +// * +// * jQuery Effects Core & Clip 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + +// * +// * jQuery Effects Core & Clip 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + diff --git a/js/topup/javascripts/jquery/core.uic-resizable.js b/js/topup/javascripts/jquery/core.uic-resizable.js new file mode 100644 index 0000000..98826dc --- /dev/null +++ b/js/topup/javascripts/jquery/core.uic-resizable.js @@ -0,0 +1,176 @@ + +// * +// * 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 +// * + +if (typeof(jQuery) == "undefined") { +(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)[^>]*$|^#([\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
    a"; +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="";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-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=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=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-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;j0){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":function(g,h){var l=typeof h==="string";if(l&&!/\W/.test(h)){h=h.toLowerCase();for(var m=0,q=g.length;m=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 hl[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=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";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=""; +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="

    ";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="
    ";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=0===d})};c.fn.extend({find:function(a){for(var b=this.pushStack("","find",a),d=0,f=0,e=this.length;f0)for(var j=d;j0},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-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=/"},F={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_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
    ","
    "];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;b0||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;e0?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]===""&&!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=//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("
    ").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").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=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.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); +} + +// * +// * jQuery UI Core & Resizable 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + diff --git a/js/topup/javascripts/jquery/fxc-clip.js b/js/topup/javascripts/jquery/fxc-clip.js new file mode 100644 index 0000000..6f2426d --- /dev/null +++ b/js/topup/javascripts/jquery/fxc-clip.js @@ -0,0 +1,18 @@ + +// * +// * jQuery Effects Core & Clip 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.effects||(function(d){d.effects={version:"1.7.2",save:function(g,h){for(var f=0;f');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h');var j=f.parent();if(f.css("position")=="static"){j.css({position:"relative"});f.css({position:"relative"})}else{var i=f.css("top");if(isNaN(parseInt(i,10))){i="auto"}var h=f.css("left");if(isNaN(parseInt(h,10))){h="auto"}j.css({position:f.css("position"),top:i,left:h,zIndex:f.css("z-index")}).show();f.css({position:"relative",top:0,left:0})}j.css(g);return j},removeWrapper:function(f){if(f.parent().is(".ui-effects-wrapper")){return f.parent().replaceWith(f)}return f},setTransition:function(g,i,f,h){h=h||{};d.each(i,function(k,j){unit=g.cssUnit(j);if(unit[0]>0){h[j]=unit[0]*f+unit[1]}});return h},animateClass:function(h,i,k,j){var f=(typeof k=="function"?k:(j?j:null));var g=(typeof k=="string"?k:null);return this.each(function(){var q={};var o=d(this);var p=o.attr("style")||"";if(typeof p=="object"){p=p.cssText}if(h.toggle){o.hasClass(h.toggle)?h.remove=h.toggle:h.add=h.toggle}var l=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.addClass(h.add)}if(h.remove){o.removeClass(h.remove)}var m=d.extend({},(document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle));if(h.add){o.removeClass(h.add)}if(h.remove){o.addClass(h.remove)}for(var r in m){if(typeof m[r]!="function"&&m[r]&&r.indexOf("Moz")==-1&&r.indexOf("length")==-1&&m[r]!=l[r]&&(r.match(/color/i)||(!r.match(/color/i)&&!isNaN(parseInt(m[r],10))))&&(l.position!="static"||(l.position=="static"&&!r.match(/left|top|bottom|right/)))){q[r]=m[r]}}o.animate(q,i,g,function(){if(typeof d(this).attr("style")=="object"){d(this).attr("style")["cssText"]="";d(this).attr("style")["cssText"]=p}else{d(this).attr("style",p)}if(h.add){d(this).addClass(h.add)}if(h.remove){d(this).removeClass(h.remove)}if(f){f.apply(this,arguments)}})})}};function c(g,f){var i=g[1]&&g[1].constructor==Object?g[1]:{};if(f){i.mode=f}var h=g[1]&&g[1].constructor!=Object?g[1]:(i.duration?i.duration:g[2]);h=d.fx.off?0:typeof h==="number"?h:d.fx.speeds[h]||d.fx.speeds._default;var j=i.callback||(d.isFunction(g[1])&&g[1])||(d.isFunction(g[2])&&g[2])||(d.isFunction(g[3])&&g[3]);return[g[0],i,h,j]}d.fn.extend({_show:d.fn.show,_hide:d.fn.hide,__toggle:d.fn.toggle,_addClass:d.fn.addClass,_removeClass:d.fn.removeClass,_toggleClass:d.fn.toggleClass,effect:function(g,f,h,i){return d.effects[g]?d.effects[g].call(this,{method:g,options:f||{},duration:h,callback:i}):null},show:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._show.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"show"))}},hide:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))){return this._hide.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"hide"))}},toggle:function(){if(!arguments[0]||(arguments[0].constructor==Number||(/(slow|normal|fast)/).test(arguments[0]))||(d.isFunction(arguments[0])||typeof arguments[0]=="boolean")){return this.__toggle.apply(this,arguments)}else{return this.effect.apply(this,c(arguments,"toggle"))}},addClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{add:g},f,i,h]):this._addClass(g)},removeClass:function(g,f,i,h){return f?d.effects.animateClass.apply(this,[{remove:g},f,i,h]):this._removeClass(g)},toggleClass:function(g,f,i,h){return((typeof f!=="boolean")&&f)?d.effects.animateClass.apply(this,[{toggle:g},f,i,h]):this._toggleClass(g,f)},morph:function(f,h,g,j,i){return d.effects.animateClass.apply(this,[{add:h,remove:f},g,j,i])},switchClass:function(){return this.morph.apply(this,arguments)},cssUnit:function(f){var g=this.css(f),h=[];d.each(["em","px","%","pt"],function(j,k){if(g.indexOf(k)>0){h=[parseFloat(g),k]}});return h}});d.each(["backgroundColor","borderBottomColor","borderLeftColor","borderRightColor","borderTopColor","color","outlineColor"],function(g,f){d.fx.step[f]=function(h){if(h.state==0){h.start=e(h.elem,f);h.end=b(h.end)}h.elem.style[f]="rgb("+[Math.max(Math.min(parseInt((h.pos*(h.end[0]-h.start[0]))+h.start[0],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[1]-h.start[1]))+h.start[1],10),255),0),Math.max(Math.min(parseInt((h.pos*(h.end[2]-h.start[2]))+h.start[2],10),255),0)].join(",")+")"}});function b(g){var f;if(g&&g.constructor==Array&&g.length==3){return g}if(f=/rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(g)){return[parseInt(f[1],10),parseInt(f[2],10),parseInt(f[3],10)]}if(f=/rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(g)){return[parseFloat(f[1])*2.55,parseFloat(f[2])*2.55,parseFloat(f[3])*2.55]}if(f=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(g)){return[parseInt(f[1],16),parseInt(f[2],16),parseInt(f[3],16)]}if(f=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(g)){return[parseInt(f[1]+f[1],16),parseInt(f[2]+f[2],16),parseInt(f[3]+f[3],16)]}if(f=/rgba\(0, 0, 0, 0\)/.exec(g)){return a.transparent}return a[d.trim(g).toLowerCase()]}function e(h,f){var g;do{g=d.curCSS(h,f);if(g!=""&&g!="transparent"||d.nodeName(h,"body")){break}f="backgroundColor"}while(h=h.parentNode);return b(g)}var a={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]};d.easing.jswing=d.easing.swing;d.extend(d.easing,{def:"easeOutQuad",swing:function(g,h,f,j,i){return d.easing[d.easing.def](g,h,f,j,i)},easeInQuad:function(g,h,f,j,i){return j*(h/=i)*h+f},easeOutQuad:function(g,h,f,j,i){return -j*(h/=i)*(h-2)+f},easeInOutQuad:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h+f}return -j/2*((--h)*(h-2)-1)+f},easeInCubic:function(g,h,f,j,i){return j*(h/=i)*h*h+f},easeOutCubic:function(g,h,f,j,i){return j*((h=h/i-1)*h*h+1)+f},easeInOutCubic:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h+f}return j/2*((h-=2)*h*h+2)+f},easeInQuart:function(g,h,f,j,i){return j*(h/=i)*h*h*h+f},easeOutQuart:function(g,h,f,j,i){return -j*((h=h/i-1)*h*h*h-1)+f},easeInOutQuart:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h+f}return -j/2*((h-=2)*h*h*h-2)+f},easeInQuint:function(g,h,f,j,i){return j*(h/=i)*h*h*h*h+f},easeOutQuint:function(g,h,f,j,i){return j*((h=h/i-1)*h*h*h*h+1)+f},easeInOutQuint:function(g,h,f,j,i){if((h/=i/2)<1){return j/2*h*h*h*h*h+f}return j/2*((h-=2)*h*h*h*h+2)+f},easeInSine:function(g,h,f,j,i){return -j*Math.cos(h/i*(Math.PI/2))+j+f},easeOutSine:function(g,h,f,j,i){return j*Math.sin(h/i*(Math.PI/2))+f},easeInOutSine:function(g,h,f,j,i){return -j/2*(Math.cos(Math.PI*h/i)-1)+f},easeInExpo:function(g,h,f,j,i){return(h==0)?f:j*Math.pow(2,10*(h/i-1))+f},easeOutExpo:function(g,h,f,j,i){return(h==i)?f+j:j*(-Math.pow(2,-10*h/i)+1)+f},easeInOutExpo:function(g,h,f,j,i){if(h==0){return f}if(h==i){return f+j}if((h/=i/2)<1){return j/2*Math.pow(2,10*(h-1))+f}return j/2*(-Math.pow(2,-10*--h)+2)+f},easeInCirc:function(g,h,f,j,i){return -j*(Math.sqrt(1-(h/=i)*h)-1)+f},easeOutCirc:function(g,h,f,j,i){return j*Math.sqrt(1-(h=h/i-1)*h)+f},easeInOutCirc:function(g,h,f,j,i){if((h/=i/2)<1){return -j/2*(Math.sqrt(1-h*h)-1)+f}return j/2*(Math.sqrt(1-(h-=2)*h)+1)+f},easeInElastic:function(g,i,f,m,l){var j=1.70158;var k=0;var h=m;if(i==0){return f}if((i/=l)==1){return f+m}if(!k){k=l*0.3}if(h0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + diff --git a/js/topup/javascripts/jquery/uic-resizable.js b/js/topup/javascripts/jquery/uic-resizable.js new file mode 100644 index 0000000..64bfc75 --- /dev/null +++ b/js/topup/javascripts/jquery/uic-resizable.js @@ -0,0 +1,18 @@ + +// * +// * jQuery UI Core & Resizable 1.7.2 - New Wave Javascript (Packed) +// * +// * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) +// * Dual licensed under the MIT (MIT-LICENSE.txt) +// * and GPL (GPL-LICENSE.txt) licenses. +// * +// * http://docs.jquery.com/UI +// * + +if (typeof(jQuery) == "function") { + jQuery.ui||(function(c){var i=c.fn.remove,d=c.browser.mozilla&&(parseFloat(c.browser.version)<1.9);c.ui={version:"1.7.2",plugin:{add:function(k,l,n){var m=c.ui[k].prototype;for(var j in n){m.plugins[j]=m.plugins[j]||[];m.plugins[j].push([l,n[j]])}},call:function(j,l,k){var n=j.plugins[l];if(!n||!j.element[0].parentNode){return}for(var m=0;m0){return true}m[j]=1;l=(m[j]>0);m[j]=0;return l},isOverAxis:function(k,j,l){return(k>j)&&(k<(j+l))},isOver:function(o,k,n,m,j,l){return c.ui.isOverAxis(o,n,j)&&c.ui.isOverAxis(k,m,l)},keyCode:{BACKSPACE:8,CAPS_LOCK:20,COMMA:188,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38}};if(d){var f=c.attr,e=c.fn.removeAttr,h="http://www.w3.org/2005/07/aaa",a=/^aria-/,b=/^wairole:/;c.attr=function(k,j,l){var m=l!==undefined;return(j=="role"?(m?f.call(this,k,j,"wairole:"+l):(f.apply(this,arguments)||"").replace(b,"")):(a.test(j)?(m?k.setAttributeNS(h,j.replace(a,"aaa:"),l):f.call(this,k,j.replace(a,"aaa:"))):f.apply(this,arguments)))};c.fn.removeAttr=function(j){return(a.test(j)?this.each(function(){this.removeAttributeNS(h,j.replace(a,""))}):e.call(this,j))}}c.fn.extend({remove:function(){c("*",this).add(this).each(function(){c(this).triggerHandler("remove")});return i.apply(this,arguments)},enableSelection:function(){return this.attr("unselectable","off").css("MozUserSelect","").unbind("selectstart.ui")},disableSelection:function(){return this.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})},scrollParent:function(){var j;if((c.browser.msie&&(/(static|relative)/).test(this.css("position")))||(/absolute/).test(this.css("position"))){j=this.parents().filter(function(){return(/(relative|absolute|fixed)/).test(c.curCSS(this,"position",1))&&(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}else{j=this.parents().filter(function(){return(/(auto|scroll)/).test(c.curCSS(this,"overflow",1)+c.curCSS(this,"overflow-y",1)+c.curCSS(this,"overflow-x",1))}).eq(0)}return(/fixed/).test(this.css("position"))||!j.length?c(document):j}});c.extend(c.expr[":"],{data:function(l,k,j){return !!c.data(l,j[3])},focusable:function(k){var l=k.nodeName.toLowerCase(),j=c.attr(k,"tabindex");return(/input|select|textarea|button|object/.test(l)?!k.disabled:"a"==l||"area"==l?k.href||!isNaN(j):!isNaN(j))&&!c(k)["area"==l?"parents":"closest"](":hidden").length},tabbable:function(k){var j=c.attr(k,"tabindex");return(isNaN(j)||j>=0)&&c(k).is(":focusable")}});function g(m,n,o,l){function k(q){var p=c[m][n][q]||[];return(typeof p=="string"?p.split(/,?\s+/):p)}var j=k("getter");if(l.length==1&&typeof l[0]=="string"){j=j.concat(k("getterSetter"))}return(c.inArray(o,j)!=-1)}c.widget=function(k,j){var l=k.split(".")[0];k=k.split(".")[1];c.fn[k]=function(p){var n=(typeof p=="string"),o=Array.prototype.slice.call(arguments,1);if(n&&p.substring(0,1)=="_"){return this}if(n&&g(l,k,p,o)){var m=c.data(this[0],k);return(m?m[p].apply(m,o):undefined)}return this.each(function(){var q=c.data(this,k);(!q&&!n&&c.data(this,k,new c[l][k](this,p))._init());(q&&n&&c.isFunction(q[p])&&q[p].apply(q,o))})};c[l]=c[l]||{};c[l][k]=function(o,n){var m=this;this.namespace=l;this.widgetName=k;this.widgetEventPrefix=c[l][k].eventPrefix||k;this.widgetBaseClass=l+"-"+k;this.options=c.extend({},c.widget.defaults,c[l][k].defaults,c.metadata&&c.metadata.get(o)[k],n);this.element=c(o).bind("setData."+k,function(q,p,r){if(q.target==o){return m._setData(p,r)}}).bind("getData."+k,function(q,p){if(q.target==o){return m._getData(p)}}).bind("remove",function(){return m.destroy()})};c[l][k].prototype=c.extend({},c.widget.prototype,j);c[l][k].getterSetter="option"};c.widget.prototype={_init:function(){},destroy:function(){this.element.removeData(this.widgetName).removeClass(this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").removeAttr("aria-disabled")},option:function(l,m){var k=l,j=this;if(typeof l=="string"){if(m===undefined){return this._getData(l)}k={};k[l]=m}c.each(k,function(n,o){j._setData(n,o)})},_getData:function(j){return this.options[j]},_setData:function(j,k){this.options[j]=k;if(j=="disabled"){this.element[k?"addClass":"removeClass"](this.widgetBaseClass+"-disabled "+this.namespace+"-state-disabled").attr("aria-disabled",k)}},enable:function(){this._setData("disabled",false)},disable:function(){this._setData("disabled",true)},_trigger:function(l,m,n){var p=this.options[l],j=(l==this.widgetEventPrefix?l:this.widgetEventPrefix+l);m=c.Event(m);m.type=j;if(m.originalEvent){for(var k=c.event.props.length,o;k;){o=c.event.props[--k];m[o]=m.originalEvent[o]}}this.element.trigger(m,n);return !(c.isFunction(p)&&p.call(this.element[0],m,n)===false||m.isDefaultPrevented())}};c.widget.defaults={disabled:false};c.ui.mouse={_mouseInit:function(){var j=this;this.element.bind("mousedown."+this.widgetName,function(k){return j._mouseDown(k)}).bind("click."+this.widgetName,function(k){if(j._preventClickEvent){j._preventClickEvent=false;k.stopImmediatePropagation();return false}});if(c.browser.msie){this._mouseUnselectable=this.element.attr("unselectable");this.element.attr("unselectable","on")}this.started=false},_mouseDestroy:function(){this.element.unbind("."+this.widgetName);(c.browser.msie&&this.element.attr("unselectable",this._mouseUnselectable))},_mouseDown:function(l){l.originalEvent=l.originalEvent||{};if(l.originalEvent.mouseHandled){return}(this._mouseStarted&&this._mouseUp(l));this._mouseDownEvent=l;var k=this,m=(l.which==1),j=(typeof this.options.cancel=="string"?c(l.target).parents().add(l.target).filter(this.options.cancel).length:false);if(!m||j||!this._mouseCapture(l)){return true}this.mouseDelayMet=!this.options.delay;if(!this.mouseDelayMet){this._mouseDelayTimer=setTimeout(function(){k.mouseDelayMet=true},this.options.delay)}if(this._mouseDistanceMet(l)&&this._mouseDelayMet(l)){this._mouseStarted=(this._mouseStart(l)!==false);if(!this._mouseStarted){l.preventDefault();return true}}this._mouseMoveDelegate=function(n){return k._mouseMove(n)};this._mouseUpDelegate=function(n){return k._mouseUp(n)};c(document).bind("mousemove."+this.widgetName,this._mouseMoveDelegate).bind("mouseup."+this.widgetName,this._mouseUpDelegate);(c.browser.safari||l.preventDefault());l.originalEvent.mouseHandled=true;return true},_mouseMove:function(j){if(c.browser.msie&&!j.button){return this._mouseUp(j)}if(this._mouseStarted){this._mouseDrag(j);return j.preventDefault()}if(this._mouseDistanceMet(j)&&this._mouseDelayMet(j)){this._mouseStarted=(this._mouseStart(this._mouseDownEvent,j)!==false);(this._mouseStarted?this._mouseDrag(j):this._mouseUp(j))}return !this._mouseStarted},_mouseUp:function(j){c(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate);if(this._mouseStarted){this._mouseStarted=false;this._preventClickEvent=(j.target==this._mouseDownEvent.target);this._mouseStop(j)}return false},_mouseDistanceMet:function(j){return(Math.max(Math.abs(this._mouseDownEvent.pageX-j.pageX),Math.abs(this._mouseDownEvent.pageY-j.pageY))>=this.options.distance)},_mouseDelayMet:function(j){return this.mouseDelayMet},_mouseStart:function(j){},_mouseDrag:function(j){},_mouseStop:function(j){},_mouseCapture:function(j){return true}};c.ui.mouse.defaults={cancel:null,distance:1,delay:0}})(jQuery);; + if (!jQuery.ui.resizable) { + (function(c){c.widget("ui.resizable",c.extend({},c.ui.mouse,{_init:function(){var e=this,j=this.options;this.element.addClass("ui-resizable");c.extend(this,{_aspectRatio:!!(j.aspectRatio),aspectRatio:j.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:j.helper||j.ghost||j.animate?j.helper||"ui-resizable-helper":null});if(this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)){if(/relative/.test(this.element.css("position"))&&c.browser.opera){this.element.css({position:"relative",top:"auto",left:"auto"})}this.element.wrap(c('
    ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")}));this.element=this.element.parent().data("resizable",this.element.data("resizable"));this.elementIsWrapper=true;this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")});this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0});this.originalResizeStyle=this.originalElement.css("resize");this.originalElement.css("resize","none");this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"}));this.originalElement.css({margin:this.originalElement.css("margin")});this._proportionallyResize()}this.handles=j.handles||(!c(".ui-resizable-handle",this.element).length?"e,s,se":{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"});if(this.handles.constructor==String){if(this.handles=="all"){this.handles="n,e,s,w,se,sw,ne,nw"}var k=this.handles.split(",");this.handles={};for(var f=0;f');if(/sw|se|ne|nw/.test(h)){g.css({zIndex:++j.zIndex})}if("se"==h){g.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[h]=".ui-resizable-"+h;this.element.append(g)}}this._renderAxis=function(p){p=p||this.element;for(var m in this.handles){if(this.handles[m].constructor==String){this.handles[m]=c(this.handles[m],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var n=c(this.handles[m],this.element),o=0;o=/sw|ne|nw|se|n|s/.test(m)?n.outerHeight():n.outerWidth();var l=["padding",/ne|nw|n/.test(m)?"Top":/se|sw|s/.test(m)?"Bottom":/^e$/.test(m)?"Right":"Left"].join("");p.css(l,o);this._proportionallyResize()}if(!c(this.handles[m]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!e.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}e.axis=i&&i[1]?i[1]:"se"}});if(j.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){c(this).removeClass("ui-resizable-autohide");e._handles.show()},function(){if(!e.resizing){c(this).addClass("ui-resizable-autohide");e._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var d=function(f){c(f).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){d(this.element);var e=this.element;e.parent().append(this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")})).end().remove()}this.originalElement.css("resize",this.originalResizeStyle);d(this.originalElement)},_mouseCapture:function(e){var f=false;for(var d in this.handles){if(c(this.handles[d])[0]==e.target){f=true}}return this.options.disabled||!!f},_mouseStart:function(f){var i=this.options,e=this.element.position(),d=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(d.is(".ui-draggable")||(/absolute/).test(d.css("position"))){d.css({position:"absolute",top:e.top,left:e.left})}if(c.browser.opera&&(/relative/).test(d.css("position"))){d.css({position:"relative",top:"auto",left:"auto"})}this._renderProxy();var j=b(this.helper.css("left")),g=b(this.helper.css("top"));if(i.containment){j+=c(i.containment).scrollLeft()||0;g+=c(i.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:j,top:g};this.size=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalSize=this._helper?{width:d.outerWidth(),height:d.outerHeight()}:{width:d.width(),height:d.height()};this.originalPosition={left:j,top:g};this.sizeDiff={width:d.outerWidth()-d.width(),height:d.outerHeight()-d.height()};this.originalMousePosition={left:f.pageX,top:f.pageY};this.aspectRatio=(typeof i.aspectRatio=="number")?i.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var h=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",h=="auto"?this.axis+"-resize":h);d.addClass("ui-resizable-resizing");this._propagate("start",f);return true},_mouseDrag:function(d){var g=this.helper,f=this.options,l={},p=this,i=this.originalMousePosition,m=this.axis;var q=(d.pageX-i.left)||0,n=(d.pageY-i.top)||0;var h=this._change[m];if(!h){return false}var k=h.apply(this,[d,q,n]),j=c.browser.msie&&c.browser.version<7,e=this.sizeDiff;if(this._aspectRatio||d.shiftKey){k=this._updateRatio(k,d)}k=this._respectSize(k,d);this._propagate("resize",d);g.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(k);this._trigger("resize",d,this.ui());return false},_mouseStop:function(g){this.resizing=false;var h=this.options,l=this;if(this._helper){var f=this._proportionallyResizeElements,d=f.length&&(/textarea/i).test(f[0].nodeName),e=d&&c.ui.hasScroll(f[0],"left")?0:l.sizeDiff.height,j=d?0:l.sizeDiff.width;var m={width:(l.size.width-j),height:(l.size.height-e)},i=(parseInt(l.element.css("left"),10)+(l.position.left-l.originalPosition.left))||null,k=(parseInt(l.element.css("top"),10)+(l.position.top-l.originalPosition.top))||null;if(!h.animate){this.element.css(c.extend(m,{top:k,left:i}))}l.helper.height(l.size.height);l.helper.width(l.size.width);if(this._helper&&!h.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",g);if(this._helper){this.helper.remove()}return false},_updateCache:function(d){var e=this.options;this.offset=this.helper.offset();if(a(d.left)){this.position.left=d.left}if(a(d.top)){this.position.top=d.top}if(a(d.height)){this.size.height=d.height}if(a(d.width)){this.size.width=d.width}},_updateRatio:function(g,f){var h=this.options,i=this.position,e=this.size,d=this.axis;if(g.height){g.width=(e.height*this.aspectRatio)}else{if(g.width){g.height=(e.width/this.aspectRatio)}}if(d=="sw"){g.left=i.left+(e.width-g.width);g.top=null}if(d=="nw"){g.top=i.top+(e.height-g.height);g.left=i.left+(e.width-g.width)}return g},_respectSize:function(k,f){var i=this.helper,h=this.options,q=this._aspectRatio||f.shiftKey,p=this.axis,s=a(k.width)&&h.maxWidth&&(h.maxWidthk.width),r=a(k.height)&&h.minHeight&&(h.minHeight>k.height);if(g){k.width=h.minWidth}if(r){k.height=h.minHeight}if(s){k.width=h.maxWidth}if(l){k.height=h.maxHeight}var e=this.originalPosition.left+this.originalSize.width,n=this.position.top+this.size.height;var j=/sw|nw|w/.test(p),d=/nw|ne|n/.test(p);if(g&&j){k.left=e-h.minWidth}if(s&&j){k.left=e-h.maxWidth}if(r&&d){k.top=n-h.minHeight}if(l&&d){k.top=n-h.maxHeight}var m=!k.width&&!k.height;if(m&&!k.left&&k.top){k.top=null}else{if(m&&!k.top&&k.left){k.left=null}}return k},_proportionallyResize:function(){var j=this.options;if(!this._proportionallyResizeElements.length){return}var f=this.helper||this.element;for(var e=0;e');var d=c.browser.msie&&c.browser.version<7,f=(d?1:0),g=(d?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+g,height:this.element.outerHeight()+g,position:"absolute",left:this.elementOffset.left-f+"px",top:this.elementOffset.top-f+"px",zIndex:++h.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(f,e,d){return{width:this.originalSize.width+e}},w:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{left:h.left+e,width:f.width-e}},n:function(g,e,d){var i=this.options,f=this.originalSize,h=this.originalPosition;return{top:h.top+d,height:f.height-d}},s:function(f,e,d){return{height:this.originalSize.height+d}},se:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},sw:function(f,e,d){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[f,e,d]))},ne:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[f,e,d]))},nw:function(f,e,d){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[f,e,d]))}},_propagate:function(e,d){c.ui.plugin.call(this,e,[d,this.ui()]);(e!="resize"&&this._trigger(e,d,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}));c.extend(c.ui.resizable,{version:"1.7.2",eventPrefix:"resize",defaults:{alsoResize:false,animate:false,animateDuration:"slow",animateEasing:"swing",aspectRatio:false,autoHide:false,cancel:":input,option",containment:false,delay:0,distance:1,ghost:false,grid:false,handles:"e,s,se",helper:false,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1000}});c.ui.plugin.add("resizable","alsoResize",{start:function(e,f){var d=c(this).data("resizable"),g=d.options;_store=function(h){c(h).each(function(){c(this).data("resizable-alsoresize",{width:parseInt(c(this).width(),10),height:parseInt(c(this).height(),10),left:parseInt(c(this).css("left"),10),top:parseInt(c(this).css("top"),10)})})};if(typeof(g.alsoResize)=="object"&&!g.alsoResize.parentNode){if(g.alsoResize.length){g.alsoResize=g.alsoResize[0];_store(g.alsoResize)}else{c.each(g.alsoResize,function(h,i){_store(h)})}}else{_store(g.alsoResize)}},resize:function(f,h){var e=c(this).data("resizable"),i=e.options,g=e.originalSize,k=e.originalPosition;var j={height:(e.size.height-g.height)||0,width:(e.size.width-g.width)||0,top:(e.position.top-k.top)||0,left:(e.position.left-k.left)||0},d=function(l,m){c(l).each(function(){var p=c(this),q=c(this).data("resizable-alsoresize"),o={},n=m&&m.length?m:["width","height","top","left"];c.each(n||["width","height","top","left"],function(r,t){var s=(q[t]||0)+(j[t]||0);if(s&&s>=0){o[t]=s||null}});if(/relative/.test(p.css("position"))&&c.browser.opera){e._revertToRelativePosition=true;p.css({position:"absolute",top:"auto",left:"auto"})}p.css(o)})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.nodeType){c.each(i.alsoResize,function(l,m){d(l,m)})}else{d(i.alsoResize)}},stop:function(e,f){var d=c(this).data("resizable");if(d._revertToRelativePosition&&c.browser.opera){d._revertToRelativePosition=false;el.css({position:"relative"})}c(this).removeData("resizable-alsoresize-start")}});c.ui.plugin.add("resizable","animate",{stop:function(h,m){var n=c(this).data("resizable"),i=n.options;var g=n._proportionallyResizeElements,d=g.length&&(/textarea/i).test(g[0].nodeName),e=d&&c.ui.hasScroll(g[0],"left")?0:n.sizeDiff.height,k=d?0:n.sizeDiff.width;var f={width:(n.size.width-k),height:(n.size.height-e)},j=(parseInt(n.element.css("left"),10)+(n.position.left-n.originalPosition.left))||null,l=(parseInt(n.element.css("top"),10)+(n.position.top-n.originalPosition.top))||null;n.element.animate(c.extend(f,l&&j?{top:l,left:j}:{}),{duration:i.animateDuration,easing:i.animateEasing,step:function(){var o={width:parseInt(n.element.css("width"),10),height:parseInt(n.element.css("height"),10),top:parseInt(n.element.css("top"),10),left:parseInt(n.element.css("left"),10)};if(g&&g.length){c(g[0]).css({width:o.width,height:o.height})}n._updateCache(o);n._propagate("resize",h)}})}});c.ui.plugin.add("resizable","containment",{start:function(e,q){var s=c(this).data("resizable"),i=s.options,k=s.element;var f=i.containment,j=(f instanceof c)?f.get(0):(/parent/.test(f))?k.parent().get(0):f;if(!j){return}s.containerElement=c(j);if(/document/.test(f)||f==document){s.containerOffset={left:0,top:0};s.containerPosition={left:0,top:0};s.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var m=c(j),h=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){h[p]=b(m.css("padding"+o))});s.containerOffset=m.offset();s.containerPosition=m.position();s.containerSize={height:(m.innerHeight()-h[3]),width:(m.innerWidth()-h[1])};var n=s.containerOffset,d=s.containerSize.height,l=s.containerSize.width,g=(c.ui.hasScroll(j,"left")?j.scrollWidth:l),r=(c.ui.hasScroll(j)?j.scrollHeight:d);s.parentData={element:j,left:n.left,top:n.top,width:g,height:r}}},resize:function(f,p){var s=c(this).data("resizable"),h=s.options,e=s.containerSize,n=s.containerOffset,l=s.size,m=s.position,q=s._aspectRatio||f.shiftKey,d={top:0,left:0},g=s.containerElement;if(g[0]!=document&&(/static/).test(g.css("position"))){d=n}if(m.left<(s._helper?n.left:0)){s.size.width=s.size.width+(s._helper?(s.position.left-n.left):(s.position.left-d.left));if(q){s.size.height=s.size.width/h.aspectRatio}s.position.left=h.helper?n.left:0}if(m.top<(s._helper?n.top:0)){s.size.height=s.size.height+(s._helper?(s.position.top-n.top):s.position.top);if(q){s.size.width=s.size.height*h.aspectRatio}s.position.top=s._helper?n.top:0}s.offset.left=s.parentData.left+s.position.left;s.offset.top=s.parentData.top+s.position.top;var k=Math.abs((s._helper?s.offset.left-d.left:(s.offset.left-d.left))+s.sizeDiff.width),r=Math.abs((s._helper?s.offset.top-d.top:(s.offset.top-n.top))+s.sizeDiff.height);var j=s.containerElement.get(0)==s.element.parent().get(0),i=/relative|absolute/.test(s.containerElement.css("position"));if(j&&i){k-=s.parentData.left}if(k+s.size.width>=s.parentData.width){s.size.width=s.parentData.width-k;if(q){s.size.height=s.size.width/s.aspectRatio}}if(r+s.size.height>=s.parentData.height){s.size.height=s.parentData.height-r;if(q){s.size.width=s.size.height*s.aspectRatio}}},stop:function(e,m){var p=c(this).data("resizable"),f=p.options,k=p.position,l=p.containerOffset,d=p.containerPosition,g=p.containerElement;var i=c(p.helper),q=i.offset(),n=i.outerWidth()-p.sizeDiff.width,j=i.outerHeight()-p.sizeDiff.height;if(p._helper&&!f.animate&&(/relative/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}if(p._helper&&!f.animate&&(/static/).test(g.css("position"))){c(this).css({left:q.left-d.left-l.left,width:n,height:j})}}});c.ui.plugin.add("resizable","ghost",{start:function(f,g){var d=c(this).data("resizable"),h=d.options,e=d.size;d.ghost=d.originalElement.clone();d.ghost.css({opacity:0.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof h.ghost=="string"?h.ghost:"");d.ghost.appendTo(d.helper)},resize:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost){d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})}},stop:function(e,f){var d=c(this).data("resizable"),g=d.options;if(d.ghost&&d.helper){d.helper.get(0).removeChild(d.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(d,l){var n=c(this).data("resizable"),g=n.options,j=n.size,h=n.originalSize,i=n.originalPosition,m=n.axis,k=g._aspectRatio||d.shiftKey;g.grid=typeof g.grid=="number"?[g.grid,g.grid]:g.grid;var f=Math.round((j.width-h.width)/(g.grid[0]||1))*(g.grid[0]||1),e=Math.round((j.height-h.height)/(g.grid[1]||1))*(g.grid[1]||1);if(/^(se|s|e)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e}else{if(/^(ne)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e}else{if(/^(sw)$/.test(m)){n.size.width=h.width+f;n.size.height=h.height+e;n.position.left=i.left-f}else{n.size.width=h.width+f;n.size.height=h.height+e;n.position.top=i.top-e;n.position.left=i.left-f}}}}});var b=function(d){return parseInt(d,10)||0};var a=function(d){return !isNaN(parseInt(d,10))}})(jQuery);; + } +} + diff --git a/js/topup/javascripts/top_up-min.js b/js/topup/javascripts/top_up-min.js new file mode 100644 index 0000000..8413c0c --- /dev/null +++ b/js/topup/javascripts/top_up-min.js @@ -0,0 +1 @@ +if(typeof(TopUp)=="undefined"){var scriptElement=(function deriveScriptElement(){var c="tu_dummy_script";document.write(''); + + var dummyScript = document.getElementById(id); + var element = dummyScript.previousSibling; + + dummyScript.parentNode.removeChild(dummyScript); + return element; +}()); +var scriptHost = (function deriveScriptHost() { + var src = scriptElement.getAttribute("src"); + return src.match(/^\w+\:\/\//) ? src.match(/^\w+\:\/\/[^\/]*\//)[0] : ""; +}()); + +// * +// * TopUp 1.7.2 (Uncompressed) - Alpha release +// * The #1 Javascript Pop Up / Lightbox (http://gettopup.com) +// * +// * This library requires Prototype (http://prototypejs.org) +// * +// * (c) 2010 Paul Engel (Internetbureau Holder B.V.) +// * Except otherwise noted, TopUp is licensed under +// * http://creativecommons.org/licenses/by-sa/3.0 +// * +// * $Date: 2010-03-07 19:47:47 +0100 (Sun, 07 March 2010) $ +// * + +TopUp = (function() { + var initialized = false, on_ready = [], displaying = false, options = null, group = null, index = null, data = null, reservedDuration = 0.25; + var observing = new Hash({ + body : true, + selector : null, + currently: [] + }); + var default_preset = new Hash({ + layout : "dashboard", + effect : "transform", + duration : 0.5, + resizable: 1 + }), presets = new Hash(); + + var extendPrototype = function() { + Prototype.Browser.IE6 = Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5), 10) == 6; + Prototype.Browser.IE7 = Prototype.Browser.IE && parseInt(navigator.userAgent.substring(navigator.userAgent.indexOf("MSIE")+5), 10) >= 7; + + Element.addMethods({ + center: function(element) { + element = $(element); + var scrollOffsets = document.viewport.getScrollOffsets(); + return element.setStyle({ + top : parseInt((document.viewport.getHeight() - element.getHeight()) / 2, 10) + scrollOffsets.top + "px", + left : parseInt((document.viewport.getWidth() - element.getWidth() ) / 2, 10) + scrollOffsets.left + "px", + position: "absolute" + }); + }, + lockDimensions: function(element) { + element.setStyle({width: element.getWidth() + "px", height: element.getHeight() + "px"}); + return element; + }, + unlockDimensions: function(element) { + element.setStyle({width: "auto", height: "auto"}); + return element; + }, + centerWrap: function(element, compare) { + var current = {width: element.getWidth(), height: element.getHeight()}, delta = {width: 0, height: 0}, diff = 0; + + diff = compare.getWidth() - current.width; + if (delta.width < diff) { + delta.width = diff; + } + diff = compare.getHeight() - current.height; + if (delta.height < diff) { + delta.height = diff; + } + + var offset = element.cumulativeOffset(); + var css = $H({ + top: offset.top - (delta.height === 0 ? 0 : parseInt(delta.height / 2, 10)), + left: offset.left - (delta.width === 0 ? 0 : parseInt(delta.width / 2, 10)), + width: element.getWidth() + delta.width, + height: element.getHeight() + delta.height + }); + + if (options.get("x")) { + css.set("left", options.get("x") - parseInt((css.get("width") - compare.getWidth()) / 2, 10)); + } + if (options.get("y")) { + css.set("top" , options.get("y") - parseInt((css.get("height") - compare.getHeight()) / 2, 10)); + } + css.keys().each(function(k) { css.set(k, css.get(k) + "px") }); + + $("tu_center_wrapper").setStyle(css.toObject()); + $("tu_centered_content").insert({bottom: element}); + + element.setStyle({ + top: "auto", + left: "auto", + width: "auto", + height: "auto", + display: "inline-block", + position: "relative" + }); + + if (Prototype.Browser.FF2) { + element.setStyle({display: "table"}); + } + if (Prototype.Browser.IE6) { + element.setStyle({display: "inline"}); + } + + $("tu_center_wrapper").show(); + + return element; + }, + removeCenterWrap: function(element) { + var position = $("tu_center_wrapper").cumulativeOffset(); + var delta = {width: $("tu_center_wrapper").getWidth() - element.getWidth(), height: $("tu_center_wrapper").getHeight() - element.getHeight()}; + + document.body.insert({bottom: element.setStyle({top : position.top + parseInt(delta.height / 2, 10) + "px", + left: position.left + parseInt(delta.width / 2, 10) + "px", + position: "absolute"})}); + $("tu_center_wrapper").hide(); + + return element; + } + }); + + Effect.SwitchOn = function(element) { + element = $(element); + var elementDimensions = element.getDimensions(); + return new Effect.Scale( + element, 100, + Object.extend({ + duration : 0.55, + scaleFromCenter: true, + scaleX : false, + scaleContent : false, + scaleFrom : 1, + beforeSetup: function(effect) { + effect.element.show().makePositioned().makeClipping(); + } + }, arguments[1] || {}) + ); + }; + }; + var injectCode = function() { + var images_url = TopUp.host + TopUp.images_path; + + var css = '.te_overflow{overflow:hidden !important}.te_dragging{cursor:move !important}#tu_overlay,.te_top_up{top:0;left:0}#tu_overlay{width:100%;height:100%;position:fixed;z-index:999}#temp_up{top:-9999px;z-index:-1}.te_transparent{opacity:0}.te_shaded{opacity:.65;background:black}.te_scrollable{overflow:auto}.te_top_up{position:absolute;z-index:1000}.te_top_up a{border:0}.te_top_up a:hover{border:0}.te_top_up .ui-resizable-se{position:absolute !important;background-color:transparent !important;border:0 !important}.te_wrapper{position:relative}.te_title{width:100%;color:white;font-family:"Lucida Grande", "Arial";font-size:11px;position:absolute;text-align:center;z-index:1001}.te_frame,#tu_center_wrapper{border-collapse:collapse}.te_frame tr,.te_frame td{margin:0;padding:0}.te_frame .te_left,.te_frame .te_middle,.te_frame .te_right{padding:0}.te_controls{position:absolute;z-index:1001}.te_close_link,.te_previous_link,.te_next_link{cursor:pointer}.te_close_link{position:absolute;z-index:1002}.te_previous_link,.te_next_link{display:block;float:left}#tu_center_wrapper{position:absolute;z-index:1000}#tu_loader{width:100%;height:100%;position:absolute;background:url(' + images_url + 'loader.gif) no-repeat 50% 50%;display:block;z-index:1003} #top_up .te_dashboard .ui-resizable-se{width:10px !important;height:10px !important;bottom:12px !important;right:10px !important;background-image:url(' + images_url + 'dashboard/sprite.png) !important;background-position:0 0 !important}.te_dashboard .te_title{top:-9px;font-weight:bold;text-shadow:1px 1px 1px black}.te_dashboard .te_corner,.te_dashboard .te_rib{background-image:url(' + images_url + 'dashboard/sprite.png)}.te_dashboard .te_top,.te_dashboard .te_bottom{height:20px}.te_dashboard .te_left_filler{width:20px}.te_dashboard .te_right_filler{width:19px}.te_dashboard .te_middle .te_middle{background:url(' + images_url + 'dashboard/middle.png)}.te_dashboard .te_top .te_left{background-position:-17px -29px}.te_dashboard .te_top .te_middle{background-position:0 -71px}.te_dashboard .te_top .te_right{background-position:-33px -29px}.te_dashboard .te_middle .te_left{background-position:-17px -232px}.te_dashboard .te_middle .te_right{background-position:-33px -232px}.te_dashboard .te_bottom .te_left{background-position:-17px -47px}.te_dashboard .te_bottom .te_middle{background-position:-17px -89px}.te_dashboard .te_bottom .te_right{background-position:-33px -47px}.te_dashboard .te_content{margin:-11px -12px -11px -13px}.te_dashboard .te_controls{left:50%;width:63px;height:29px;margin-left:-33px;padding-left:5px;bottom:35px;background-image:url(' + images_url + 'dashboard/sprite.png);background-position:0 -178px}.te_dashboard .te_previous_link,.te_dashboard .te_next_link{width:31px;height:29px;background-image:url(' + images_url + 'dashboard/sprite.png)}.te_dashboard .te_previous_link{background-position:66px -113px}.te_dashboard .te_next_link{background-position:30px -113px}.te_dashboard .te_previous_link:hover{background-position:66px -142px}.te_dashboard .te_next_link:hover{background-position:30px -142px}.te_dashboard .te_close_link{width:28px;height:26px;top:-1px;right:-6px;background-image:url(' + images_url + 'dashboard/sprite.png);background-position:-20px 0} #top_up .te_quicklook .ui-resizable-se{width:10px !important;height:10px !important;bottom:12px !important;right:9px !important;background-image:url(' + images_url + 'quicklook/sprite.png) !important;background-position:-75px -181px !important}.te_quicklook .te_title{top:6px}.te_quicklook .te_corner,.te_quicklook .te_rib{background-image:url(' + images_url + 'quicklook/sprite.png)}.te_quicklook .te_top{height:24px}.te_quicklook .te_bottom{height:56px}.te_quicklook .te_left_filler,.te_quicklook .te_right_filler{width:12px}.te_quicklook .te_middle .te_middle{background:url(' + images_url + 'quicklook/middle.png)}.te_quicklook .te_top .te_left{background-position:0 0}.te_quicklook .te_top .te_middle{background-position:0 -30px}.te_quicklook .te_top .te_right{background-position:12px 0}.te_quicklook .te_middle .te_left{background-position:0 -181px}.te_quicklook .te_middle .te_right{background-position:12px -181px}.te_quicklook .te_bottom .te_left{background-position:0 -122px}.te_quicklook .te_bottom .te_middle{background-position:0 -61px}.te_quicklook .te_bottom .te_right{background-position:12px -122px}.te_quicklook .te_content{margin:0 -7px}.te_quicklook .te_controls{left:50%;width:66px;margin-left:-33px;bottom:18px}.te_quicklook .te_previous_link,.te_quicklook .te_next_link{width:31px;height:29px;margin:0 1px;background-image:url(' + images_url + 'quicklook/sprite.png)}.te_quicklook .te_previous_link{background-position:89px -195px}.te_quicklook .te_next_link{background-position:52px -195px}.te_quicklook .te_previous_link:hover{background-position:89px -226px}.te_quicklook .te_next_link:hover{background-position:52px -226px}.te_quicklook .te_close_link{width:13px;height:13px;top:7px;left:9px;background-image:url(' + images_url + 'quicklook/sprite.png);background-position:-24px -181px} #top_up .te_flatlook .ui-resizable-se{width:10px !important;height:10px !important;bottom:22px !important;right:14px !important;background-image:url(' + images_url + 'flatlook/sprite.png) !important;background-position:-75px -181px !important}.te_flatlook .te_title{top:5px;text-shadow:1px 1px 2px #2A2A2A}.te_flatlook .te_corner,.te_flatlook .te_rib{background-image:url(' + images_url + 'flatlook/sprite.png)}.te_flatlook .te_top{height:26px}.te_flatlook .te_bottom{height:29px}.te_flatlook .te_left_filler,.te_flatlook .te_right_filler{width:21px}.te_flatlook .te_middle .te_middle{background:url(' + images_url + 'flatlook/middle.png) repeat-x top}.te_flatlook .te_top .te_left{background-position:0 0}.te_flatlook .te_top .te_middle{background-position:0 -29px}.te_flatlook .te_top .te_right{background-position:-89px 0}.te_flatlook .te_middle .te_left{background-position:0 -181px}.te_flatlook .te_middle .te_right{background-position:-89px -181px}.te_flatlook .te_bottom .te_left{background-position:0 -90px}.te_flatlook .te_bottom .te_middle{background-position:0 -58px}.te_flatlook .te_bottom .te_right{background-position:-89px -90px}.te_flatlook .te_content{margin:-2px -11px -3px -11px}.te_flatlook .te_controls{left:50%;width:66px;margin-left:-33px;bottom:18px}.te_flatlook .te_previous_link,.te_flatlook .te_next_link{width:31px;height:29px;margin:0 1px;background-image:url(' + images_url + 'flatlook/sprite.png)}.te_flatlook .te_previous_link{background-position:89px -195px}.te_flatlook .te_next_link{background-position:52px -195px}.te_flatlook .te_previous_link:hover{background-position:89px -226px}.te_flatlook .te_next_link:hover{background-position:52px -226px}.te_flatlook .te_close_link{width:13px;height:13px;top:6px;left:15px;background-image:url(' + images_url + 'flatlook/sprite.png);background-position:-24px -181px}'; + var ie7fix = '.te_dashboard .te_content{margin-bottom:-14px}'; + var ie6fix = '.te_dashboard .te_content{margin-bottom:-13px}.te_dashboard .te_controls{width:65px;padding-left:3px}.te_dashboard .te_top .te_left,.te_dashboard .te_top .te_middle,.te_dashboard .te_top .te_right{background-image:none}.te_dashboard .te_middle .te_left,.te_dashboard .te_middle .te_right{background-image:none}.te_dashboard .te_bottom .te_left,.te_dashboard .te_bottom .te_middle,.te_dashboard .te_bottom .te_right{background-image:none}.te_dashboard .te_controls,.te_dashboard .te_previous_link,.te_dashboard .te_next_link,.te_dashboard .te_close_link{background-image:none}.te_dashboard .te_top .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/top_left.png" , sizingMethod="crop" )}.te_dashboard .te_top .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/top_middle.png" , sizingMethod="scale")}.te_dashboard .te_top .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/top_right.png" , sizingMethod="crop" )}.te_dashboard .te_middle .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/middle_left.png" , sizingMethod="scale")}.te_dashboard .te_middle .te_middle{filter:alpha(opacity = 75);background:black}.te_dashboard .te_middle .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/middle_right.png" , sizingMethod="scale")}.te_dashboard .te_bottom .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/bottom_left.png" , sizingMethod="crop" )}.te_dashboard .te_bottom .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/bottom_middle.png", sizingMethod="scale")}.te_dashboard .te_bottom .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/bottom_right.png" , sizingMethod="crop" )}.te_dashboard .te_controls{background:#505455}.te_dashboard .te_previous_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/previous.png" , sizingMethod="crop" )}.te_dashboard .te_next_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/next.png" , sizingMethod="crop" )}.te_dashboard .te_close_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'dashboard/close_link.png" , sizingMethod="crop" )} .te_quicklook .te_bottom{height:55px}.te_quicklook .te_controls{width:67px}.te_quicklook .te_top .te_left,.te_quicklook .te_top .te_middle,.te_quicklook .te_top .te_right{background-image:none}.te_quicklook .te_middle .te_left,.te_quicklook .te_middle .te_right{background-image:none}.te_quicklook .te_bottom .te_left,.te_quicklook .te_bottom .te_middle,.te_quicklook .te_bottom .te_right{background-image:none}.te_quicklook .te_previous_link,.te_quicklook .te_next_link,.te_quicklook .te_close_link{background-image:none}.te_quicklook .te_top .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/top_left.png" , sizingMethod="crop" )}.te_quicklook .te_top .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/top_middle.png" , sizingMethod="scale")}.te_quicklook .te_top .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/top_right.png" , sizingMethod="crop" )}.te_quicklook .te_middle .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/middle_left.png" , sizingMethod="scale")}.te_quicklook .te_middle .te_middle{filter:alpha(opacity = 70);background:black}.te_quicklook .te_middle .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/middle_right.png" , sizingMethod="scale")}.te_quicklook .te_bottom .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/bottom_left.png" , sizingMethod="crop" )}.te_quicklook .te_bottom .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/bottom_middle.png", sizingMethod="scale")}.te_quicklook .te_bottom .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/bottom_right.png" , sizingMethod="crop" )}.te_quicklook .te_previous_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/previous.png" , sizingMethod="crop" )}.te_quicklook .te_next_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/next.png" , sizingMethod="crop" )}.te_quicklook .te_close_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'quicklook/close_link.png" , sizingMethod="crop" )} .te_flatlook .te_bottom{height:55px}.te_flatlook .te_controls{width:67px}.te_flatlook .te_top .te_left,.te_flatlook .te_top .te_middle,.te_flatlook .te_top .te_right{background-image:none}.te_flatlook .te_middle .te_left,.te_flatlook .te_middle .te_right{background-image:none}.te_flatlook .te_bottom .te_left,.te_flatlook .te_bottom .te_middle,.te_flatlook .te_bottom .te_right{background-image:none}.te_flatlook .te_previous_link,.te_flatlook .te_next_link,.te_flatlook .te_close_link{background-image:none}.te_flatlook .te_top .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/top_left.png" , sizingMethod="crop" )}.te_flatlook .te_top .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/top_middle.png" , sizingMethod="scale")}.te_flatlook .te_top .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/top_right.png" , sizingMethod="crop" )}.te_flatlook .te_middle .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/middle_left.png" , sizingMethod="scale")}.te_flatlook .te_middle .te_middle{filter:alpha(opacity = 70);background:black}.te_flatlook .te_middle .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/middle_right.png" , sizingMethod="scale")}.te_flatlook .te_bottom .te_left{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/bottom_left.png" , sizingMethod="crop" )}.te_flatlook .te_bottom .te_middle{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/bottom_middle.png", sizingMethod="scale")}.te_flatlook .te_bottom .te_right{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/bottom_right.png" , sizingMethod="crop" )}.te_flatlook .te_previous_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/previous.png" , sizingMethod="crop" )}.te_flatlook .te_next_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/next.png" , sizingMethod="crop" )}.te_flatlook .te_close_link{filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + images_url + 'flatlook/close_link.png" , sizingMethod="crop" )}'; + var iefix = '#tu_overlay{top:expression((ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px");left:expression((ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px");position:absolute}.te_transparent{filter:alpha(opacity = 0)}.te_shaded{filter:alpha(opacity = 65)}.te_content{position:relative;zoom:1}'; + var html = '
    '; + + if (css == '
    ') { + return; // This only occurs when running in development mode + } + + var head = $$("head").first(); + if (!head) { + $(document.body).insert({before: (head = new Element("head"))}); + } + head.insert({top: styleElement(css)}); + + var style = head.select("style").first(); + if (Prototype.Browser.IE7) { + style.insert({after: styleElement(ie7fix)}); + } + if (Prototype.Browser.IE6) { + style.insert({after: styleElement(ie6fix)}); + } + if (Prototype.Browser.IE) { + style.insert({after: styleElement(iefix)}); + } + + $(document.body).insert({bottom: html}); + }; + var styleElement = function(css) { + var style = document.createElement("style"); + style.type = "text/css"; + if (style.styleSheet) { + // All IE developers should burn in hell! + style.styleSheet.cssText = css; + } else { + style.appendChild(document.createTextNode(css)); + } + return style; + } + var bind = function() { + var body = $(document.body); + + var observe_body = observing.get("body"); + var selector = observing.get("selector"); + + if (observe_body) { + body.observe("click", documentClick); + observing.get("currently").push("body"); + } + if (selector) { + $$(selector).each(function(element) { + element.observe("click", documentClick); + }); + observing.get("currently").push(selector); + } + + body.observe("keydown", documentKeyDown); + }; + + var documentClick = function(event) { + var top_up = deriveTopUp(event); + if (top_up) { + topUpClick(top_up, event); + } + }; + var documentKeyDown = function(event) { + if ($("top_up").visible()) { + switch(event.keyCode) { + case 27: + TopUp.close(); break; + case 37: + TopUp.previous(); break; + case 39: + TopUp.next(); break; + } + } + }; + var topUpClick = function(top_up, event) { + TopUp.displayTopUp(top_up); + event.stop(); + }; + + var deriveTopUp = function(event) { + var element = event.element(); + if (element.descendantOf("top_up")) { + return; + } + return [element, element.up(), element.up(1)].detect(function(e) { + return !!e && + (e.hasClassName("top_up") || + e.hasAttribute("toptions") || + e.classNames().any(function(c) { return c.match(/^tu_/) != null }) || + presets.keys().any(function(s) { return e.match(s) })); + }); + }; + var deriveToptions = function(top_up, opts) { + var toptions = default_preset.merge({ + topUp: top_up.identify(), + reference: top_up.readAttribute("href") + }); + + presets.each(function(preset) { + if (top_up.match(preset.first())) { + toptions.update(preset.last()); + } + }); + + if (top_up.hasAttribute("toptions")) { + top_up.readAttribute("toptions").split(",").each(function(option) { + var key_value = option.split("=").invoke("strip"); + toptions.set(key_value[0], key_value[1]); + }); + } + + var coptions = top_up.classNames().select(function(x) { return x.match(/^tu_/) }); + coptions.each(function(c) { + c.sub(/^tu_/, "").split("_").each(function(coption) { + if ($w("db ql fl").include(coption)) { + var layoutRefs = {db: "dashboard", ql: "quicklook", fl: "flatlook"}; + toptions.set("layout", layoutRefs[coption]); + } + if ($w("image html dom iframe ajax script").include(coption)) { + toptions.set("type", coption); + } + if (coption.match(/[0123456789]+x[0123456789]+/)) { + var dimensions = coption.split("x"); + toptions.set("width" , dimensions[0]); + toptions.set("height", dimensions[1]); + } + }); + }); + + if (parseInt(toptions.get("noGroup"), 10) == 1) { + toptions.unset("group"); + } + + toptions.update(opts || {}); + + return toptions; + }; + var deriveOptions = function(reference, opts, store) { + var result = default_preset.clone(); + + if (opts) { + if (presets.keys().include(opts.preset)) { + result.update(presets[opts.preset]); + } + result.update(opts); + } + + if (store) { + result.set("reference", reference); + if (!result.keys().include("type")) { + result.set("type", deriveType(reference)); + } + if (movieContentDisplayed(result)) { + result.set("resizable", 0); + } + options = result.clone(); + } + + return result; + }; + var deriveType = function(reference) { + if (reference.toLowerCase().match(/\.(gif|jpg|jpeg|png)$/)) { + return "image"; + } + if (reference.toLowerCase().match(/\.(swf)$/)) { + return "flash"; + } + if (reference.toLowerCase().match(/\.(flv)$/)) { + return "flashvideo"; + } + if (reference.toLowerCase().match(/\.(aif|aiff|aac|au|bmp|gsm|mov|mid|midi|mpg|mpeg|m4a|m4v|mp4|psd|qt|qtif|qif|qti|snd|tif|tiff|wav|3g2|3gp|wbmp)$/)) { + return "quicktime"; + } + if (reference.toLowerCase().match(/\.(ra|ram|rm|rpm|rv|smi|smil)$/)) { + return "realplayer"; + } + if (reference.toLowerCase().match(/\.(asf|avi|wma|wmv)$/)) { + return "windowsmedia"; + } + return "ajax"; + }; + var movieContentDisplayed = function(opts) { + return $w("flash flashvideo quicktime realplayer windowsmedia").include((opts || options).get("type")); + }; + + var prepare = function() { + // TODO: resizable + + $("top_up").down(".te_title").fade({duration: reservedDuration}); + if (!(group && group.items.length > 1)) { + $("top_up").down(".te_controls").fade({duration: reservedDuration}); + } + + $$(".te_top_up").each(function(e) { + e.down(".te_wrapper").writeAttribute("class", "te_wrapper te_" + options.get("layout")); + }); + + if (parseInt(options.get("shaded"), 10) == 1) { + $("tu_overlay").addClassName("te_shaded"); + } else { + $("tu_overlay").removeClassName("te_shaded"); + } + + if ($w("modal shaded overlayClose").any(function(o) { return parseInt(options.get(o), 10) == 1 })) { + $("tu_overlay").show(); + } else { + $("tu_overlay").hide(); + } + }; + var loadContent = function() { + showLoader(); + + $("top_up").down(".te_title").update(options.get("title") || ""); + + switch(options.get("type")) { + case "image": + options.set("content", new Element("img", {src: options.get("reference")})); + if (!options.get("content").complete) { + Event.observe(options.get("content"), "load", onContentReady); + } else { + onContentReady(); + } + break; + case "flash": + loadFlashContent(); break; + case "flashvideo": + loadFlashVideoContent(); break; + case "quicktime": + loadQuickTimeContent(); break; + case "realplayer": + loadRealPlayerContent(); break; + case "windowsmedia": + loadWindowsMediaContent(); break; + case "iframe": + options.set("content", new Element("iframe", {src: options.get("reference"), frameborder: 0, border: 0})); + onContentReady(); + break; + case "html": case "dom": + options.set("content", new Element("div")[options.get("type") == "html" ? "update" : "appendChild"](options.get("reference"))); + onContentReady(); + break; + case "ajax": case "script": + options.set("content", null); + new Ajax.Request(options.get("reference"), { + method: (parseInt(options.get("post"), 10) == 1) ? "post" : "get", + asynchronous: false, + parameters: options.get("parameters"), + evalJS: (options.get("type") == "script"), + onSuccess: function() { + var element = (new Element("div")).update(transport.responseText); + options.set("content", element.firstDescendant()); + onContentReady(); + } + }); + break; + } + }; + var loadFlashContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + + object.appendChild(new Element("param", {name: "src" , value: options.get("reference")})); + object.appendChild(new Element("param", {name: "allowfullscreen", value: "true"})); + + object.appendChild(new Element("embed", {src : options.get("reference"), + width : options.get("width"), + height : options.get("height"), + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height")})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadFlashVideoContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + var src = TopUp.host + TopUp.players_path + "flvplayer.swf"; + + object.appendChild(new Element("param", {name: "movie" , value: src})); + object.appendChild(new Element("param", {name: "flashvars" , value: "file=" + options.get("reference") + "&autostart=true"})); + object.appendChild(new Element("param", {name: "allowfullscreen", value: "true"})); + + object.appendChild(new Element("embed", {src : src, + width : options.get("width"), + height : options.get("height"), + flashvars : "file=" + options.get("reference") + "&autostart=true", + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height")})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadQuickTimeContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid : "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B", + codebase: "http://www.apple.com/qtactivex/qtplugin.cab", + style : "display: none"}); + + object.appendChild(new Element("param", {name: "src" , value: options.get("reference")})); + object.appendChild(new Element("param", {name: "scale" , value: "aspect"})); + object.appendChild(new Element("param", {name: "bgcolor" , value: "black"})); + object.appendChild(new Element("param", {name: "showlogo", value: "false"})); + object.appendChild(new Element("param", {name: "autoplay", value: "true"})); + object.appendChild(new Element("embed", {src : options.get("reference"), + width : options.get("width"), + height : options.get("height"), + scale : "aspect", + bgcolor : "black", + showlogo : "false", + autoplay : "true", + type : "video/quicktime", + pluginspage: "http://www.apple.com/quicktime/download/"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height"), style: "background: black"})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadRealPlayerContent = function() { + var object = new Element("object", {width : options.get("width"), + height : options.get("height"), + classid: "clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA", + style : "display: none"}); + + object.appendChild(new Element("param", {name: "src" , value: options.get("reference")})); + object.appendChild(new Element("param", {name: "controls" , value: "imagewindow"})); + object.appendChild(new Element("param", {name: "console" , value: "one"})); + object.appendChild(new Element("param", {name: "autostart", value: "true"})); + object.appendChild(new Element("embed", {src : options.get("reference"), + width : options.get("width"), + height : options.get("height"), + controls : "imagewindow", + console : "one", + autostart : "true", + nojava : "true", + type : "audio/x-pn-realaudio-plugin", + pluginspage: "http://www.real.com/freeplayer/?rppr=rnwk"})); + + options.set("content", new Element("div", {width: options.get("width"), height: options.get("height")})); + options.get("content").appendChild(object); + onContentReady(); + }; + var loadWindowsMediaContent = function() { + loadQuickTimeContent(); + }; + var onContentReady = function() { + hideLoader(); + + // TODO: resizable + // + // if (html) { + // options.content = jQuery(html); + // } + // + // switch(options.get("type")) { + // case "image": case "iframe": + // options.resize = options.content; + // jQuery(".te_content").removeClass("te_scrollable"); + // break; + // default: + // options.resize = jQuery("#temp_up .te_content"); + // jQuery(".te_content").addClass("te_scrollable"); + // } + + if ($("top_up").visible()) { + replace(); + } else { + show(); + } + }; + + var showLoader = function() { + var top_up = $("top_up"); + var origin = top_up.visible() ? top_up : $(options.get("topUp")); + + if (origin) { + if (origin.childElements().length > 0) { + origin = $(origin.childElements()[0]); + } + var dimensions = $H(origin.getDimensions()); + var offsets = origin.cumulativeOffset(); + } else { + var dimensions = $H(document.viewport.getDimensions()); + var offsets = document.viewport.getScrollOffsets(); + } + + offsets.each(function(v, i) { + dimensions.set($w("left top")[i], v); + }); + + dimensions.keys().each(function(k) { dimensions.set(k, dimensions.get(k) + "px") }); + $("tu_loader").setStyle(dimensions.toObject()).show(); + }; + var hideLoader = function() { + $("tu_loader").hide(); + }; + + var show = function() { + var afterFinish = function() { + $("top_up").down(".te_title").appear({duration: reservedDuration}); + $("top_up").down(".te_close_link").appear({duration: reservedDuration}); + if (options.get("group") && options.get("group").length > 1 && !$("top_up").down(".te_controls").visible()) { + $("top_up").down(".te_controls").appear({duration: reservedDuration}); + } + afterDisplay(); + }; + + clearContent(); + setContent(); + setSizeAndPosition(); + moveContent("top_up"); + + var effectDuration = options.get("duration") - reservedDuration; + switch(options.get("effect")) { + case "appear": case "fade": + new Effect.Appear ("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + case "switch": case "clip": + new Effect.SwitchOn("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + default: + transform(afterFinish); break; + } + }; + var replace = function(callback) { + var te_content = $("top_up").down(".te_content").lockDimensions(); + var childElements = te_content.childElements(); + var wrapper = new Element("div"); + + te_content.insert({bottom: wrapper}); + childElements.each(function(child) { + wrapper.insert({bottom: child}); + }); + + wrapper.fade({duration: reservedDuration, afterFinish: function() { + moveContent("temp_up"); + wrapper.remove(); + + if (!callback) { + callback = function() { + clearContent(); + setContent(); + }; + } + + callback.apply([], [$("top_up").down(".tu_content"), data]); + setDimensions(); + $("top_up").centerWrap($("temp_up")); + + te_content.morph({width : $("temp_up").down(".te_content").getWidth() + "px", + height: $("temp_up").down(".te_content").getHeight() + "px"}, + {duration: 0.4, + afterFinish: function() { + moveContent("top_up"); + $("top_up").removeCenterWrap(); + afterDisplay(); + } + }); + }}); + }; + var hide = function(callback) { + var afterFinish = function() { + $("tu_overlay").hide(); + afterHide(); + if (callback) { + callback.apply([], [$("top_up").down(".tu_content"), data]); + } + }; + + // TODO: IE tweaks in hide() + // + // jQuery("#top_up .tu_title") .fadeOut(duration); + // jQuery("#top_up .tu_controls").fadeOut(duration); + // if (jQuery.ie) { + // jQuery("#top_up .tu_close_link").hide(); + // onReady.apply(); + // } else { + // jQuery("#top_up .tu_close_link").fadeOut(duration, onReady); + // } + + $("top_up").down(".te_title") .fade({duration: reservedDuration}); + $("top_up").down(".te_controls") .fade({duration: reservedDuration}); + + if (movieContentDisplayed()) { + options.get("content").firstDescendant().hide(); + } + + $("top_up").down(".te_close_link").fade({duration: reservedDuration, afterFinish: function() { + var effectDuration = options.get("duration") - reservedDuration; + switch(options.get("effect")) { + case "appear": case "fade": + new Effect.Fade ("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + case "switch": case "clip": + new Effect.SwitchOff("top_up", {duration: effectDuration, afterFinish: afterFinish}); break; + default: + transform(afterFinish); break; + } + }}); + }; + + var setContent = function() { + $("temp_up").down(".te_content").appendChild(options.get("content")); + }; + var moveContent = function(to) { + var from = (to == "top_up") ? "temp_up" : "top_up"; + + var fromContainer = $(from).down(".te_content"); + var toContainer = $(to ).down(".te_content"); + + fromContainer.childElements().each(function(e) { toContainer.appendChild(e); }); + }; + var clearContent = function() { + $("top_up").down(".te_content").childElements().invoke("remove"); + }; + var transform = function(callback) { + var topUp = $("top_up"); + var teContent = topUp.down(".te_content"); + + if (options.get("topUp")) { + var topUpElement = $(options.get("topUp")); + var dimensions = {top : topUpElement.cumulativeOffset().top, + left: topUpElement.cumulativeOffset().left, + width : topUpElement.getWidth(), + height: topUpElement.getHeight() - 4}; + } else { + var dimensions = {top : parseInt(document.viewport.getDimensions().height / 2, 10) - parseInt(teContent.getHeight() / 2, 10) + document.viewport.getScrollOffsets().top, + left: parseInt(document.viewport.getDimensions().width / 2, 10) - parseInt(teContent.getWidth() / 2, 10) + document.viewport.getScrollOffsets().left, + width : 10, + height: 10}; + } + + if (displaying) { + topUp.addClassName("te_transparent") + .show(); + if (!options.get("topUp")) { + dimensions.top -= parseInt(teContent.getHeight() / 2, 10); + dimensions.left -= parseInt(teContent.getWidth() / 2, 10); + } + } + + var topUpOffset = topUp .cumulativeOffset(); + var teContentOffset = teContent.cumulativeOffset(); + var teContentDiff = {width: topUp.getWidth() - teContent.getWidth(), + height: topUp.getHeight() - teContent.getHeight()}; + + dimensions.top -= teContentOffset.top - topUpOffset.top; + dimensions.left -= teContentOffset.left - topUpOffset.left; + + var origin = {top: parseInt(topUp.getStyle("top"), 10), left: parseInt(topUp.getStyle("left"), 10), width: topUp.getWidth(), height: topUp.getHeight()}; + var opts = {to : displaying ? origin : dimensions}; + + if (displaying) { + opts.to.width -= teContentDiff.width; + opts.to.height -= teContentDiff.height; + } + + var animation = function() { + var onReady = function() { + displaying ? + callback.apply() : + topUp.fade({duration: reservedDuration, afterFinish: callback}); + topUp.removeClassName("te_overflow"); + }; + + topUp .morph({top: opts.to.top + "px", left: opts.to.left + "px"}, {duration: reservedDuration}); + options.get("content").morph({width: opts.to.width + "px", height: opts.to.height + "px"}, {duration: reservedDuration, afterFinish: onReady}); + }; + + if (displaying) { + topUp .setStyle({top: dimensions.top + "px", left: dimensions.left + "px"}); + options.get("content").setStyle({width: dimensions.width + "px", height: dimensions.height + "px"}); + + topUp.hide() + .addClassName("te_overflow") + .removeClassName("te_transparent") + .appear({duration: reservedDuration, afterFinish: animation}); + } else { + animation.apply(); + } + }; + + var setSizeAndPosition = function() { + setDimensions(); + setOffsets(); + }; + var setDimensions = function() { + var viewportDimensions = $H(document.viewport.getDimensions()); + var topUpDimensions = $H($("top_up").getDimensions()); + var tuContentDimensions = $H($("top_up").down(".te_content").getDimensions()); + var dimensions = $H(options.get("content").getDimensions()); + + var diffs = $w("width height").inject($H(), function(h, k) { + h.set(k, topUpDimensions.get(k) - tuContentDimensions.get(k)); + return h; + }); + + options.each(function(o) { + if ($w("width height").include(o.first())) { + dimensions.set(o.first(), parseInt(o.last(), 10)); + } + }); + + var change = $w("width height").inject($H(), function(changed, k) { + var currentValue = dimensions.get(k); + var newValue = deriveDimension(currentValue, viewportDimensions.get(k), diffs.get(k)); + if (currentValue != newValue) { + options.get("type") == "image" ? + changed.set(k, {value: newValue, factor: newValue / currentValue}) : + dimensions.set(k, newValue); + } + return changed; + }).toArray().sortBy(function(c) { + return c.last().factor; + }).first(); + + if (change) { + var counterKey = {width: "height", height: "width"}[change.first()]; + dimensions.set(counterKey, parseInt(dimensions.get(counterKey) * change.last().factor, 10)); + dimensions.set(change.first(), change.last().value); + } + + dimensions.keys().each(function(k) { dimensions.set(k, dimensions.get(k) + "px") }); + options.get("content").setStyle(dimensions.toObject()); + }; + var deriveDimension = function(currentValue, maxValue, padding) { + return (currentValue + padding <= maxValue - 8 ? currentValue : maxValue - padding - 8); + }; + var setOffsets = function(dimensions) { + var dimensions = $H($("temp_up").getDimensions()); + + // TODO: deriving offsets when TopUp already visible in setOffsets() + // + // if ($("top_up").visible()) { + // + // } else { + var viewportDimensions = $H(document.viewport.getDimensions()); + var offsets = document.viewport.getScrollOffsets().inject($H(), function(result, offset, index) { + var key = $w("width height")[index]; + result.set($w("left top")[index], offset + parseInt(viewportDimensions.get(key) / 2, 10) - parseInt(dimensions.get(key) / 2, 10)); + return result; + }); + // } + + if (options.get("x")) { + offsets.set("left", options.get("x")); + } + if (options.get("y")) { + offsets.set("top" , options.get("y")); + } + + offsets.keys().each(function(k) { offsets.set(k, offsets.get(k) + "px") }); + $("top_up").setStyle(offsets.toObject()); + }; + + var afterDisplay = function() { + // TODO: IE tweaks in afterDisplay() + $$(".te_top_up,.te_content").invoke("unlockDimensions"); + + if (movieContentDisplayed()) { + options.get("content").firstDescendant().show(); + } + + if (options.get("ondisplay")) { + options.get("ondisplay").apply([], [$("top_up").down(".te_content"), data]); + } + + displaying = false; + }; + var afterHide = function() { + if (options.get("onclose")) { + options.get("onclose").apply([], [$("top_up").down(".te_content"), data]); + } + }; + + var deriveGroup = function() { + if (options.get("group")) { + + if (group && group.name == options.get("group")) { + return; + } + group = {name: options.get("group"), items: new Array}; + + $$(["[toptions]", presets.keys().join(",")].join(",")).each(function(e) { + if (!e.readAttribute("tu_group")) { + e.writeAttribute("tu_group", deriveToptions(e).get("group") || ""); + } + if (e.readAttribute("tu_group") == group.name) { + group.items.push(e.identify()); + } + }); + + index = group.items.indexOf(options.get("topUp")); + + } else { + group = null; + } + }; + var navigateInGroup = function(step) { + if (group === null) { + return; + } + + index = index + step; + + if (index < 0) { + index = group.items.length - 1; + } + if (index > group.items.length - 1) { + index = 0; + } + + TopUp.displayTopUp($(group.items[index])); + }; + + return { + version: "1.7.2", + host: scriptHost, + images_path: "images/top_up/", + players_path: "players/", + init: function() { + if (initialized) { + return false; + } + + try { + document.observe("dom:loaded", function() { + extendPrototype(); + injectCode(); + bind(); + + // TODO: draggable + // new Draggable("top_up", {handle: "te_title", starteffect: null, endeffect: null}); + on_ready.each(function(f) { + f.apply(); + }); + }); + + initialized = true; + } catch(e) {} + }, + defaultPreset: function(set) { + default_preset.update(set); + }, + addPresets: function(sets) { + presets.update(sets); + }, + observe: function(selector, alsoRebind) { + observing.set("body" , false); + observing.set("selector", selector); + if (alsoRebind) { + TopUp.rebind(); + } + }, + ready: function(func) { + on_ready.push(func); + }, + rebind: function() { + // Normally not needed anymore due to use of event delegation (yay!) + // But you might still need this when using custom observed elements (e.g. by calling TopUp.observe("#gallery")) + + $$(observing.get("currently")).invoke("stopObserving", "click", documentClick); + observing.get("currently").clear(); + bind(); + }, + displayTopUp: function(top_up, opts) { + var toptions = deriveToptions(top_up, opts); + TopUp.display(toptions.unset("reference"), toptions); + }, + display: function(reference, opts) { + if (displaying) { + return false; + } + + try { + displaying = true; + data = {}; + deriveOptions(reference, opts, true); + deriveGroup(); + + prepare(); + loadContent(); + } catch(e) { + displaying = false; + alert("Sorry, but the following error occured:\n\n" + e); + } + }, + update: function(func) { + // if (jQuery("#top_up").is(":hidden")) { + // return; + // } + // + // options.type = "html"; + // options.resize = jQuery("#temp_up .te_content"); + // jQuery(".te_content").addClass("te_scrollable"); + // + // replace(func || function() {}); + }, + previous: function() { + navigateInGroup(-1); + }, + next: function() { + navigateInGroup(1); + }, + overlayClose: function() { + if (parseInt(options.getoverlayClose, 10) == 1) { + TopUp.close(); + } + }, + close: function(afterClose) { + if ($("top_up").visible()) { + hide(afterClose); + } + }, + onContentReady: onContentReady + }; +}()); + +TopUp.init(); + +} diff --git a/js/topup/javascripts/top_up.js b/js/topup/javascripts/top_up.js new file mode 100644 index 0000000..a642b2a --- /dev/null +++ b/js/topup/javascripts/top_up.js @@ -0,0 +1,1344 @@ +if (typeof(TopUp) == "undefined") { + +var scriptElement = (function deriveScriptElement() { + var id = "tu_dummy_script"; + document.write(''); + + var dummyScript = document.getElementById(id); + var element = dummyScript.previousSibling; + + dummyScript.parentNode.removeChild(dummyScript); + return element; +}()); +var scriptHost = (function deriveScriptHost() { + var src = scriptElement.getAttribute("src"); + return src.match(/^\w+\:\/\//) ? src.match(/^\w+\:\/\/[^\/]*\//)[0] : ""; +}()); +var scriptParams = (function deriveScriptParams() { + var src = scriptElement.getAttribute("src"); + var pairs = ((src.match(/([\?]*)\?(.*)+/) || ["", "", ""])[2] || "").replace(/(^[0123456789]+|\.js(\s+)?$)/, "").split("&"); + var params = {}; + + for (var i = 0; i < pairs.length; i++) { + if (pairs[i] != "") { + var key_value = pairs[i].split("="); + if (key_value.length == 2) { + params[key_value[0].replace(/^\s+|\s+$/g, "")] = key_value[1].replace(/^\s+|\s+$/g, ""); + } + } + } + return params; +}()); + +// * +// * TopUp 1.7.2 (Uncompressed) +// * The #1 Javascript Pop Up / Lightbox (http://gettopup.com) +// * +// * This library requires jQuery (http://jquery.com) +// * +// * (c) 2010 Paul Engel (Internetbureau Holder B.V.) +// * Except otherwise noted, TopUp is licensed under +// * http://creativecommons.org/licenses/by-sa/3.0 +// * +// * $Date: 2010-03-07 19:47:47 +0100 (Sun, 07 March 2010) $ +// * + +TopUp = (function() { + var initialized = false, selector = null, on_ready = [], displaying = false, options = null, group = null, index = null, data = null; + var fast_mode = false; + var default_preset = { + layout: "dashboard", + effect: "transform", + resizable: 1 + }, presets = {}; + + var extendjQuery = function() { + jQuery.extend({ + keys: function(hash) { + var keys = []; + for (var key in hash) { + if (hash.hasOwnProperty(key)) { + keys.push(key); + } + } + return keys; + }, + ie: jQuery.browser.msie, + ie6: jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 6, + ie7: jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 7, + ie8: jQuery.browser.msie && parseInt(jQuery.browser.version, 10) == 8, + ff2: jQuery.browser.mozilla && parseFloat(jQuery.browser.version) < 1.9 + }); + jQuery.fn.extend({ + id: function() { + if (!this.is("[id]")) { + var id = ""; + var counter = 0; + do {id = "element_" + counter++;} while (jQuery("#" + id).length); + jQuery(this).attr("id", id); + } + return jQuery(this).attr("id"); + }, + markerId: function() { + return "_" + this.id() + "_marker"; + }, + bubbleDetect: function(selector, separator) { + var detected = null; + var element = this; + jQuery.each(selector.split(separator || ","), function(i, e) { + var selector = jQuery.trim(e); + if (jQuery(selector).index(element) != -1) { + detected = {element: jQuery(element), selector: selector}; + } + }); + return detected || (element.parent()[0] ? jQuery(element.parent()[0]).bubbleDetect(selector, separator) : null); + }, + center: function() { + var css = {top: parseInt((jQuery(window).height() - this.outerHeight()) / 2, 10) + jQuery(window).scrollTop(), + left: parseInt((jQuery(window).width() - this.outerWidth()) / 2, 10) + jQuery(window).scrollLeft(), + position: "absolute"}; + + this.css(css); + return this; + }, + lockDimensions: function() { + this.css({width: this.outerWidth(), height: this.outerHeight()}); + return this; + }, + unlockDimensions: function() { + this.css({width: "auto", height: "auto"}); + return this; + }, + centerWrap: function(compare) { + var current = {width: this.outerWidth(), height: this.outerHeight()}, delta = {width: 0, height: 0}, diff = 0; + + // added by Timo Besenreuther (2010-02-24) + // fix problem with adjusting height in safari (topup used to gradually move down) + compare.find(".te_frame").css("display", "block"); + + diff = compare.outerWidth() - current.width; + if (delta.width < diff) { + delta.width = diff; + } + diff = compare.outerHeight() - current.height; + + if (delta.height < diff) { + delta.height = diff; + } + + var offset = this.offset(); + var css = { + top: offset.top - (delta.height === 0 ? 0 : parseInt(delta.height / 2, 10)), + left: offset.left - (delta.width === 0 ? 0 : parseInt(delta.width / 2, 10)), + width: this.width() + delta.width, + height: this.height() + delta.height + }; + + if (options.x) { + css.left = options.x - parseInt((css.width - compare.outerWidth()) / 2, 10); + } + if (options.y) { + css.top = options.y - parseInt((css.height - compare.outerHeight()) / 2, 10); + } + + jQuery("#tu_center_wrapper").css(css); + jQuery("#tu_centered_content").append(this); + + this.css({ + top: "auto", + left: "auto", + width: "auto", + height: "auto", + display: "inline-block", + position: "relative" + }); + + if (jQuery.ff2) { + this.css({display: "table"}); + } + if (jQuery.ie) { + this.css({display: "inline"}); + } + + jQuery("#tu_center_wrapper").show(); + + return this; + }, + removeCenterWrap: function(newTopUpWidth) { + var position = jQuery("#tu_center_wrapper").offset(); + + // added by Timo Besenreuther (2010-02-24) + // this.outerWidth() does not work properly in ie8 + var delta = { + width: jQuery("#tu_center_wrapper").outerWidth() - newTopUpWidth, + height: jQuery("#tu_center_wrapper").outerHeight() - this.outerHeight() + }; + + this.css({ + top: position.top + parseInt(delta.height / 2, 10), + left: position.left + parseInt(delta.width / 2, 10), + position: "absolute" + }).appendTo("body"); + + jQuery("#tu_center_wrapper").hide(); + + return this; + }, + draggableZ: function(opts) { + var element = this; + + this.mousedown(function(event) { + if (opts && opts.only && !jQuery(event.target).is(opts.only)) { + return; + } + + event.preventDefault(); + + var offset = element.offset(); + var diff = {top: event.pageY - offset.top, left: event.pageX - offset.left}; + + jQuery("body").addClass("te_dragging"); + jQuery("*").bind("mousemove.draggable", function(event) { + element.css({top: event.pageY - diff.top, left: event.pageX - diff.left}); + }); + }); + + jQuery("#top_up").mouseup(function(event) { + jQuery("body").removeClass("te_dragging"); + jQuery("*").unbind("mousemove.draggable"); + }); + } + }); + }; + var injectCode = function() { + var images_url = TopUp.host + TopUp.images_path; + + var css = ''; + var ie7fix = ''; + var ie6fix = ''; + var iefix = ''; + var html = '
    '; + + if (!jQuery("head").length) { + jQuery(document.body).before(""); + } + jQuery(css).prependTo("head"); + + if (jQuery.ie7 || jQuery.ie8) { + jQuery(ie7fix).insertAfter("head > style:first"); + } + if (jQuery.ie6) { + jQuery(ie6fix).insertAfter("head > style:first"); + } + if (jQuery.ie) { + jQuery(iefix).insertAfter("head > style:first"); + } + + jQuery(html).appendTo("body"); + }; + var bind = function() { + var coptions = []; + + // added by Timo Besenreuther (2010-02-24) / modified by Paul Engel (2010-02-25) + if (!fast_mode) { + coptions.push("[class^=tu_][class*=x]"); + jQuery.each(["db", "ql", "fl", "image", "html", "dom", "iframe", "ajax", "script"], function(i, coption) { + coptions.push("[class^=tu_][class*=_" + coption + "]"); + }); + } + + selector = jQuery.merge([".top_up", "[toptions]", coptions.join(",")], jQuery.keys(presets)).join(); + + jQuery(selector).live("click", topUpClick); + jQuery(document).bind("keyup", documentKeyPress); + }; + + // added by Timo Besenreuther (2010-02-24) + // fade duration 0 prevents black frame from flashing + var fadeDuration = function(duration) { + return jQuery.ie8 || jQuery.ie7 || jQuery.ie6 ? 0 : duration; + }; + + var topUpClick = function(event) { + TopUp.displayTopUp(jQuery(event.target)); + return false; + }; + var documentKeyPress = function(event) { + if (jQuery("#top_up").is(":hidden") || jQuery(event.target).is(":input")) { + return; + } + + switch(event.keyCode) { + case 27: + TopUp.close(); break; + case 37: + TopUp.previous(); break; + case 39: + TopUp.next(); break; + } + }; + + var deriveTopUpOptions = function(topUp, opts) { + var toptions = jQuery.extend({}, {topUp: "#" + topUp.element.id(), preset: topUp.selector}); + + jQuery.each(topUp.element.attr("class").split(/\s/), function(i, c) { + if (c.match(/^tu_/)) { + jQuery.each(c.replace(/^tu_/, "").split("_"), function(j, coption) { + switch(coption) { + case "db": case "ql": case "fl": + toptions["layout"] = {"db": "dashboard", "ql": "quicklook", "fl": "flatlook"}[coption]; break; + case "image": case "html": case "dom": case "iframe": case "ajax": case "script": + toptions["type"] = coption; break; + default: + if (coption.match(/\dx\d/)) { + toptions["width"] = coption.split("x")[0]; + toptions["height"] = coption.split("x")[1]; + } + } + }); + } + }); + + if (topUp.element.is("[toptions]")) { + jQuery.each(topUp.element.attr("toptions").split(","), function(i, option) { + var key_value = option.split("="); + toptions[jQuery.trim(key_value[0])] = jQuery.trim(key_value[1]); + }); + } + + if (toptions.noGroup && parseInt(toptions.noGroup, 10) == 1) { + toptions.group = null; + } + + if (opts) { + toptions = jQuery.extend(toptions, opts); + } + + return toptions; + }; + var deriveOptions = function(reference, opts, store) { + var result = jQuery.extend({}, default_preset); + + if (opts) { + if (presets[opts.preset]) { + result = jQuery.extend(result, presets[opts.preset]); + } + result = jQuery.extend(result, opts); + } + + if (result.ondisplay && !jQuery.isFunction(result.ondisplay)) { + var fdisplay = result.ondisplay; + result.ondisplay = function() {eval(fdisplay);}; + } + if (result.onclose && !jQuery.isFunction(result.onclose)) { + var fclose = result.onclose; + result.onclose = function() {eval(fclose);}; + } + + if (store) { + result.reference = result.reference ? jQuery(result.reference) : reference; + if (!result.type) { + result.type = deriveType(reference); + } + if (movieContentDisplayed(result)) { + result.resizable = 0; + } + options = jQuery.extend({}, result); + } + + return result; + }; + var deriveType = function(reference) { + if (reference.toLowerCase().match(/\.(gif|jpg|jpeg|png)(\?[0123456789]+)?$/)) { + return "image"; + } + if (reference.toLowerCase().match(/\.(swf)(\?[0123456789]+)?$/)) { + return "flash"; + } + if (reference.toLowerCase().match(/\.(flv)(\?[0123456789]+)?$/)) { + return "flashvideo"; + } + if (reference.toLowerCase().match(/\.(aif|aiff|aac|au|bmp|gsm|mov|mid|midi|mpg|mpeg|m4a|m4v|mp4|psd|qt|qtif|qif|qti|snd|tif|tiff|wav|3g2|3gp|wbmp)(\?[0123456789]+)?$/)) { + return "quicktime"; + } + if (reference.toLowerCase().match(/\.(ra|ram|rm|rpm|rv|smi|smil)(\?[0123456789]+)?$/)) { + return "realplayer"; + } + if (reference.toLowerCase().match(/\.(asf|avi|wma|wmv)(\?[0123456789]+)?$/)) { + return "windowsmedia"; + } + return "ajax"; + }; + var movieContentDisplayed = function(opts) { + return jQuery.inArray((opts || options).type, ["flash", "flashvideo", "quicktime", "realplayer", "windowsmedia"]) != -1; + }; + + var deriveGroup = function() { + if (options.group) { + + if (!(group && group.name == options.group)) { + group = {name: options.group, items: jQuery([])}; + jQuery.each(jQuery(selector), function(i, e) { + if (!jQuery(e).is("[tu_group]")) { + jQuery(e).attr("tu_group", deriveOptions(null, deriveTopUpOptions(jQuery(e).bubbleDetect(selector))).group); + } + + if (jQuery(e).attr("tu_group") == group.name) { + group.items = group.items.add(e); + } + }); + } + + var ids = jQuery.map(group.items, function(e, i) { + return "#" + jQuery(e).id(); + }); + index = options.topUp ? jQuery.inArray(options.topUp, ids) : -1; + + } else { + group = null; + } + }; + + var navigateInGroup = function(step) { + if (group === null) { + return; + } + + index = index + step; + + if (index < 0) { + index = group.items.length - 1; + } + if (index > group.items.length - 1) { + index = 0; + } + + TopUp.displayTopUp(group.items[index]); + }; + + var prepare = function() { + if (jQuery("#top_up .te_frame").resizable) { + jQuery("#top_up .te_frame").resizable("destroy"); + } + + jQuery("#top_up .te_title").fadeOut(fadeDuration(200)); + if (!(group && group.items.length > 1)) { + jQuery("#top_up .te_controls").fadeOut(fadeDuration(200)); + } + + jQuery(".te_wrapper").attr("class", "te_wrapper te_" + options.layout); + jQuery(".te_frame,.te_content").unlockDimensions(); + + if (parseInt(options.shaded, 10) == 1) { + jQuery("#tu_overlay").addClass("te_shaded"); + } else { + jQuery("#tu_overlay").removeClass("te_shaded"); + } + + if ((parseInt(options.modal, 10) == 1) || (parseInt(options.shaded, 10) == 1) || (parseInt(options.overlayClose, 10) == 1)) { + if (jQuery.ie8) { + var fixOverlay = function() { + jQuery('#tu_overlay').css('top', document.body.parentElement.scrollTop+'px'); + }; + fixOverlay.apply(); + window.onresize = fixOverlay; + jQuery(window).bind('scroll', fixOverlay); + } + jQuery("#tu_overlay").show(); + } else { + jQuery("#tu_overlay").hide(); + } + + // added by Timo Besenreuther (2009-11-14) / modified by Paul Engel (2009-11-14) + var altText = ""; + if (options.topUp && (options.topUp != "") && ((parseInt(options.readAltText, 10) == 1) || (options.title && options.title.match("{alt}")))) { + var topUp = jQuery(options.topUp); + + if (topUp.length) { + var image = topUp.find("img"); + if (image.length) { + altText = image.attr("alt") || ""; + } + if (altText != "" && !(options.title && options.title.match("{alt}"))) { + options.title = "{alt}"; + } + } + } + options.title = (options.title || "").replace("{alt}", altText).replace("{current}", group === null ? "" : (index + 1)).replace("{total}", group === null ? "" : group.items.length); + }; + var loadContent = function() { + switch(options.type) { + case "image": + options.content = new Image(); + jQuery(options.content).load(function() { + options.content = jQuery(this); + onContentReady(); + }) + .attr("src", options.reference); + break; + case "flash": case "flashvideo": case "quicktime": case "realplayer": case "windowsmedia": + loadMovie(options.type, options.reference, options.width, options.height); break; + case "iframe": + options.content = jQuery(''); break; + case "html": case "dom": + var reference = jQuery(options.reference); + if (reference.context) { + var marker = jQuery("
    ").attr({ + id : reference.markerId(), + "class": (reference.is(":hidden") ? "hidden" : ""), + style : "display: none" + }); + options.content = jQuery("
    ").append(reference.before(marker).addClass("marked")); + reference.show(); + } else { + options.content = jQuery("
    ").append(reference); + } + break; + case "ajax": case "script": + options.content = null; + jQuery.ajax({url: options.reference, + type: (parseInt(options.post, 10) == 1) ? "POST" : "GET", + cache: false, + async: false, + data: options.parameters, + dataType: (options.type == "ajax") ? "html" : "script", + success: onContentReady}); + } + + if (jQuery.inArray(options.type, ["html", "dom", "iframe"]) != -1) { + onContentReady(); + } + }; + var loadMovie = function(type, src, width, height) { + if (!jQuery.ie) { + switch(options.type) { + case "flash": + loadFlashContent(); break; + case "flashvideo": + loadFlashVideoContent(); break; + case "quicktime": + loadQuickTimeContent(); break; + case "realplayer": + loadRealPlayerContent(); break; + case "windowsmedia": + loadWindowsMediaContent(); break; + } + return; + } + + var object_attrs = {width: width, height: height}, params = {src: src}, classid = null, mimetype = null, codebase = null, pluginspage = null; + + switch(type) { + case "flash": case "flashvideo": + classid = "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"; + codebase = "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"; + mimetype = "application/x-shockwave-flash"; + pluginspage = "http://get.adobe.com/flashplayer/"; + break; + case "quicktime": + classid = "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"; + codebase = "http://www.apple.com/qtactivex/qtplugin.cab"; + mimetype = "video/quicktime"; + pluginspage = "http://www.apple.com/quicktime/download/"; + params.scale = "aspect"; + params.bgcolor = "black"; + params.showlogo = "false"; + params.autoplay = "true"; + break; + case "realplayer": + classid = "clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA"; + mimetype = "audio/x-pn-realaudio-plugin"; + pluginspage = "http://www.real.com/freeplayer/?rppr=rnwk"; + params.controls = "imagewindow"; + params.console = "one"; + params.autostart = "true"; + params.nojava = "true"; + break; + case "windowsmedia": + classid = "clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6"; + codebase = "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"; + mimetype = "application/x-oleobject"; + pluginspage = "http://www.microsoft.com/Windows/MediaPlayer/"; + params.filename = src; + params.animationatstart = "true"; + params.transparentatstart = "true"; + params.autostart = "true"; + params.showcontrols = "true"; + params.showstatusbar = "true"; + params.windowlessvideo = "true"; + break; + } + + switch(type) { + case "flash": case "flashvideo": + params.allowfullscreen = "true"; + case "flashvideo": + params.flashvars = "file=" + src + "&autostart=true"; + src = TopUp.host + TopUp.players_path + "flvplayer.swf"; + params.src = src; + params.movie = src; + break; + } + + object_attrs.codebase = codebase; + if (window.ActiveXObject) { + object_attrs.classid = classid; + object_attrs.data = src; + } + + var paramTags = ""; + for (var key in params) { + paramTags += " " + createElementTag("param", {name: key, value: params[key]}); + } + + params.width = width; + params.height = height; + params.mimetype = mimetype; + params.pluginspage = pluginspage; + + var element = document.createElement("div"); + element.innerHTML = createElementTag("object", object_attrs) + paramTags + createElementTag("embed", params) + ""; + + options.content = jQuery(element); + onContentReady(); + }; + var createElementTag = function(tagName, attrs) { + var html = "<" + tagName; + for (var key in attrs) { + html += " " + key + "='" + attrs[key] + "'"; + } + return html + ">"; + }; + var loadFlashContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + + object.append(jQuery("").attr({name: "src" , value: options.reference})); + object.append(jQuery("").attr({name: "allowfullscreen", value: "true"})); + + object.append(jQuery("").attr({src : options.reference, + width : options.width, + height : options.height, + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height}); + options.content.append(object); + onContentReady(); + }; + var loadFlashVideoContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid : "clsid:D27CDB6E-AE6D-11CF-96B8-444553540000", + codebase: "http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0", + style : "display: none"}); + + object.append(jQuery("").attr({name: "movie" , value: TopUp.host + TopUp.players_path + "flvplayer.swf"})); + object.append(jQuery("").attr({name: "flashvars" , value: "file=" + options.reference + "&autostart=true"})); + object.append(jQuery("").attr({name: "allowfullscreen", value: "true"})); + + object.append(jQuery("").attr({src : TopUp.host + TopUp.players_path + "flvplayer.swf", + width : options.width, + height : options.height, + flashvars : "file=" + options.reference + "&autostart=true", + allowfullscreen: "true", + type : "application/x-shockwave-flash", + pluginspage : "http://get.adobe.com/flashplayer/"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height}); + options.content.append(object); + onContentReady(); + }; + var loadQuickTimeContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid : "clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B", + codebase: "http://www.apple.com/qtactivex/qtplugin.cab", + style : "display: none"}); + + object.append(jQuery("").attr({name: "src" , value: options.reference})); + object.append(jQuery("").attr({name: "scale" , value: "aspect"})); + object.append(jQuery("").attr({name: "bgcolor" , value: "black"})); + object.append(jQuery("").attr({name: "showlogo", value: "false"})); + object.append(jQuery("").attr({name: "autoplay", value: "true"})); + + object.append(jQuery("").attr({src : options.reference, + width : options.width, + height : options.height, + scale : "aspect", + bgcolor : "black", + showlogo : "false", + autoplay : "true", + type : "video/quicktime", + pluginspage: "http://www.apple.com/quicktime/download/"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height, style: "background: black"}); + options.content.append(object); + onContentReady(); + }; + var loadRealPlayerContent = function() { + var object = jQuery("").attr({width : options.width, + height : options.height, + classid: "clsid:CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA", + style : "display: none"}); + + object.append(jQuery("").attr({name: "src" , value: options.reference})); + object.append(jQuery("").attr({name: "controls" , value: "imagewindow"})); + object.append(jQuery("").attr({name: "console" , value: "one"})); + object.append(jQuery("").attr({name: "autostart", value: "true"})); + + object.append(jQuery("").attr({src : options.reference, + width : options.width, + height : options.height, + controls : "imagewindow", + console : "one", + autostart : "true", + nojava : "true", + type : "audio/x-pn-realaudio-plugin", + pluginspage: "http://www.real.com/freeplayer/?rppr=rnwk"})); + + options.content = jQuery("
    ").attr({width: options.width, height: options.height}); + options.content.append(object); + onContentReady(); + }; + var loadWindowsMediaContent = function() { + loadQuickTimeContent(); + }; + + var onContentReady = function(html) { + hideLoader(); + + if (html) { + options.content = jQuery(html); + } + + switch(options.type) { + case "image": case "html": case "dom": case "iframe": + options.resize = options.content; + jQuery(".te_content").removeClass("te_scrollable"); + break; + default: + options.resize = jQuery("#temp_up .te_content"); + jQuery(".te_content").addClass("te_scrollable"); + } + + if (jQuery("#top_up").is(":hidden")) { + show(); + } else { + replace(); + } + }; + var showLoader = function() { + var origin = jQuery("#top_up"); + if (jQuery("#top_up").is(":hidden")) { + origin = jQuery(options.topUp); + if (!origin.length) { + origin = jQuery(document); + } else if (origin.children().length > 0) { + origin = jQuery(origin.children()[0]); + } + } + try { + var dimensions = {top: origin.offset().top, + left: origin.offset().left, + width: origin.outerWidth(), + height: origin.outerHeight()}; + } catch(e) { + var dimensions = {top: jQuery(window).scrollTop(), + left: jQuery(window).scrollLeft(), + width: parseInt(jQuery(window).width() / 2, 10), + height: parseInt(jQuery(window).height() / 2, 10)}; + } + + // added by Timo Besenreuther (2010-02-24) + //   fixes issue in ie6 (current image disappearing while loading) + jQuery("#tu_loader").html(" ").css(dimensions).show(); + }; + var hideLoader = function() { + jQuery("#tu_loader").hide(); + }; + + var show = function() { + setContent(); + setDimensions(); + + moveContent("top_up"); + jQuery("#top_up").center(); + + if (options.x) { + jQuery("#top_up").css({left: parseInt(options.x, 10)}); + } + if (options.y) { + jQuery("#top_up").css({top : parseInt(options.y, 10)}); + } + + switch(options.effect) { + case "appear": case "fade": + jQuery("#top_up").fadeIn(fadeDuration(300), afterDisplay); break; + case "switch": case "clip": + jQuery("#top_up").show("clip", {direction: "vertical"}, 500, afterDisplay); break; + case "transform": + var origin = jQuery(options.topUp); + if (origin.children().length > 0) { + origin = jQuery(origin.children()[0]); + } + var tuContent = jQuery("#top_up").find(".te_content"); + var dimensions = options.topUp ? + jQuery.extend({width: origin.outerWidth(), height: origin.outerHeight()}, origin.offset()) : + {top: parseInt(jQuery(window).height() / 2, 10) - parseInt(tuContent.height() / 2, 10) + jQuery(window).scrollTop(), + left: parseInt(jQuery(window).width() / 2, 10) - parseInt(tuContent.width() / 2, 10) + jQuery(window).scrollLeft(), + width: 10, + height: 10}; + + transform("from", dimensions, afterDisplay); + break; + default: + jQuery("#top_up").show(); + afterDisplay(); + } + }; + + var replace = function(callback) { + var isScrollable = jQuery("#top_up .te_content").hasClass("te_scrollable"); + if (isScrollable) { + jQuery("#top_up .te_content").removeClass("te_scrollable"); + } + var focusedElement = jQuery("#top_up .te_content :focus"); + var wrapper = jQuery("#top_up .te_content").lockDimensions().wrapInner("
    ").children(); + + wrapper.fadeOut(fadeDuration(250), function() { + if (parseInt(options.storeCurrent, 10) == 1) { + wrapper.addClass("te_stored_content").hide().find(".te_stored_content").before(wrapper); + } else { + wrapper.children().appendTo("#temp_up .te_content").end().end().remove(); + } + + if (callback) { + var arg = jQuery("#temp_up .te_content"); + if (jQuery.inArray(options.type, ["html", "dom"]) != -1) { + arg = arg.children().eq(0); + } + callback.apply(arg); + } else { + clearContent(); + setContent(); + } + if (isScrollable) { + jQuery("#top_up .te_content").addClass("te_scrollable"); + } + + + setDimensions(); + + jQuery("#top_up").centerWrap(jQuery("#temp_up")); + + var animation = {width: jQuery("#temp_up .te_content").outerWidth(), + height: jQuery("#temp_up .te_content").outerHeight()}; + + // added by Timo Besenreuther (2010-02-24) + // fix problem with changing width in ie8 (topup used to move left) + var newTopUpWidth = jQuery("#temp_up").outerWidth(); + jQuery("#top_up .te_content").animate(animation, 400, function() { + moveContent("top_up"); + jQuery("#top_up").removeCenterWrap(newTopUpWidth); + focusedElement.focus(); + afterDisplay(); + }); + }); + }; + + var setContent = function() { + options.content.appendTo("#temp_up .te_content"); + }; + var moveContent = function(to) { + var from = to == "top_up" ? "temp_up" : "top_up"; + jQuery("#" + from + " .te_content").children().appendTo("#" + to + " .te_content"); + + if (to == "top_up") { + jQuery("#top_up .te_content").css({width: jQuery("#temp_up .te_content").css("width"), + height: jQuery("#temp_up .te_content").css("height")}); + } + }; + var clearContent = function() { + jQuery(".te_content .marked").each(function() { + var marker = jQuery("#" + jQuery(this).markerId()); + if (marker.hasClass("hidden")) { + jQuery(this).hide(); + } + marker.after(jQuery(this).removeClass("marked")).remove(); + }); + + jQuery(".te_content").children(":not(.te_stored_content)").remove(); + }; + + var transform = function(direction, dimensions, callback) { + var topUp = jQuery("#top_up"); + var tuContent = topUp.find(".te_content"); + + if (direction == "from") { + topUp.addClass("te_transparent") + .show(); + } + + var topUpOffset = topUp.offset(); + var tuContentOffset = tuContent.offset(); + var tuContentDiff = {width: topUp.width() - tuContent.width(), + height: topUp.height() - tuContent.height()}; + + dimensions.top -= tuContentOffset.top - topUpOffset.top; + dimensions.left -= tuContentOffset.left - topUpOffset.left; + + var origin = {top: topUp.css("top"), left: topUp.css("left"), width: topUp.outerWidth(), height: topUp.outerHeight()}; + var opts = {to: direction == "from" ? origin : dimensions, duration: 500}; + + if (direction == "from") { + opts.to.width -= tuContentDiff.width; + opts.to.height -= tuContentDiff.height; + } + + var animation = function() { + var cb = function() { + callback.apply(); + options.content.removeClass("te_overflow"); + }; + + var onReady = direction == "to" ? + function() { + topUp.fadeOut(fadeDuration(100), cb); + } : cb; + + topUp .animate({top: opts.to.top, left: opts.to.left}, opts.duration); + options.content.animate({width: opts.to.width, + height: opts.to.height}, opts.duration, onReady); + }; + + options.content.addClass("te_overflow"); + + if (direction == "from") { + topUp .css({top: dimensions.top, left: dimensions.left}); + options.content.css({width: dimensions.width, height: dimensions.height}); + + jQuery(".te_top_up,.te_content").unlockDimensions(); + + topUp.hide() + .removeClass("te_transparent") + .fadeIn(fadeDuration(150), animation); + } else { + animation.apply(); + } + }; + var afterDisplay = function() { + var duration = fadeDuration(500); + + if (jQuery("#top_up .te_frame").resizable && parseInt(options.resizable, 10) == 1) { + var opts = {stop: function(){ jQuery("#top_up .te_frame").css({width: "auto", height: "auto"}); }, + handles: "se", + minWidth: 200, minHeight: 75, + alsoResize: "#" + options.resize.id(), + aspectRatio: options.type == "image"}; + jQuery("#top_up .te_frame").resizable(opts); + } + + if (jQuery.ie6 || jQuery.ie7) { + jQuery("#top_up .te_title").css("width", jQuery("#top_up").width()); + } + jQuery("#top_up .te_title").html(options.title || "") + .fadeIn(duration); + + if (group && group.items.length > 1 && jQuery("#top_up .te_controls").is(":hidden")) { + if (jQuery.ie6) { + jQuery("#top_up .te_controls").show(); + } else { + jQuery("#top_up .te_controls").fadeIn(duration); + } + } + + if (jQuery("#top_up .te_close_link").is(":hidden")) { + if (jQuery.ie6) { + jQuery("#top_up .te_close_link").show(); + } else { + jQuery("#top_up .te_close_link").fadeIn(duration); + } + } + + checkPosition(); + + jQuery(".te_top_up,.te_content").unlockDimensions(); + if (movieContentDisplayed()) { + options.content.find("object").show(); + } + + if (options.ondisplay) { + options.ondisplay.apply(this, [jQuery("#top_up .te_content"), data]); + } + + displaying = false; + }; + + var setDimensions = function(dimensions) { + var func = dimensions ? null : checkHeight; + + if (!dimensions) { + options.resize.unlockDimensions(); + if (jQuery.inArray(options.type, ["image", "html", "dom", "iframe"]) != -1) { + jQuery("#temp_up .te_content").unlockDimensions(); + } + + dimensions = {}; + if (options.width) { + dimensions.width = parseInt(options.width, 10); + } + if (options.height) { + dimensions.height = parseInt(options.height, 10); + } + if (jQuery.ie6) { + jQuery("#top_up .te_title").css("width", jQuery("#temp_up").outerWidth()); + } + } + + // added by Timo Besenreuther (2010-02-24) + // close button does not get transformed properly in ie8, so we just hide it + if (jQuery.ie8) { + jQuery("#top_up .te_close_link").hide(); + } + + options.resize.css(dimensions); + + // added by Timo Besenreuther (2010-02-24) + // display close button again after resizing + if (jQuery.ie8) { + jQuery("#top_up .te_close").show(); + } + + if (func) { + func.apply(); + } + }; + var checkHeight = function() { + if (jQuery("#temp_up").outerHeight() <= jQuery(window).height() - 4) { + return; + } + + var extraHeight = jQuery("#temp_up").outerHeight() - jQuery("#temp_up .te_content").height(), + dimensions = {height: jQuery(window).height() - 4 - extraHeight}; + + if (options.type == "image") { + dimensions.width = parseInt(options.content.width() * (dimensions.height / options.content.height()), 10); + } + + setDimensions(dimensions); + }; + var checkPosition = function() { + var offset = jQuery("#top_up").offset(); + var dimensions = {width: jQuery("#top_up").outerWidth(), height: jQuery("#top_up").outerHeight()}; + var position = {}; + + if (offset.top - jQuery(window).scrollTop() < 2) { + position.top = jQuery(window).scrollTop() + 2; + } else if (offset.top + dimensions.height - jQuery(window).scrollTop() > jQuery(window).height() - 2) { + position.top = jQuery(window).scrollTop() + jQuery(window).height() - dimensions.height - 2; + } + + if (offset.left - jQuery(window).scrollLeft() < 2) { + position.left = jQuery(window).scrollLeft() + 2; + } else if (offset.left + dimensions.width - jQuery(window).scrollLeft() > jQuery(window).width() - 2) { + position.left = jQuery(window).scrollLeft() + jQuery(window).width() - dimensions.width - 24; + } + + if (jQuery.keys(position).length > 0) { + if (jQuery.ie6 || jQuery.ie7) { + // added by Timo Besenreuther (2010-02-24) + // IE6&7 somehow lose the content (make sure it is displayed) + jQuery("#top_up").css(position); + window.setTimeout(function() { + jQuery("#top_up .te_content").show(); + }, 1); + } else { + jQuery("#top_up").animate(position, 300); + } + } + }; + + var hide = function(callback) { + jQuery(".te_content .te_stored_content").removeClass("te_stored_content"); + + var duration = fadeDuration(250); + var onReady = function() { + animateHide(callback); + }; + + jQuery("#top_up .te_title") .fadeOut(duration); + jQuery("#top_up .te_controls").fadeOut(duration); + + if (movieContentDisplayed()) { + options.content.find("object").hide(); + } + + if (jQuery.ie) { + jQuery("#top_up .te_close_link").hide(); + onReady.apply(); + } else { + jQuery("#top_up .te_close_link").fadeOut(duration, onReady); + } + }; + var animateHide = function(callback) { + var afterHide = function() { + if (callback) { + callback.apply(this, [jQuery("#top_up .te_content"), data]); + } + if (options.onclose) { + options.onclose.apply(this, [jQuery("#top_up .te_content"), data]); + } + + clearContent(); + moveContent("temp_up"); + }; + + switch(options.effect) { + case "appear": case "fade": + jQuery("#top_up").fadeOut(fadeDuration(300), afterHide); break; + case "switch": case "clip": + jQuery("#top_up").hide("clip", {direction: "vertical"}, 400, afterHide); break; + case "transform": + if (jQuery.ie6) { + // added by Timo Besenreuther (2010-02-24) + // transforming back to origin sometimes causes problems in ie6 + jQuery("#top_up").hide(); + afterHide.apply(); + break; + } + var origin = jQuery(options.topUp); + if (origin.children().length > 0) { + origin = jQuery(origin.children()[0]); + } + var tuContent = jQuery("#top_up").find(".te_content"); + var dimensions = options.topUp ? + jQuery.extend({width: origin.outerWidth(), height: origin.outerHeight()}, origin.offset()) : + {top: parseInt(jQuery(window).height() / 2, 10) + jQuery(window).scrollTop(), + left: parseInt(jQuery(window).width() / 2, 10) + jQuery(window).scrollLeft(), + width: 10, + height: 10}; + + transform("to", dimensions, afterHide); + break; + default: + jQuery("#top_up").hide(); + afterHide(); + } + + jQuery("#tu_overlay").hide(); + }; + + return { + version: "1.7.2", + jquery: null, + host: scriptParams.host || scriptHost, + images_path: scriptParams.images_path || "images/top_up/", + players_path: scriptParams.players_path || "players/", + data: data, + init: function() { + if (initialized) { + return false; + } + + try { + jQuery(document).ready(function() { + TopUp.jquery = jQuery().jquery; + + fast_mode = parseInt(scriptParams.fast_mode, 10) == 1; + default_preset.resizable = jQuery.ui && jQuery.ui.resizable ? 1 : 0; + + extendjQuery(); + injectCode(); + bind(); + + jQuery("#top_up").draggableZ({only: ".te_title,.te_top *,.te_bottom *"}); + jQuery.each(on_ready, function(i, func) { + func.apply(); + }); + }); + + jQuery(window).unload(function() { + jQuery("*").unbind(); + if (jQuery("#top_up .te_frame").resizable) { + jQuery("#top_up .te_frame").resizable("destroy"); + } + }); + + initialized = true; + } catch(e) {} + }, + defaultPreset: function(set) { + default_preset = jQuery.extend(default_preset, set); + }, + addPresets: function(sets) { + presets = jQuery.extend(presets, sets); + }, + ready: function(func) { + on_ready.push(func); + }, + // added by Timo Besenreuther (2010-02-24) / modified by Paul Engel (2010-02-25) + // disable cpu-consuming options like .tu_images etc + enableFastMode: function() { + var args = arguments; + + if (!jQuery.isReady) { + TopUp.ready(function() { + TopUp.enableFastMode.apply(null, args); + }); + return false; + } + + if (arguments.length) { + var arg = arguments[0]; + var func = jQuery.isFunction(arg) ? arg : function() { return arg; }; + fast_mode = func.apply(); + } else { + fast_mode = true; + } + fast_mode = fast_mode == true || parseInt(fast_mode, 10) == 1; + + TopUp.rebind(); + }, + rebind: function() { + if (selector) { + jQuery(selector).die("click", topUpClick); + } + bind(); + }, + displayTopUp: function(element, opts) { + if (!jQuery.isReady) { + TopUp.ready(function() { + TopUp.displayTopUp(element, opts); + }); + return false; + } + var topUp = jQuery(element).bubbleDetect(selector); + var toptions = deriveTopUpOptions(topUp, jQuery.extend(opts || {}, {trigger: "#" + jQuery(element).id()})); + TopUp.display(topUp.element.attr("href"), toptions); + }, + display: function(reference, opts) { + if (!jQuery.isReady) { + TopUp.ready(function() { + TopUp.display(reference, opts); + }); + return false; + } + + if (displaying) { + return false; + } + + try { + displaying = true; + + data = {}; + deriveOptions(reference, opts, true); + + showLoader(); + + var continueDisplaying = function() { + try { + deriveGroup(); + prepare(); + loadContent(); + } catch(e) { + displaying = false; + hideLoader(); + alert("Sorry, but the following error occured:\n\n" + e); + } + }; + + // added by Timo Besenreuther (2010-02-24) + // force ie6 to display loader while deriving groups (which can take a while...) + if (jQuery.ie6) { + window.setTimeout(continueDisplaying, 1); + } else { + continueDisplaying(); + } + } catch(e) { + displaying = false; + hideLoader(); + alert("Sorry, but the following error occured:\n\n" + e); + } + }, + update: function(func) { + if (jQuery("#top_up").is(":hidden")) { + return; + } + + replace(func || function() {}); + }, + restore: function(storeCurrent, callback) { + options.storeCurrent = storeCurrent ? 1 : 0; + options.ondisplay = callback; + + TopUp.update(function() { + clearContent(); + var stored_content = this.children(":not(.te_stored_content):first-child").prev(); + if (!stored_content.length) { + stored_content = this.children(".te_stored_content:last-child"); + } + stored_content.children().insertBefore(stored_content).end().end().remove(); + }); + }, + previous: function() { + navigateInGroup(-1); + }, + next: function() { + navigateInGroup(1); + }, + overlayClose: function() { + if (parseInt(options.overlayClose, 10) == 1) { + TopUp.close(); + } + }, + close: function(callback) { + if (jQuery("#top_up").is(":visible")) { + hide(callback); + } + } + }; +}()); + +(function () { + var missing_libs = []; + + if (scriptParams.libs != null) { + var libs = scriptParams.libs.replace(/clip|switch/g, "fxc-clip").replace(/resize/g, "uic-resizable").split("+"); + + for (var i = 0; i < libs.length; i++) { + if (["all", "core", "fxc-clip", "uic-resizable"].indexOf(libs[i]) != -1) { + if (missing_libs.indexOf(libs[i]) == -1) { + missing_libs.push(libs[i]); + } + } + } + } else { + if (typeof(jQuery) == "undefined") { + missing_libs.push("all"); + } else { + if (!jQuery.effects || !jQuery.effects.clip) { + missing_libs.push("fxc-clip"); + } + if (!jQuery.ui || !jQuery.ui.resizable) { + missing_libs.push("uic-resizable"); + } + } + } + + if (missing_libs.length == 0) { + TopUp.init(); + } else { + var src = scriptElement.getAttribute("src").replace(/(development\/)?top_up(\-min)?\.js.*$/, "jquery/" + missing_libs.sort().join(".") + ".js"); + document.write(''); + } +}()); + +} diff --git a/js/topup/players/flvplayer.swf b/js/topup/players/flvplayer.swf new file mode 100644 index 0000000..4758fc8 Binary files /dev/null and b/js/topup/players/flvplayer.swf differ diff --git a/js/topup/players/yt.swf b/js/topup/players/yt.swf new file mode 100644 index 0000000..7249d18 Binary files /dev/null and b/js/topup/players/yt.swf differ diff --git a/js/topup/readme.html b/js/topup/readme.html new file mode 100644 index 0000000..87263d1 --- /dev/null +++ b/js/topup/readme.html @@ -0,0 +1,142 @@ + + + + + The #1 Javascript Pop Up - Get TopUp! - Examples + + + + + + +
    +
    + +
    +

    Thanks for downloading TopUp!

    +

    + You must be thinking: "Great, I've downloaded TopUp! But now what?". No need to worry, this download is provided with examples and instructions regarding the usage of the library. +

    +

    Some examples

    + +
    +

    When including from gettopup.com (the easiest setup)

    +

    + I have put a lot of examples in the examples directory. They are all implemented with this setup. +

    +
      +
    1. + Put the following in the head element: +
      + <script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> +
      + + Note: You can configure TopUp (libs, fast mode, paths) in the querystring of the URL (read documentation) + +
      + ( you can also include a specific release by replacing latest with the version e.g. 1.3.2 ) +
      +
    2. +
    +

    When hosting the Javascript and images yourself

    +

    + Please note that this page is implemented with this setup. I assume hosting TopUp will not be a problem. +

    +
      +
    1. + Copy the entire(!) jquery directory in the same directory as the TopUp Javascript file. TopUp will automatically determine which Javascript libraries + (jQuery and/or jQuery UI) to include from the jquery directory when missing. + Please note that TopUp will only include one(!) file to reduce the amount of HTTP requests! An include will look like this: +
      + <script type="text/javascript" src="path/to/your/jquery/*.js"></script> +
      +
    2. +
    3. + Copy the entire(!) images directory to the correct location. + At default, TopUp assumes that the images reside at the same host as the file itself in the following path /images/top_up/. + You can change the path (and even the host) by changing the variables TopUp.host and TopUp.images_path as the following: +
      + <script type="text/javascript">
      +   TopUp.host = "http://www.anotherwebsite.com/";
      +   TopUp.images_path = "assets/images/top_up/";
      + </script> +
      + + Note:  The proper place for Rails developers would be the application.js + +
    4. +
    5. + Copy the entire(!) players directory to the correct location. + At default, TopUp assumes that the players reside at the same host as the file itself in the following path /players/. + You can change the path and host by changing the variables TopUp.host and TopUp.players_path as the following: +
      + <script type="text/javascript">
      +   TopUp.host = "http://www.anotherwebsite.com/";
      +   TopUp.players_path = "assets/players/";
      + </script> +
      + + Note:  The proper place for Rails developers would be the application.js + +
    6. +
    7. + Now you start using TopUp on your webpages by putting the following in the head element: +
      + <script type="text/javascript" src="path/to/your/top_up-min.js"></script> +
      + + Note: You can configure TopUp (libs, fast mode, paths) in the querystring of the URL (read documentation) + +
    8. +
    +

    + Remember: You can still use Prototype without having conflicts, just make sure you include TopUp first. +

    +
    +
    + + \ No newline at end of file diff --git a/js/topup/stylesheets/example.css b/js/topup/stylesheets/example.css new file mode 100644 index 0000000..48a1584 --- /dev/null +++ b/js/topup/stylesheets/example.css @@ -0,0 +1 @@ +#page_content h2{padding-bottom:6px;text-indent:0;background:none}#page_content ol{padding-bottom:5px}#demo a{margin-right:5px;border:0} diff --git a/js/topup/stylesheets/style.css b/js/topup/stylesheets/style.css new file mode 100644 index 0000000..89fa3ed --- /dev/null +++ b/js/topup/stylesheets/style.css @@ -0,0 +1 @@ +*{margin:0;padding:0}html{height:100%}body{height:100%;color:white;font-family:"Lucida Grande", "Arial";font-size:11px;line-height:150%;background:#003343}h1,h2{text-indent:-9999px;background-repeat:no-repeat;background-image:url(../images/sprite-min.png)}h3{margin-top:5px;font-size:12px}a{color:white;outline-style:none;text-decoration:none;border-bottom:1px dotted white}a:hover{border-bottom:1px solid white}ol{margin-top:10px;padding-bottom:12px}ol li{margin-bottom:3px}li{margin-left:30px}div.top_padded{padding-top:3px}.box{margin:4px 0;padding:8px;background-color:#002933 !important;border:1px dashed #529796}.code{font-family:"Courier New", "Courier";font-size:10px}#page_background{height:113px;margin-bottom:-113px;background-image:url(../images/sprite-min.png);background-repeat:repeat-x;background-position:top}#page_wrapper{width:725px;margin:auto;padding-bottom:40px;position:relative}#page_header{height:113px;position:relative;cursor:pointer;background-image:url(../images/sprite-min.png);background-repeat:no-repeat;background-position:left -113px;border-bottom:1px dashed #529796}#page_header h1,#page_header h2{position:absolute}#page_header h2{top:30px;left:84px;width:174px;height:74px;background-image:url(../images/sprite-min.png);background-repeat:no-repeat;background-position:left -226px}#page_header h1{top:70px;left:258px;width:318px;height:12px;background-image:url(../images/sprite-min.png);background-repeat:no-repeat;background-position:left -300px}#page_content{padding:0 15px}#page_content h1,#page_content h2{margin-top:28px}#page_content h1{height:21px;margin-bottom:13px}#page_content h2{height:16px;margin-bottom:10px}#page_content p{margin-top:6px}#page_content p.intro{margin-top:11px;margin-left:12px}#examples{margin-left:15px;padding-top:5px}#examples img{margin:3px 7px 3px 7px}#examples a,#examples img{border:0}h1.thanks_for_download_top_up{background-position:left -1067px !important}h1.some_examples{background-position:left -620px !important} diff --git a/libman.json b/libman.json new file mode 100644 index 0000000..ceee271 --- /dev/null +++ b/libman.json @@ -0,0 +1,5 @@ +{ + "version": "1.0", + "defaultProvider": "cdnjs", + "libraries": [] +} \ No newline at end of file diff --git a/login/Home.aspx b/login/Home.aspx new file mode 100644 index 0000000..740b619 --- /dev/null +++ b/login/Home.aspx @@ -0,0 +1,23 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="Home.aspx.vb" Inherits="login_Home" %> + + + + + + + + + +
    + +
    + Welcome + +
    +
    + +
    + +
    + + diff --git a/login/Home.aspx.vb b/login/Home.aspx.vb new file mode 100644 index 0000000..772a8d3 --- /dev/null +++ b/login/Home.aspx.vb @@ -0,0 +1,20 @@ + +Imports System.Web.Security + +Partial Class login_Home + Inherits System.Web.UI.Page + + + Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load + If Not Me.Page.User.Identity.IsAuthenticated Then + FormsAuthentication.RedirectToLoginPage() + End If + If Not Request.IsSecureConnection Then + Response.Redirect(Request.Url.AbsoluteUri.Replace("http://", "https://").Replace("56551", "44300")) + End If + + + End Sub + + +End Class diff --git a/login/login.aspx b/login/login.aspx new file mode 100644 index 0000000..9ddcf33 --- /dev/null +++ b/login/login.aspx @@ -0,0 +1,61 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="login.aspx.vb" Inherits="login_login" %> + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + +
    Bitte melden Sie sich an:
    + Benutzername: + + + * +
    + Kennwort: + + + * +
    + +
    + +
    +
    +
    +
    +
    +
    +
    + + + diff --git a/login/login.aspx.vb b/login/login.aspx.vb new file mode 100644 index 0000000..7e49cc3 --- /dev/null +++ b/login/login.aspx.vb @@ -0,0 +1,50 @@ + +Imports System.Data +Imports System.Configuration +Imports System.Data.SqlClient +Imports System.Web.Security + +Partial Class login_login + Inherits System.Web.UI.Page + + + + Protected Sub ValidateUser(sender As Object, e As EventArgs) + Dim userId As Integer = 0 + ' cDBFunctions.GetNewOpenConnection() + Dim ConnectionString = "" + If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then + ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956" + Else + ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;" + End If + + ' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString + Using con As New SqlConnection(ConnectionString) + Using cmd As New SqlCommand("Validate_User") + cmd.CommandType = CommandType.StoredProcedure + cmd.Parameters.AddWithValue("@Username", Login1.UserName) + cmd.Parameters.AddWithValue("@Password", Login1.Password) + cmd.Connection = con + con.Open() + userId = Convert.ToInt32(cmd.ExecuteScalar()) + con.Close() + End Using + Select Case userId + Case -1 + Login1.FailureText = "Username and/or password is incorrect." + Exit Select + Case -2 + Login1.FailureText = "Account has not been activated." + Exit Select + Case Else + FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet) + 'FormsAuthentication.SetAuthCookie(Login1.UserName, True) + 'Response.Redirect("mypage.aspx") + Exit Select + End Select + End Using + End Sub + + +End Class diff --git a/login/login_TEST.aspx b/login/login_TEST.aspx new file mode 100644 index 0000000..f5f45f1 --- /dev/null +++ b/login/login_TEST.aspx @@ -0,0 +1,123 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="login_TEST.aspx.vb" Inherits="login_login_TEST" %> + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + VERAG Spedition AG + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    Bitte melden Sie sich an:
    + Benutzername: + + + * +
    + Kennwort: + + + * +
    + +
    + +
    +
    +
    +
    +
    +
    +
    + +
    + +
    + + + + + diff --git a/login/login_TEST.aspx.vb b/login/login_TEST.aspx.vb new file mode 100644 index 0000000..eaba6a4 --- /dev/null +++ b/login/login_TEST.aspx.vb @@ -0,0 +1,46 @@ +Imports System.Data.SqlClient +Imports System.Data + +Partial Class login_login_TEST + Inherits System.Web.UI.Page + + + Protected Sub ValidateUser(sender As Object, e As EventArgs) + Dim userId As Integer = 0 + ' cDBFunctions.GetNewOpenConnection() + Dim ConnectionString = "" + If HttpContext.Current.Request.ServerVariables("SERVER_NAME") = "localhost" Then + ConnectionString = "Server=DEVELOPER\DEVSQL;Database=VERAG_HOMEPAGE;Uid=sa;Pwd=BmWr501956" + Else + ConnectionString = "Server=db593295684.db.1and1.com;Database=db593295684;Uid=dbo593295684;Pwd=atilla#2;" + End If + + ' Dim constr As String = ConfigurationManager.ConnectionStrings("constr").ConnectionString + Using con As New SqlConnection(ConnectionString) + Using cmd As New SqlCommand("Validate_User") + cmd.CommandType = CommandType.StoredProcedure + cmd.Parameters.AddWithValue("@Username", Login1.UserName) + cmd.Parameters.AddWithValue("@Password", Login1.Password) + cmd.Connection = con + con.Open() + userId = Convert.ToInt32(cmd.ExecuteScalar()) + con.Close() + End Using + Select Case userId + Case -1 + Login1.FailureText = "Username and/or password is incorrect." + Exit Select + Case -2 + Login1.FailureText = "Account has not been activated." + Exit Select + Case Else + FormsAuthentication.RedirectFromLoginPage(Login1.UserName, Login1.RememberMeSet) + 'FormsAuthentication.SetAuthCookie(Login1.UserName, True) + 'Response.Redirect("mypage.aspx") + Exit Select + End Select + End Using + End Sub + + +End Class diff --git a/map.php b/map.php new file mode 100644 index 0000000..ddfa773 --- /dev/null +++ b/map.php @@ -0,0 +1,140 @@ + + + + + + + + + + + + +
    + + +
    + +
    +
    ">
    +
    ">



    TEXT

    +
    ">
    +
    ">



    TEXT

    + +
    + + + \ No newline at end of file diff --git a/navigation.aspx b/navigation.aspx new file mode 100644 index 0000000..aae5f82 --- /dev/null +++ b/navigation.aspx @@ -0,0 +1,109 @@ + <% + Dim cnt1 As Integer = 0 + Dim DB As New cDBFunctions + + + + + Dim curentMenuId As String = "1" + If Not Request.QueryString("menuID") Is Nothing Then + curentMenuId = Request.QueryString("menuID") + End If + + Dim laenderkuerzel As String = "de" + If Not Request.QueryString("lan") Is Nothing Then + laenderkuerzel = Request.QueryString("lan") + End If + + + Dim navParent As String = "index_TEST.aspx" + Dim imgPath As String = "" + If HttpContext.Current.Request.Url.AbsoluteUri.ToString.Contains("admin.aspx") Then + navParent = "admin.aspx" + imgPath= "../" + End If + + 'If Session("navParent") = "admin" Then + ' If Request.QueryString("navParent") = "admin" Then + + 'Session("navParent") = Nothing + 'End If + ' End If + + + Dim navigation As List(Of cNavigation) = Nothing + navigation = DB.qry_menu_tags(laenderkuerzel) + + %> + + + \ No newline at end of file diff --git a/navigation.aspx.vb b/navigation.aspx.vb new file mode 100644 index 0000000..115b48b --- /dev/null +++ b/navigation.aspx.vb @@ -0,0 +1,5 @@ + +Partial Class navigation + Inherits System.Web.UI.Page + +End Class diff --git a/packages.config b/packages.config new file mode 100644 index 0000000..1436c37 --- /dev/null +++ b/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/pdf/Bonizertifikat.pdf b/pdf/Bonizertifikat.pdf new file mode 100644 index 0000000..a6b18af Binary files /dev/null and b/pdf/Bonizertifikat.pdf differ diff --git a/pdf/Bonizertifikat_2013.pdf b/pdf/Bonizertifikat_2013.pdf new file mode 100644 index 0000000..0aeb19a Binary files /dev/null and b/pdf/Bonizertifikat_2013.pdf differ diff --git a/rdp.aspx b/rdp.aspx new file mode 100644 index 0000000..7a69dac --- /dev/null +++ b/rdp.aspx @@ -0,0 +1,160 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="rdp.aspx.vb" Inherits="_Default" %> + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + + VERAG Spedition AG + + + + + + + + + + + + + + + + + + + + + + diff --git a/rdp.aspx.vb b/rdp.aspx.vb new file mode 100644 index 0000000..abf00e4 --- /dev/null +++ b/rdp.aspx.vb @@ -0,0 +1,20 @@ + +Partial Class _Default + Inherits System.Web.UI.Page + Sub test() + + End Sub + + Sub RDP_CLICK() + Select Case InputBox("RDP-KEY:") + + Case "test" + MsgBox("OK") + End Select + End Sub + + + Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load + + End Sub +End Class \ No newline at end of file diff --git a/rdp/REMOTE_VERAG.rdp b/rdp/REMOTE_VERAG.rdp new file mode 100644 index 0000000..9f41232 Binary files /dev/null and b/rdp/REMOTE_VERAG.rdp differ diff --git a/rdp/REMOTE_VERAG.zip b/rdp/REMOTE_VERAG.zip new file mode 100644 index 0000000..3a13c27 Binary files /dev/null and b/rdp/REMOTE_VERAG.zip differ diff --git a/sendFeedback - Kopie.aspx.vb b/sendFeedback - Kopie.aspx.vb new file mode 100644 index 0000000..115b48b --- /dev/null +++ b/sendFeedback - Kopie.aspx.vb @@ -0,0 +1,5 @@ + +Partial Class navigation + Inherits System.Web.UI.Page + +End Class diff --git a/sendFeedback.aspx b/sendFeedback.aspx new file mode 100644 index 0000000..b53a231 --- /dev/null +++ b/sendFeedback.aspx @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + <% @Import Namespace="System.net.Mail" %> + + + + + + + + + +
    Feedback
    +
    + + + Sie können uns hier eine Nachricht schreiben, ein Mitarbeiter wird sich umgehend darum kümmern: +

    + + + + + + + + + + + + + + + +
    Name / Firma:
    E-Mail:
    Nachricht:
    +
    +
    + + \ No newline at end of file diff --git a/sendFeedback.aspx.vb b/sendFeedback.aspx.vb new file mode 100644 index 0000000..4507598 --- /dev/null +++ b/sendFeedback.aspx.vb @@ -0,0 +1,7 @@ + +Partial Class navigation + Inherits System.Web.UI.Page + + + +End Class diff --git a/sendFeedback.php b/sendFeedback.php new file mode 100644 index 0000000..38da8ae --- /dev/null +++ b/sendFeedback.php @@ -0,0 +1,70 @@ + + + + + + + + + + + + + + + + + + + + +
    Feedback
    +
    + + + Sie können uns hier eine Nachricht schreiben, ein Mitarbeiter wird sich umgehend darum kümmern: +

    + + + + + + + + + + + + + + + +
    Name / Firma:
    " style="width:100%"> + Name eingeben!"; ?>
    E-Mail:
    " style="width:100%"> + E-Mail eingeben!"; ?>
    Nachricht:
    + Nachricht eingeben!"; ?>
    +
    + + \ No newline at end of file diff --git a/slider.aspx b/slider.aspx new file mode 100644 index 0000000..13a4bea --- /dev/null +++ b/slider.aspx @@ -0,0 +1,169 @@ + + + + + + + + + +
    +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
      +
    • + Kompetent und individuell
      + Hier steht ein Werbespruch!
      +
      mehr
      +
    • +
    • + Ihr Ansprechpartner in Österreich
      + Wir sprechen türkisch un deutsch!
      +
      mehr
      +
    • +
    • + quick-stop
      + Die Schnelle Verzollung!
      +
      mehr
      +
    • +
    • + quick-stop
      + Die Schnelle Verzollung!
      +
      mehr
      +
    • +
    +
    +
    + + + + \ No newline at end of file diff --git a/slider.aspx.vb b/slider.aspx.vb new file mode 100644 index 0000000..17ee93e --- /dev/null +++ b/slider.aspx.vb @@ -0,0 +1,5 @@ + +Partial Class slider + Inherits System.Web.UI.Page + +End Class diff --git a/status.aspx b/status.aspx new file mode 100644 index 0000000..0f99123 --- /dev/null +++ b/status.aspx @@ -0,0 +1,384 @@ +<%@ Page Language="VB" Debug="true" AutoEventWireup="false" CodeFile="status.aspx.vb" Inherits="_Default" %> + + + + + + <%@ import Namespace="MySql.Data.MySqlClient" %> + + + + + VERAG Spedition AG + + + + + + + + + + + + + + + + + + + + + + diff --git a/status.aspx.vb b/status.aspx.vb new file mode 100644 index 0000000..62c95d4 --- /dev/null +++ b/status.aspx.vb @@ -0,0 +1,7 @@ + +Partial Class _Default + Inherits System.Web.UI.Page + Sub test() + + End Sub +End Class diff --git a/vwd.webinfo b/vwd.webinfo new file mode 100644 index 0000000..a290a9d --- /dev/null +++ b/vwd.webinfo @@ -0,0 +1,8 @@ + + + + + + \ No newline at end of file