Add potential references from local directories

master
poikilos 2019-06-28 18:24:37 -04:00
parent 8fcce1daf9
commit d6c82611c5
100 changed files with 11372 additions and 118 deletions

11
CHANGELOG.md Normal file
View File

@ -0,0 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.
## [Unreleased] - 2019-06-28
- Add potential references from local directories.
- Add note regarding new documents to README.md.
- Name and sort documents better.
- Add backgrounds to dist for future use.
- Wrap lines in README.md, use markdown more, make file more navigable,
remove local paths and mention installing CLI commands in Windows and
adding them to the PATH.

3
CONTRIBUTING.md Normal file
View File

@ -0,0 +1,3 @@
Please read "Purpose" and "Why aren't there more rotoscoping
applications?" in README.md before commenting on the code or submitting
pull requests.

381
README.md
View File

@ -1,17 +1,80 @@
# RotoCanvas
For now this repository serves as a collection of terminal commands for
manipulating videos and DVDs, but if you can get the code working, let
me know. I'll change this message if I make more progress. See [FFMpeg
Notes](#FFMpeg Notes) below, and the "more" directory. Upstream ideas
and code from "more" directory that are implemented will be moved to
"references". Please read "Purpose" and "Why aren't there more
rotoscoping applications?" below before commenting on the code or
submitting pull requests.
## Purpose
This is a manual rotoscoping (frame by frame painting) application. Rotoscoping is the only accurate way to achieve effects such as manual object removal (such as removing wires for flying scenes), cartoons mixed with live action, correction of layer order errors (such as if the wrong fingers get in the way of a virtual object that is held), doing energy effects without 3D mockups of characters (3D mockups [invisible blockers] are normally needed in order to address situations where part or all of the energy effect goes behind a character or some of the character's fingers), or detailed junk matte tweaking (such as is needed when all or part of an actor appears in front of a studio wall instead of a green screen). Before the digital age, these issues were addressed by hand, and rotoscoping was considered an essential part of post effects to address a whole domain of issues. The fact that there are so few applications like this has become an obstacle. Ideally this project will be used as a basis to create plugins (see Developer Notes) so that more video editing applications will include rotoscoping, in this case *nondestructive rotoscoping. RotoCanvas is being tested and compiled in a standalone application ("RotoCanvas Paint") so that the software can be used right away.
This is a manual rotoscoping (frame by frame painting) application.
Rotoscoping is the only accurate way to achieve effects such as manual
object removal (such as removing wires for flying scenes), cartoons
mixed with live action, correction of layer order errors (such as if the
wrong fingers get in the way of a virtual object that is held), doing
energy effects without 3D mockups of characters (3D mockups [invisible
blockers] are normally needed in order to address situations where part
or all of the energy effect goes behind a character or some of the
character's fingers), or detailed junk matte tweaking (such as is needed
when all or part of an actor appears in front of a studio wall instead
of a green screen). Before the digital age, these issues were addressed
by hand, and rotoscoping was considered an essential part of post
effects to address a whole domain of issues. The fact that there are so
few applications like this has become an obstacle. Ideally this project
will be used as a basis to create plugins (see Developer Notes) so that
more video editing applications will include rotoscoping, in this case
**nondestructive** rotoscoping. RotoCanvas is being tested and compiled
in a standalone application ("RotoCanvas Paint") so that the software
can be used right away.
### Why aren't there more rotoscoping applications?
Possibly, rotoscoping applications are not considered commercially viable since there is unavoidable lag situations that can't be reasonably blamed on developers but inevitably are (see "Caveats" below). Unavoidable lag and video format complexity issues could be reasons for the discontinuation of such programs as Ulead ® VideoPaint ® (this project is not affiliated with Corel ® or Ulead ®). Another reason could be that rotoscoping is highly dependent on the source frame remaining the same, whereas MPEG (variants of which are used almost everywhere) has inherently inexact frame seeking. These issues may be partially or completely resolved by advanced caching (for the lag issue) and advanced frame seeking algorithms (for the accuracy issue), either of which are not easily achieved but both of which are needed in a professional video application (since video, which has slow seeking would be required, and MPEG, which is normally inaccurate would be required). Even if image sequences are used to resolve the seek lag and seek accuracy issues, seek lag normally remains simply because the edits have to be re-applied or re-loaded (basically, a multi-layer image project needs to be loaded each time seeking to a different frame). Leaving rotoscoping out entirely is often seen as the only way to avoid these issues. This program aims to implement rotoscoping regardless of the possibility of seek lag or requiring image sequences (to avoid seek accuracy issues). In this project, rotoscoping (the core feature) is considered to be an indispensable part of video editing, regardless of the fact that meeting the expectations of normal consumers (primarily expectations for speed and format support) may be impractical to be achieved by volunteer programmers, or may be impossible for technical reasons described above.
Possibly, rotoscoping applications are not considered commercially
viable since there is unavoidable lag situations that can't be
reasonably blamed on developers but inevitably are (see "Caveats"
below). Unavoidable lag and video format complexity issues could be
reasons for the discontinuation of such programs as Ulead ®
VideoPaint ® (this project is not affiliated with Corel ® or
Ulead ®). Another reason could be that rotoscoping is highly
dependent on the source frame remaining the same, whereas MPEG (variants
of which are used almost everywhere) has inherently inexact frame
seeking. These issues may be partially or completely resolved by
advanced caching (for the lag issue) and advanced frame seeking
algorithms (for the accuracy issue), either of which are not easily
achieved but both of which are needed in a professional video
application (since video, which has slow seeking would be required,
and MPEG, which is normally inaccurate would be required). Even if image
sequences are used to resolve the seek lag and seek accuracy issues,
seek lag normally remains simply because the edits have to be re-applied
or re-loaded (basically, a multi-layer image project needs to be loaded
each time seeking to a different frame). Leaving rotoscoping out
entirely is often seen as the only way to avoid these issues. This
program aims to implement rotoscoping regardless of the possibility of
seek lag or requiring image sequences (to avoid seek accuracy issues).
In this project, rotoscoping (the core feature) is considered to be an
indispensable part of video editing, regardless of the fact that meeting
the expectations of normal consumers (primarily expectations for speed
and format support) may be impractical to be achieved by volunteer
programmers, or may be impossible for technical reasons described above.
## Changes
* (2016-08-05) detect format instead of ever using the strings "png" or ".png" during loading (but continue to use png for all saved image data, as nondestructive layers)
* (2016-08-05) detect format instead of ever using the strings "png" or
".png" during loading (but continue to use png for all saved image data,
as nondestructive layers)
## Caveats
* Lag during frame loading cannot be avoided, since each video frame must be loaded at full quality, which at 1080p takes up an unavoidable 8100kb per layer. Maximum performance could be achieved when one or more frames in either direction of the current frame are cached, in their edited form. However, upon editing, the cache will have to be updated and the image, redrawn. To prevent further lag in that situation, the source frame (base layer) could be cached so that editing layers can be applied without reloading the frame from the source video file.
* At this time, image sequences are required. MPEG-derived formats may or may not ever be added, since MPEG-style frame seeking is inexact and rotoscoping is highly dependent on the source frame remaining the same.
* Lag during frame loading cannot be avoided, since each video frame
must be loaded at full quality, which at 1080p takes up an unavoidable
8100kb per layer. Maximum performance could be achieved when one or more
frames in either direction of the current frame are cached, in their
edited form. However, upon editing, the cache will have to be updated
and the image, redrawn. To prevent further lag in that situation, the
source frame (base layer) could be cached so that editing layers can be
applied without reloading the frame from the source video file.
* At this time, image sequences are required. MPEG-derived formats may
or may not ever be added, since MPEG-style frame seeking is inexact and
rotoscoping is highly dependent on the source frame remaining the same.
## Known Issues
* complete first working version
@ -19,9 +82,14 @@ Possibly, rotoscoping applications are not considered commercially viable since
## Planned Features
(!=important, ~=low-priority)
* add markers to media OR timeline, separately (media markers are also on timeline behave differently: ghosted until media is selected, has filmstrip icon if from a clip; reversed if video is reversed, changed placement if speed is changed, etc)
* add markers to media OR timeline, separately (media markers are also
on timeline behave differently: ghosted until media is selected, has
filmstrip icon if from a clip; reversed if video is reversed, changed
placement if speed is changed, etc)
* use alpha.png for reducing opacity of parts of background layer
* allow blocker layer type (make an animated object that seems to "undo" previous edits, such as to reveal parts of characters under the effect, without permanently erasing any part of the effect)
* allow blocker layer type (make an animated object that seems to "undo"
previous edits, such as to reveal parts of characters under the
effect, without permanently erasing any part of the effect)
* use layer cache (purpose for unused variable cacheMaxMB)
* Keyboard controls for fast operation:
* Ctrl Scrollwheel: zoom
@ -33,9 +101,11 @@ catch(std::exception& e) {
qCritical() << "Exception thrown:" << e.what();
}
```
* Change Speed (optional frame blending to create "in-between" frames for slow, merged frames for fast!)
* Change Speed (optional frame blending to create "in-between" frames
for slow, merged frames for fast!)
* (~) Effects (see <http://randombio.com/linuxsetup141.html>)
* (~) Load VirtualDub plugins, possibly as cscript using their sourcecode
* (~) Load VirtualDub plugins, possibly as cscript using their
sourcecode.
* (~) Detect Light Sabers
* auto masking behind objects
* auto sound generation!
@ -43,176 +113,254 @@ catch(std::exception& e) {
* volume based on speed
* hits with volume based on speed
* different saber to saber & saber to target sound
* as long as they're touching (fades into low electrical sound after initial hit)
* as long as they're touching (fades into low electrical sound
after initial hit)
* allow manually adding saber-to-target hits
* Set in-out points for saber
* generate in-out sounds
* (~) use G'MIC library for image processing (so GIMP plugins can be used).
* (~) use G'MIC library for image processing (so GIMP plugins can be
used).
* example: Flowblade uses G'MIC, so does EKD (see http://gmic.eu/)
* use GIMP HQRESIZE plugin (esp for resizing letterbox movies to 16:9 anamorphic, esp DVD low-res mode mpegs created by Panasonic DVDR EP mode)
* (~) Manipulate flv directly to avoid recompression (example: Try to rerender and combine zelda fan film from youtube, using curves from Sony Vegas [see vf project file])
* (~) Have an expandable palette of sound effects, and a depth settings (negative for behind camera), then allow clicking to add 3D placement of sound
* use GIMP HQRESIZE plugin (esp for resizing letterbox movies to 16:9
anamorphic, esp DVD low-res mode mpegs created by Panasonic DVDR EP
mode)
* (~) Manipulate flv directly to avoid recompression (example: Try to
rerender and combine zelda fan film from youtube, using curves from
Sony Vegas [see vf project file])
* (~) Have an expandable palette of sound effects, and a depth settings
(negative for behind camera), then allow clicking to add 3D placement
of sound
* also allow animation
* eventually create Blender export of speaker objects
* allow optional facing direction (default is track viewer [always face camera])
* allow optional facing direction (default is track viewer [always
face camera])
* (~) Seam Carving resize (possibly via an existing G'MIC plugin)
example: SeaMonster - Content-aware resizing FOSS (Seam Carving) http://blogs.msdn.com/b/mswanson/archive/2007/10/23/seamonster-a-net-based-seam-carving-implementation.aspx
example: [SeaMonster - Content-aware resizing FOSS (Seam
Carving)](http://blogs.msdn.com/b/mswanson/archive/2007/10/23/seamonster-a-net-based-seam-carving-implementation.aspx)
* (~) PAL-NTSC conversion (universal size/framerate converter) idea
(or make VirtualDub plugin for this that writes output manually)
* Make it universal: from any size/framerate to any size/framerate
* Blend frames retroactively once there is enough data per frame (or do multiple at once if there is more data, if destination frame rate is higher than source)
* Scale video as needed (is VirtualDub native scaling accessible via SDK??)
* Blend frames retroactively once there is enough data per frame (or
do multiple at once if there is more data, if destination frame rate
is higher than source)
* Scale video as needed (is VirtualDub native scaling accessible via
SDK??)
* dump the frames into ffmpeg successively
* test it with a PAL movie
## Low-priority Known Issues
* drawLineTo (this is used for painting) should draw line instead of last point
* drawLineTo (this is used for painting) should draw line instead of
last point
## Design Directives
* Completely customizable but good defaults for example there are three built-in views and can show any 2d or 1d parameter can be shown in any you at any time. For example you can make a difference node, and show the grey scale difference mask in any view. When you hover the mouse over a view, it shows the favorite inputs. When a node is created that has 1D or 2D output, favorite is automatically created. You can have infinite number of input or result nodes.
* Have "Save Project" and "Save Movie". If you exit without saving movie since modifying project, it gives a warning. If you save a project, the dialog says how big of a flash drive you need (& lists which drives will work) by checkbox for "Include source files (required for using file on another computer, and also if files were opened directly from device such as camera or removable data storage)"
* Completely customizable but good defaults for example there are three
built-in views and can show any 2d or 1d parameter can be shown in any
you at any time. For example you can make a difference node, and show
the grey scale difference mask in any view. When you hover the mouse
over a view, it shows the favorite inputs. When a node is created that
has 1D or 2D output, favorite is automatically created. You can have
infinite number of input or result nodes.
* Have "Save Project" and "Save Movie". If you exit without saving
movie since modifying project, it gives a warning. If you save a
project, the dialog says how big of a flash drive you need (& lists
which drives will work) by checkbox for "Include source files
(required for using file on another computer, and also if files were
opened directly from device such as camera or removable data storage)"
## Developer Notes
* The RotoCanvas class is modular, with hopes that it can be used by various video editing applications in the future. The recommended use of RotoCanvas in a video editing application is for applying effects (primarily manual rotoscoping) to source videos (as frame sequences) as a preprocessing step before they are trimmed or other effects are added, since rotoscoping is highly dependent on the source frame (base layer) remaining the same. Using the RotoCanvas as a post-processing effect is possible, but accurate frame seeking must be assured somehow (such as by a frame-accurate video editing engine), and further edits to the previous layers will in some cases cause the rotoscoped parts (parts of the image edited by RotoCanvas) to no longer make sense (such as, if a lens pinch effect is added to a scene where there was a layer order error that has been rotoscoped out, instead of the error being rotoscoped out, there will be both the error and a corrected blotch that is the error's original position & shape), which in such cases would require redoing the rotoscoping.
* The RotoCanvas class is modular, with hopes that it can be used by
various video editing applications in the future. The recommended use
of RotoCanvas in a video editing application is for applying effects
(primarily manual rotoscoping) to source videos (as frame sequences)
as a preprocessing step before they are trimmed or other effects are
added, since rotoscoping is highly dependent on the source frame (base
layer) remaining the same. Using the RotoCanvas as a post-processing
effect is possible, but accurate frame seeking must be assured somehow
(such as by a frame-accurate video editing engine), and further edits
to the previous layers will in some cases cause the rotoscoped parts
(parts of the image edited by RotoCanvas) to no longer make sense
(such as, if a lens pinch effect is added to a scene where there was a
layer order error that has been rotoscoped out, instead of the error
being rotoscoped out, there will be both the error and a corrected
blotch that is the error's original position & shape), which in such
cases would require redoing the rotoscoping.
### RotoCanvas Paint Notes
* The save method is used by both the Save and the Save As actions. The save sender is pre-programmed with the format property
* The save method is used by both the Save and the Save As actions. The
save sender is pre-programmed with the format property
### Storage Method
Folder and file structure is as follows, where `<sequenceName>` is sequence name (such as, if mygreatvideo0000.png is first frame, `<sequenceName>` is mygreatvideo) and where the base folder (containing `<sequenceName>` folder) is the folder where the images in an image sequence are stored:
Folder and file structure is as follows, where `<sequenceName>` is
sequence name (such as, if mygreatvideo0000.png is first frame,
`<sequenceName>` is mygreatvideo) and where the base folder (containing
`<sequenceName>` folder) is the folder where the images in an image
sequence are stored:
```
<sequenceName> [folder]
rotocanvas.yml [not yet implemented]
frames [folder]
<frameNumber> [folder; only exists if frame is a keyframe]
alpha.png [file where only alpha channel is used (and applied to background upon export)--
alpha is stored separately so when background is edited, only edits are saved (to layer 0),
reducing storage use; then alpha is applied]
layers [folder]
<layerNumber>.png
<layerNumber>.yml [not yet implemented]
rotocanvas.yml [not yet implemented]
frames [folder]
<frameNumber> [folder; only exists if frame is a keyframe]
alpha.png [file where only alpha channel is used (and applied to background upon export)--
alpha is stored separately so when background is edited, only edits are saved (to layer 0),
reducing storage use; then alpha is applied]
layers [folder]
<layerNumber>.png
<layerNumber>.yml [not yet implemented]
```
* an older considered method:
```
Storage Format
*.rotocanvas folder with L folder under it (Layers folder) where * is base name of sequence (excluding sequential numbering)
folder for each keyframe containing layer files (whether hand-painted movement frame or actual interpolated keyframe)
Each layer has a png file and a yml file
YML file specifies:
paint_type: # can be:
mask (use alpha as final alpha, and ignore colors)
reveal (any transparent areas reveal background--provides a maximum alpha to all previous layers)
plain (just paint--use normal alpha overlay)
motion_type: # can be:
static (non-interpolated keyframe aka paint)
interpolated (position[and rotation & scale eventually] interpolated until next)
interpolation_type: # can be:
linear
folder for each keyframe containing layer files (whether hand-painted movement frame or actual interpolated keyframe)
Each layer has a png file and a yml file
YML file specifies:
paint_type: # can be:
mask (use alpha as final alpha, and ignore colors)
reveal (any transparent areas reveal background--provides a maximum alpha to all previous layers)
plain (just paint--use normal alpha overlay)
motion_type: # can be:
static (non-interpolated keyframe aka paint)
interpolated (position[and rotation & scale eventually] interpolated until next)
interpolation_type: # can be:
linear
```
## Credits
* created by expertmm (see also LICENSE)
* special thanks to the Qt team for ScribbleArea from Qt Examples
*DISCLAIMER: This software comes without warranty or guarantees of any kind. Use this software at your own risk.
*DISCLAIMER: This software comes without warranty or guarantees of any
kind. Use this software at your own risk.*
## Notes on Other Programs
* in some programs, ss;ff denotes drop frame, and ss:ff denotes NON-drop frame
* In some programs, ss;ff denotes drop frame, and ss:ff denotes NON-drop
frame.
* mplayer is included in megui in the mencoder folder
* Change aspect ratio flag:
Use DVD Patcher, then test the result by dropping into Sony DVD Architect Studio to and playing (will play at specified aspect ratio)
Use DVD Patcher, then test the result by dropping into Sony DVD
Architect Studio to and playing (will play at specified aspect ratio)
### ffmpeg notes
* Combine videos (this is a one-line command, however, text file works better for some reason--see <http://www.github.com/expertmm/IntroCompatiblizer>)
"E:\Program Files\WinFF\ffmpeg.exe" -i "concat:Logo4 Animation A 1a0001-0100.avi|Logo4 Animation A 1a101-142.avi" -c copy "Logo4 Animation A 1a combined.avi"
* even with text file, name may need to be changed automatically first to prevent ffmpeg syntax error
* h.264 avi to mp3 container for Sony software
"C:\Program Files (x86)\WinFF\ffmpeg.exe" -i "Logo4 Animation A 1b.avi" -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 "Logo4 Animation A 1b.mp4"
* losslessly split
E:\Progs\Video\gui4ffmpeg\ffmpeg -vcodec copy -acodec copy -ss 00:00:00 -t 00:01:00 -i in.mp4 out.mp4
### Get CLI Video Utilities on Windows
(Command-line Interface)
#### ffmpeg
* Install WinFF and add C:\Program Files (x86)\WinFF\ffmpeg.exe to the
PATH variable, or whatever path to which you installed it.
- Or, download gui4ffmpeg and unzip it to C:\PortableApps\Video, and
add C:\PortableApps\Video\gui4ffmpeg to your PATH variable.
#### mplayer & mencoder
* Get **MPlayer for Windows** and add the MPlayer directory to your PATH
variable. (If you have IntegratorEduImport, you can add
`%USERPROFILE%\Documents\Projects\IntegratorEduImport\bin\MPlayer`
to your PATH).
- or download and unzip **megui** to `C:\PortableApps\Video` and add
`C:\PortableApps\Video\megui\tools\mencoder` to your PATH.
### FFMpeg Notes
- For a program that has a narrow use case but has additional video
conversion commands embedded in the Python code as strings, see
<https://github.com/poikilos/IntroCompatiblizer>.
- Combine videos (this is a one-line command, however, text file works
better for some reason--see <http://www.github.com/expertmm/IntroCompatiblizer>)
```
ffmpeg -i "concat:Logo4 Animation A 1a0001-0100.avi|Logo4 Animation A 1a101-142.avi" -c copy "Logo4 Animation A 1a combined.avi"
```
* Even with text file, the names may need to be changed automatically
first to prevent ffmpeg syntax error. See
- h.264 avi to mp3 container for Sony software
```
ffmpeg -i "Logo4 Animation A 1b.avi" -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 "Logo4 Animation A 1b.mp4"
```
- losslessly split
```
ffmpeg -vcodec copy -acodec copy -ss 00:00:00 -t 00:01:00 -i in.mp4 out.mp4
``
* where time after ss is start as hh:mm:ss, & time after t is duration as hh:mm:ss.
* losslessly change container e.g. from FLV to MP4:
E:\Progs\Video\gui4ffmpeg\ffmpeg -i VideoFile.flv -vcodec copy -acodec copy VideoFile.mp4
- losslessly change container e.g. from FLV to MP4:
```
ffmpeg -i VideoFile.flv -vcodec copy -acodec copy VideoFile.mp4
```
* allows Premiere Elements to load it (tested where flv was AVC video with AAC audio)
* convert video to image sequence:
E:\Progs\Video\gui4ffmpeg\ffmpeg -i VideoFile.m2v Forensics1a%d.png
* convert image sequence to video:
- convert video to image sequence:
```
ffmpeg -i VideoFile.m2v Forensics1a%d.png
```
* Tried with image sequence in folder: D:\Videos\Projects\Rebel Assault IX\RAIX2b\Scene07 (Lightsaber Duel)\forcegrab\2b4 (2013 3D Hilt flying away and back added)\
* E:\Progs\Video\gui4ffmpeg\ffmpeg -r 29.97 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -sameq -r 29.97 output.mp4
- convert image sequence to video:
* Tried with image sequence in folder: $HOME\Videos\Projects\Rebel Assault IX\RAIX2b\Scene07 (Lightsaber Duel)\forcegrab\2b4 (2013 3D Hilt flying away and back added)\
* Force fps such as 29.97: `ffmpeg -r 29.97 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -sameq -r 29.97 output.mp4`
* #-r forces frame rate to same so no frames are skipped (default is 25 fps, so, for example, converting to 24fps results in 1 lost per second)
[failed]E:\Progs\Video\gui4ffmpeg\ffmpeg -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png VideoFile.mpg
#NOTE: only failed since "truncated or corrupted" input error occurred, due to using %d when %04d was required (for 4-digit 0-padded frame numbering)
[failed]E:\Progs\Video\gui4ffmpeg\ffmpeg -f png -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -title X final_video.mp4
#NOTE: only failed since "truncated or corrupted" input error occurred, due to using %d when %04d was required (for 4-digit 0-padded frame numbering)
or for iPod:
[failed]E:\Progs\Video\gui4ffmpeg\ffmpeg -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output-ipod.mp4
#for older ffmpeg only
[failed]E:\Progs\Video\gui4ffmpeg\ffmpeg -r 29.97 -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -r 29.97 -acodec aac -ab 128k -vcodec mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 1 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X output-ipod.mp4
#didn't accept metadata option
E:\Progs\Video\gui4ffmpeg\ffmpeg -r 29.97 -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -r 29.97 -acodec aac -ab 128k -vcodec mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 1 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X output-ipod.mp4
or for YouTube:
[failed]E:\Progs\Video\gui4ffmpeg\ffmpeg -r 30 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -s:v 1280x720 -c:v libx264 -profile:v high -crf 23 -pix_fmt yuv420p -r 30 output-YouTube.mp4
```
* convert to m2ts (from IntegratorEduImport):
* [failed]ffmpeg -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png VideoFile.mpg
* NOTE: only failed since "truncated or corrupted" input error occurred, due to using %d when %04d was required (for 4-digit 0-padded frame numbering)
* [failed]ffmpeg -f png -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -title X final_video.mp4
* NOTE: only failed since "truncated or corrupted" input error occurred, due to using %d when %04d was required (for 4-digit 0-padded frame numbering)
* or for iPod:
* [failed]ffmpeg -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png input -acodec aac -ab 128kb -vcodec mpeg4 -b 1200kb -mbd 2 -flags +4mv+trell -aic 2 -cmp 2 -subcmp 2 -s 320x180 -title X output-ipod.mp4
* for older ffmpeg only
* [failed]ffmpeg -r 29.97 -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -r 29.97 -acodec aac -ab 128k -vcodec mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 1 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X output-ipod.mp4
* didn't accept metadata option
* `ffmpeg -r 29.97 -f image2 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -r 29.97 -acodec aac -ab 128k -vcodec mpeg4 -b 1200k -mbd 2 -flags +mv4+aic -trellis 1 -cmp 2 -subcmp 2 -s 320x180 -metadata title=X output-ipod.mp4`
* or for YouTube:
* [failed]ffmpeg -r 30 -i RAIX2b4-scene-lightsaberduel-shot-forcegrab%04d.png -s:v 1280x720 -c:v libx264 -profile:v high -crf 23 -pix_fmt yuv420p -r 30 output-YouTube.mp4
- convert to m2ts (from IntegratorEduImport):
(see also "Selecting codecs and container formats." mplayer.hu. <http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-selecting-codec.html>. Oct 11, 2012.)
```
```batch
REM Convert to m2ts (tried using mencoder):
REM mencoder -of help doesn't list mts, only mpeg (MPEG-1&MPEG-2 PS according to mplayerhq.hu), xvid (MPEG-4 ASP), and x264 (MPEG-4 AVC)
REM lavf means that you then specify a libavformat container -- still only has mpg (MPEG-1&MPEG-2 PS according to mplayerhq.hu) & mp4
REM mencoder was originally only meant for AVI so resulting file should be tested, according to mplayerhq.hu
REM C:\Users\Jakeg7505\Documents\Projects\IntegratorEduImport\bin\MPlayer\mencoder.exe E:\Backup-school\00394.mts -vf scale=1280:720 -oac copy -fps 60 -ofps 30 -o c:\Users\Jakeg7505\Documents\1080-to-720-00394.m2ts
REM C:\Users\Jakeg7505\Documents\Projects\IntegratorEduImport\bin\MPlayer\mencoder.exe E:\Backup-school\00394.mts -s hd720 -oac copy -fps 60 -ofps 30 -o c:\Users\Jakeg7505\Documents\1080-to-720-00394.m2ts
REM mencoder 00394.mts -vf scale=1280:720 -oac copy -fps 60 -ofps 30 -o %USERPROFILE%\Documents\1080-to-720-00394.m2ts
REM mencoder 00394.mts -s hd720 -oac copy -fps 60 -ofps 30 -o %USERPROFILE%\Documents\1080-to-720-00394.m2ts
```
* ffmpeg convert h.264 avi to mp4 container for sony
"E:\Program Files\WinFF\ffmpeg.exe" -i "Logo4 Animation A 1b.avi" -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 "Logo4 Animation A 1b.mp4"
- ffmpeg convert h.264 avi to mp4 container for sony
ffmpeg -i "Logo4 Animation A 1b.avi" -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 "Logo4 Animation A 1b.mp4"
* Convert to m2ts (using ffmpeg):
* -y overwrite output files without asking
* -loglevel 1 is OK too
* -r doesn't seem to work before input (for forcing framerate)
* -qscale is deprecated -- says to use -q:v (quantize video) or -q:a (quantize audio) instead
* `-async <samples per second> to resync audio is deprecated, use asyncts instead`
* -qscale is deprecated -- says to use -q:v (quantize video) or -q:a (quantize audio) instead
* "-async <samples per second> to resync audio is deprecated, use asyncts instead"
* `ffmpeg -y -r 60 -i "00394.mts" -r 30 -aspect 16:9 -qscale 4 -vcodec mpeg2video -acodec copy -f mpegts "%USERPROFILE%\Documents\1080-to-720-00394.m2ts"`
* `ffmpeg -y -i "00394.mts" -r 30 -s 1280x720 -qscale 4 -vcodec mpeg2video -acodec copy -f mpegts "%USERPROFILE%\Documents\1080-to-720-00394.m2ts"`
* "C:\Program Files (x86)\WinFF\ffmpeg.exe" -y -r 60 -i "00394.mts" -r 30 -aspect 16:9 -qscale 4 -vcodec mpeg2video -acodec copy -f mpegts "c:\Users\Jakeg7505\Documents\1080-to-720-00394.m2ts"
- Resize (-s: Scale) mpeg2ts video such as from Canon VIXIA HF G10:
- `ffmpeg -y -i "00394.mts" -r 30 -s 1280x720 -q:v 4 -vcodec mpeg2video -acodec copy -f mpegts "%USERPROFILE%\Documents\1080-to-720-00394.m2ts"`
* "C:\Program Files (x86)\WinFF\ffmpeg.exe" -y -i "00394.mts" -r 30 -s 1280x720 -qscale 4 -vcodec mpeg2video -acodec copy -f mpegts "c:\Users\Jakeg7505\Documents\1080-to-720-00394.m2ts"
* `"C:\Program Files (x86)\WinFF\ffmpeg.exe" -y -i "00394.mts" -r 30 -s 1280x720 -q:v 4 -vcodec mpeg2video -acodec copy -f mpegts "c:\Users\Jakeg7505\Documents\1080-to-720-00394.m2ts"`
* dump sound losslessly:
- dump sound losslessly:
```bash
#PART OF SOUND e.g. 1st minute ffmpeg -vcodec copy -acodec copy -s 00:00:00 -t 00:01:00 -i in.flv intro-only1a_480p.flv
#If multiple audio streams or audio not detected, first get Audio ID: ffmpeg -i "$filename"
ffmpeg -i "$vidbasename.mp4" -vn -f wav "$vidbasename-audio.wav"
ffmpeg -i "$vidbasename.mp4" -vn -acodec copy "$vidbasename-audio.m4a"
ffmpeg -i "$vidbasename.flv" -vn -acodec copy "$vidbasename-audio.mp3"
# - where .mp3 a compatible container e.g.:
# ffmpeg -i "$vidbasename.ogg" -acodec copy "$vidbasename.mkv"
#some people do:
ffmpeg -i video.mpg -acodec copy audio.ac3
mplayer x.mpg -dumpaudio -dumpfile sound.ac3
mplayer source_file.vob -aid 129 -dumpaudio -dumpfile sound.ac3
# - where 129 is the audio id
```
#PART OF SOUND e.g. 1st minute E:\Progs\Video\gui4ffmpeg\ffmpeg -vcodec copy -acodec copy -s 00:00:00 -t 00:01:00 -i in.flv intro-only1a_480p.flv
#If multiple audio streams or audio not detected, first get Audio ID: ffmpeg -i "$filename"
E:\Progs\Video\gui4ffmpeg\ffmpeg -i "$vidbasename.mp4" -vn -f wav "$vidbasename-audio.wav"
E:\Progs\Video\gui4ffmpeg\ffmpeg -i "$vidbasename.mp4" -vn -acodec copy "$vidbasename-audio.m4a"
E:\Progs\Video\gui4ffmpeg\ffmpeg -i "$vidbasename.flv" -vn -acodec copy "$vidbasename-audio.mp3"
# - where .mp3 a compatible container e.g.:
# ffmpeg -i "$vidbasename.ogg" -acodec copy "$vidbasename.mkv"
#some people do:
E:\Progs\Video\gui4ffmpeg\ffmpeg -i video.mpg -acodec copy audio.ac3
E:\Progs\Video\megui\tools\mencoder\mplayer x.mpg -dumpaudio -dumpfile sound.ac3
E:\Progs\Video\megui\tools\mencoder\mplayer source_file.vob -aid 129 -dumpaudio -dumpfile sound.ac3
# - where 129 is the audio id
- extract and recompress incompatible ac3 or other audio stream (allow burning video+audio with Sony DVD Architect; works with wave file input too):
```
* extract and recompress incompatible ac3 or other audio stream (allow burning video+audio with Sony DVD Architect; works with wave file input too):
ffmpeg -i video.mpg -ab 224k -ar 48000 -ac 2 -acodec ac3 video.ac3
```
E:\Progs\Video\gui4ffmpeg\ffmpeg -i video.mpg -ab 224k -ar 48000 -ac 2 -acodec ac3 video.ac3
- extract and compress sound:
```
* extract and compress sound:
ffmpeg -i "$vidbasename.mp4" -vn -ar 44100 -ac 2 -ab 192 -f mp3 "$vidbasename-audio.mp3"
```
E:\Progs\Video\gui4ffmpeg\ffmpeg -i "$vidbasename.mp4" -vn -ar 44100 -ac 2 -ab 192 -f mp3 "$vidbasename-audio.mp3"
```
* extract from dvd losslessly:
- Edit video:
* Split file: `ffmpeg -vcodec copy -ss 00:01:00 -t 00:03:00 -i infile.mpg outfile.mpg`
- Extract from DVD losslessly (not encrypted dvds):
```bash
#ffmpeg -i concat:'VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB|VTS_01_7.VOB|VTS_01_8.VOB|VTS_01_9.VOB' -c copy $dest_path/Hi-8-to-DVD-via-Sharp.mpg
#the commands below supposedly also work
#ffmpeg -i 'concat:VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB|VTS_01_7.VOB|VTS_01_8.VOB|VTS_01_9.VOB' -c copy $dest_path/Hi-8-to-DVD-via-Sharp.mpg
#ffmpeg -i VTS_01_1.VOB -i VTS_01_2.VOB -i VTS_01_3.VOB -i VTS_01_4.VOB -i VTS_01_5.VOB -i VTS_01_6.VOB -i VTS_01_7.VOB -i VTS_01_8.VOB -i VTS_01_9.VOB -c copy $dest_path/Hi-8-to-DVD-via-Sharp.mpg
#The commands above produce out-of-order errors due to timestamps starting at 0 at each file
#so see https://stackoverflow.com/questions/31691943/ffmpeg-concat-poduces-dts-out-of-order-errors:
``
The commands above produce out-of-order errors due to timestamps starting at 0 at each file
so see <https://stackoverflow.com/questions/31691943/ffmpeg-concat-poduces-dts-out-of-order-errors>:
```bash
#ffmpeg -i concat:'VTS_01_1.VOB|VTS_01_2.VOB|VTS_01_3.VOB|VTS_01_4.VOB|VTS_01_5.VOB|VTS_01_6.VOB|VTS_01_7.VOB|VTS_01_8.VOB|VTS_01_9.VOB' -c:v copy -c:a copy $dest_path/Hi-8-to-DVD-via-Sharp.mpg
dest_path=$HOME/Videos/OldFHC,The2017Repair/Media
@ -221,7 +369,7 @@ concat_list=concat.txt
cd /run/media/$USER
cd DVD*
cd VIDEO_TS
#NOTE: if extension is mpg, warning is shown: ac3 in MPEG-1 system streams is not widely supported, consider using the vob or the dvd muxer to force a MPEG-2 program stream.
#NOTE: if extension is mpg, warning is shown: ac3 in MPEG-1 system streams is not widely supported, consider using the vob or the dvd muxer to force a MPEG-2 program stream.
#echo "file `pwd`/VTS_01_1.VOB" > $dest_path/$concat_list
#echo "file `pwd`/VTS_01_2.VOB" >> $dest_path/$concat_list
#echo "file `pwd`/VTS_01_3.VOB" >> $dest_path/$concat_list
@ -267,6 +415,3 @@ ffmpeg -y -i $dest_path/$vid_name.VOB -codec:v copy -codec:a copy -f dvd $dest_p
#or see https://video.stackexchange.com/questions/3187/fix-timecode-in-merged-vobs:
#avconv -i $dest_path/$vid_name.VOB -vf 'setpts=PTS-STARTPTS' -c:a copy -c:v copy $dest_path/$vid_name-repaired-by-mencoder.vob
```
* Edit video:
* Split file i.e. ffmpeg -vcodec copy -ss 00:01:00 -t 00:03:00 -i infile.mpg outfile.mpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -0,0 +1,9 @@
Content-Type: text/blnk
Type:Application
Path:D:\Backup\Videos\Movies\Public Domain\Legend of Zelda, The- The Triforce Prophecy
NoDisplay:true
Terminal:false
Name:C:\Users\jgustafson\ownCloud\d.cs\RotoCanvas\ASPECTRATIO - 16-9 flag set by DVDPatcher - mpg
Encoding:UTF-8
Comment:File or folder shortcut generated by lnk-to-blnk
Exec:D:\Backup\Videos\Movies\Public Domain\Legend of Zelda, The- The Triforce Prophecy\The Legend of Zelda The Triforce Prophecy Movie Youtube Part 13.mpg

View File

@ -0,0 +1,9 @@
Content-Type: text/blnk
Type:Application
Path:D:\Backup\Videos\Movies\Public Domain\Legend of Zelda, The- The Triforce Prophecy
NoDisplay:true
Terminal:false
Name:C:\Users\jgustafson\ownCloud\d.cs\RotoCanvas\ASPECTRATIO - none - mpg
Encoding:UTF-8
Comment:File or folder shortcut generated by lnk-to-blnk
Exec:D:\Backup\Videos\Movies\Public Domain\Legend of Zelda, The- The Triforce Prophecy\The Legend of Zelda The Triforce Prophecy Movie Youtube Part 13 - NOASPECTRATIO.mpg

View File

@ -0,0 +1,75 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta name="keywords" content=" Drop frame/Non-drop frame, doom9,video,dvd,conversion,mpeg-2,mpeg-4,divx,xvid,avisynth" />
<meta name="description" content="[Archive] Drop frame/Non-drop frame Subtitles" />
<title> Drop frame/Non-drop frame [Archive] - Doom9's Forum</title>
<link rel="stylesheet" type="text/css" href="http://forum.doom9.org/archive/archive.css" />
</head>
<body>
<div class="pagebody">
<div id="navbar"><a href="http://forum.doom9.org/archive/index.php">Doom9's Forum</a> &gt; <a href="http://forum.doom9.org/archive/index.php/f-3.html">General</a> &gt; <a href="http://forum.doom9.org/archive/index.php/f-12.html">Subtitles</a> &gt; Drop frame/Non-drop frame</div>
<hr />
<div class="pda"><a href="http://forum.doom9.org/archive/index.php/t-73400.html?pda=1" rel="nofollow">PDA</a></div>
<p class="largefont">View Full Version : <a href="http://forum.doom9.org/showthread.php?t=73400">Drop frame/Non-drop frame</a></p>
<hr />
<div class="post"><div class="posttop"><div class="username">atropos</div><div class="date">27th March 2004, 01:09</div></div><div class="posttext">Could someone explain in more depth about drop frame/no drop frame subtitles and when and how to apply them correctly.<br />
<br />
Thanks,<br />
atropos</div></div><hr />
<div class="post"><div class="posttop"><div class="username">Jackinbox</div><div class="date">20th April 2004, 19:51</div></div><div class="posttext">I would love to know about this also. I have a DVD with subs not in sync, made from DVD-Lab Pro. They start out fine and gradually get worse and worse until the end of the film where they are off by about 5 secs or so. I believe this is &quot;Drop Frame&quot; related but I have no idea how to rectify this problem.</div></div><hr />
<div class="post"><div class="posttop"><div class="username">Dimmer</div><div class="date">20th April 2004, 20:43</div></div><div class="posttext">Originally posted by Jackinbox <br />
I would love to know about this also. I have a DVD with subs not in sync, made from DVD-Lab Pro. They start out fine and gradually get worse and worse until the end of the film where they are off by about 5 secs or so. I believe this is &quot;Drop Frame&quot; related but I have no idea how to rectify this problem.Well, I know how to fix the problem in general, not specifically in DVD-Lab. In whatever script used to store subtitle timestamps (sst, srt, ssa, and so on), you have to adjust the timing to make them run faster or slower by 0.1% (difference between 29.97fps and 30 fps) depending on whether the subtitles are early or late. However, it would be great if someone could give a proper scientific explanation regarding this issue.</div></div><hr />
<div class="post"><div class="posttop"><div class="username">McPoodle</div><div class="date">23rd April 2004, 00:49</div></div><div class="posttext">I can answer the original question, although I don't know much about DVDLab Pro and whatever subtitle format it uses (SubViewer 2?).<br />
<br />
NTSC video runs at a rate of 29.97 frames per second (the exact rate is 30 divided by 1.001, or 29.97002997002997002997002997...). The odd number was necessary so that old North American TV's would never run into the problem of a frame rate precisely in or out of sync with the frequency of the AC current (60 MHz), if I remember correctly.<br />
<br />
The early mechanical devices used to record videotape could not handle fractional framerates, so the solution was to run the clock at 30 frames per second (too fast), and then drop certain frames from the clock to &quot;catch up&quot;. The rule was to drop the first two frames of every minute that was not evenly divisible by 10 (so 00:05:59;29 would be followed by 00:06:00;02, but 00:19:59;29 would be followed by 00:20:00;00). This was called a &quot;drop-frame&quot; timebase. By the way, using that semicolon between the seconds and the frames is the general convention for drop-frame.<br />
<br />
Nowadays, electronic recording devices can easily handle fractional framerates, so &quot;nondrop-frame&quot; timebase is used when no frames are dropped.<br />
<br />
Timecodes are encoded into MPEG files, which is how they are indexed and how other assets, such as AC3 files and subtitles, are all lined up. The MPEG also includes a &quot;drop flag&quot;, to tell the world which timebase to use. If the assets all use the same timebase (either one), everything will be OK, but if for example the subtitle was timed an AVI file in nondrop-frame timebase and the AVI was then encoded to MPEG as drop-frame, the mismatch will cause the subtitles to drift (the subtitles would be too fast in this case; reversing the scenario would cause them to be too slow). It's possible to have an audio-video mismatch from the same cause.<br />
<br />
I looked at the webpage for DVDLab, and it appears that it includes a tool called &quot;MPEG Parse&quot; that will tell you the &quot;Drop flag&quot;, so you'll know what timebase the MPEG has (I believe it's safe to say that any subtitle is probably nondrop-frame by default). Also, I think the free version of Bitrate Viewer (http://www.tecoltd.com/bitratev.htm) will tell you the timebase.<br />
<br />
You have a number of options to fix this problem. Some subtitle formats (but not SubViewer 2) allow you to state at the top of the file if the timecodes are drop-frame or nondrop-frame. Some DVD authoring programs have an option to ignore timebase or something like that (Maestro's option is rather cryptic). The Pulldown program includes the option to change the drop flag of an MPEG file (I believe the options would be &quot;-nopulldown -dropframe true&quot; [or false]), but then you might run into trouble syncronizing with the audio (and I don't know how to change the timebase for audio files). Perhaps Dimmer's 0.1% slowdown/speedup of the subtitle file is the best solution.</div></div><hr />
<div class="post"><div class="posttop"><div class="username">scharfis_brain</div><div class="date">23rd April 2004, 01:10</div></div><div class="posttext">McPoodle: where can I find more about this NTSC phenomenon?<br />
(frame-drop timabase etc.)</div></div><hr />
<div class="post"><div class="posttop"><div class="username">McPoodle</div><div class="date">24th April 2004, 06:26</div></div><div class="posttext">I got my understanding of drop vs non-drop from Doom9 member SomeJoe. Looking for more formal documentation, I came across two good links:<br />
<br />
<br />
http://www.edlmax.com/NTSC3.html is good at describing the historical reason why the NTSC framerate is 29.97002997002997... (or 30 divided by 1.001).<br />
http://www.ledet.com/coolstuff/software/premiere/timecode.pdf describes how drop-frame and non-drop-frame works in a much clearer fashion than I did.<br />
<br />
<br />
What that second link taught me is that I got my rationale for drop-frame and non-drop-frame wrong: drop-frame doesn't exist because of equipment that couldn't count 29.97 frames per second, but because of the obvious fact that frames are displayed as integers: 00:00:01;00 (or 00:00:01:00) is not 30 frames, but actually 29.97 frames. Non-drop-frame increments the seconds counter every 30 frames, which means it will gradually drift away from the true time, so that a non-drop-frame timecode of 01:00:03:18 represents exactly one hour of real time (108 frames fast). Drop-frame timebase, by dropping those frames every minute but the tenth, results in a clock that drifts back and forth, but on average is accurate (at most 1.8 frames off of real time at any instant)--01:00:00;00 is exactly one hour of real time in drop-frame timebase.<br />
<br />
For programming, the key I discovered for converting drop-frame to a framecount was to split the number of minutes into &quot;single minutes&quot; and &quot;tens of minutes&quot;. To convert an NTSC timecode into an accurate framecount, follow these rules:<br />
<br />
[list=1]<br />
Each hour is 108000 non-drop frames (30 * 60 * 60) or 107892 drop frames (drop 108 frames). In real time, each hour is 107892.108 frames.<br />
Each &quot;deci-minute&quot; is 18000 non-drop frames (30 * 60 * 10) or 17982 drop frames (drop 18 frames, or 2 frames for nine out of every ten minutes). In real time, 10 minutes is 17982.018 frames.<br />
Each &quot;single-minute&quot; is 1800 non-drop frames (30 * 60) or 1798 drop frames (drop 2 frames for every minute, or 0 frames when multiplying by 0). In real time, a minute is 1798.202 frames.<br />
Each second is 30 frames (both timebases), or 29.970 frames real-time.<br />
[/list=1]<br />
<br />
For example, 02:34:17:12 (non-drop-frame) is 277722 frames, while 02:34:17;12 (drop-frame) is 277444 frames (in real time, 2 hours 34 minutes and 17 seconds, plus 12 frames, is 277444.567 frames). Running the calculation in reverse, 02:34:17:12 in non-drop-frame is the same framecount as 02:34:26;20 in drop-frame (or 2 hours 34 minutes 26 seconds and 19.702 frames real-time).</div></div><hr />
<div id="copyright">vBulletin&reg; v3.8.2, Copyright &copy;2000-2009, Jelsoft Enterprises Ltd.</div>
</div>
</body>
</html>

View File

@ -0,0 +1,8 @@
Content-Type: text/blnk
Type:Application
NoDisplay:true
Terminal:false
Name:Phase Correlation - Implementation Example by nashruddin (requires opencv)
Encoding:UTF-8
Comment:
Exec:/home/owner/ownCloud/d.cs/RotoCanvas/Phase_Correlation.zip

View File

@ -0,0 +1,7 @@
[Desktop Entry]
Version=1.0
Type=Link
Name=Phase correlation - Wikipedia
Comment=
Icon=user-bookmarks
URL=https://en.wikipedia.org/wiki/Phase_correlation

Binary file not shown.

View File

@ -0,0 +1,9 @@
Content-Type: text/blnk
Type:Application
Path:E:\Documents\Graphics
NoDisplay:true
Terminal:false
Name:C:\Users\jgustafson\ownCloud\d.cs\RotoCanvas\dragonfly - overcompressed JPEG (www.drtandem.com web-images-2-aug-2003.htm).jpg
Encoding:UTF-8
Comment:File or folder shortcut generated by lnk-to-blnk
Exec:E:\Documents\Graphics\dragonfly - overcompressed JPEG (www.drtandem.com web-images-2-aug-2003.htm).jpg

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 537 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 113 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 314 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1023 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 161 B

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 110 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 604 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1000 B

View File

@ -0,0 +1,11 @@
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.8.1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2009 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
var tag_add_comp;if(fetch_object("tag_edit_link")){YAHOO.util.Event.on(fetch_object("tag_edit_link"),"click",tag_edit_click)}function tag_edit_click(A){YAHOO.util.Event.stopEvent(A);if(!this.tag_editor){this.tag_editor=new vB_AJAX_TagThread("tag_list_cell",this.id)}this.tag_editor.fetch_form()}function vB_AJAX_TagThread(B,C){this.edit_form="tag_edit_form";this.edit_cancel="tag_edit_cancel";this.form_progress="tag_form_progress";this.submit_progress="tag_edit_progress";this.form_visible=false;this.do_ajax_submit=true;this.tag_container=B;var A=fetch_object(C).href.match(/(\?|&)t=([0-9]+)/);this.threadid=A[2]}vB_AJAX_TagThread.prototype.fetch_form=function(){if(!this.form_visible){YAHOO.util.Connect.asyncRequest("POST","threadtag.php?t="+this.threadid,{success:this.handle_ajax_form,failure:this.handle_ajax_form_error,timeout:vB_Default_Timeout,scope:this},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&t="+this.threadid+"&ajax=1");if(fetch_object(this.form_progress)){fetch_object(this.form_progress).style.display=""}}};vB_AJAX_TagThread.prototype.handle_ajax_form=function(C){if(C.responseXML&&!this.form_visible){var B=C.responseXML.getElementsByTagName("error");if(B.length){alert(B[0].firstChild.nodeValue)}else{if(C.responseXML.getElementsByTagName("html")[0]){var A=fetch_object(this.tag_container);A.origInnerHTML=A.innerHTML;A.innerHTML=C.responseXML.getElementsByTagName("html")[0].firstChild.nodeValue;YAHOO.util.Event.on(this.edit_form,"submit",this.submit_tag_edit,this,true);YAHOO.util.Event.on(this.edit_cancel,"click",this.cancel_tag_edit,this,true);if(fetch_object("tag_add_wrapper_menu")&&fetch_object("tag_add_input")){vbmenu_register("tag_add_wrapper",true);tag_add_comp=new vB_AJAX_TagSuggest("tag_add_comp","tag_add_input","tag_add_wrapper");tag_add_comp.allow_multiple=true;var D=C.responseXML.getElementsByTagName("delimiters")[0];if(D&&D.firstChild){tag_add_comp.set_delimiters(D.firstChild.nodeValue)}fetch_object("tag_add_input").focus();fetch_object("tag_add_input").focus()}this.form_visible=true}}}if(fetch_object(this.form_progress)){fetch_object(this.form_progress).style.display="none"}};vB_AJAX_TagThread.prototype.handle_ajax_form_error=function(A){vBulletin_AJAX_Error_Handler(A);window.location="threadtag.php?"+SESSIONURL+"t="+this.threadid};vB_AJAX_TagThread.prototype.submit_tag_edit=function(B){if(this.do_ajax_submit){YAHOO.util.Event.stopEvent(B);var A=new vB_Hidden_Form(null);A.add_variables_from_object(fetch_object(this.edit_form));YAHOO.util.Connect.asyncRequest("POST","threadtag.php?do=managetags&t="+this.threadid,{success:this.handle_ajax_submit,failure:this.handle_ajax_submit_error,timeout:vB_Default_Timeout,scope:this},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=managetags&ajax=1&"+A.build_query_string());if(fetch_object(this.submit_progress)){fetch_object(this.submit_progress).style.display=""}}};vB_AJAX_TagThread.prototype.handle_ajax_submit=function(C){if(C.responseXML){var A=C.responseXML.getElementsByTagName("error");if(A.length){alert(A[0].firstChild.nodeValue)}else{var D=C.responseXML.getElementsByTagName("taghtml");if(D.length&&D[0].firstChild&&D[0].firstChild.nodeValue!==""){fetch_object(this.tag_container).innerHTML=D[0].firstChild.nodeValue}var B=C.responseXML.getElementsByTagName("warning");if(B.length&&B[0].firstChild){alert(B[0].firstChild.nodeValue)}this.form_visible=false}}if(fetch_object(this.submit_progress)){fetch_object(this.submit_progress).style.display="none"}};vB_AJAX_TagThread.prototype.handle_ajax_submit_error=function(A){vBulletin_AJAX_Error_Handler(A);this.do_ajax_submit=false;fetch_object(this.edit_form).submit()};vB_AJAX_TagThread.prototype.cancel_tag_edit=function(){var A=fetch_object(this.tag_container);if(A.origInnerHTML){A.innerHTML=A.origInnerHTML;A.origInnerHTML=""}if(fetch_object(this.form_progress)){fetch_object(this.form_progress).style.display="none"}this.form_visible=false};

View File

@ -0,0 +1,11 @@
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.8.1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2009 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
function vB_AJAX_TagSuggest(C,A,D){var B=userAgent.match(/applewebkit\/([0-9]+)/);if(AJAX_Compatible&&!(is_saf&&!(B[1]>=412))){this.menuobj=fetch_object(D+"_menu");this.textobj=fetch_object(A);this.textobj.setAttribute("autocomplete","off");this.textobj.onfocus=function(E){this.obj.active=true};this.textobj.onblur=function(E){this.obj.active=false};this.textobj.obj=this;this.varname=C;this.menukey=D;this.fragment="";this.donetags="";this.delimiters=new Array(",");this.selected=0;this.menuopen=false;this.timeout=null;this.tags=new Array();this.active=false;this.ajax_req=null;this.allow_multiple=false;this.min_chars=3;this.set_delimiters=function(G){this.delimiters=new Array(",");if(G){var E,F;if(E=PHP.match_all(G,"{([^}]*)}")){for(F=0;F<E.length;F++){if(E[F][1]!==""){this.delimiters.push(E[F][1])}G=G.replace(E[F][0],"")}}E=G.split(" ");for(F=0;F<E.length;F++){if(E[F]!==""){this.delimiters.push(E[F])}}}};this.get_text=function(){if(this.allow_multiple){var F=-1,G;for(var E=0;E<this.delimiters.length;E++){if(this.textobj.value.lastIndexOf(this.delimiters[E])>F){F=this.textobj.value.lastIndexOf(this.delimiters[E]);G=this.delimiters[E].length}}if(F==-1){this.donetags=new String("");this.fragment=new String(this.textobj.value)}else{this.donetags=new String(this.textobj.value.substring(0,F+G));this.fragment=new String(this.textobj.value.substring(F+G))}}else{this.fragment=new String(this.textobj.value)}this.fragment=PHP.trim(this.fragment)};this.set_text=function(F){if(this.allow_multiple){var E=(this.donetags.substr(this.donetags.length-1)==" "?"":" ");this.textobj.value=PHP.ltrim(this.donetags+E+PHP.unhtmlspecialchars(this.tags[F])+", ")}else{this.textobj.value=PHP.unhtmlspecialchars(this.tags[F])}this.textobj.focus();this.menu_hide();return false};this.move_row_selection=function(E){var F=parseInt(this.selected,10)+parseInt(E,10);if(F<0){F=this.tags.length-1}else{if(F>=this.tags.length){F=0}}this.set_row_selection(F);return false};this.set_row_selection=function(E){var F=fetch_tags(this.menuobj,"td");F[this.selected].className="vbmenu_option";this.selected=E;F[this.selected].className="vbmenu_hilite"};this.key_event_handler=function(E){E=E?E:window.event;if(this.menuopen){switch(E.keyCode){case 38:this.move_row_selection(-1);return false;case 40:this.move_row_selection(1);return false;case 27:this.menu_hide();return false;case 13:this.set_text(this.selected);return false}}this.get_text();if(this.fragment.length>=this.min_chars){clearTimeout(this.timeout);this.timeout=setTimeout(this.varname+".tag_search();",500)}else{this.menu_hide()}};this.tag_search=function(){if(this.active){this.tags=new Array();this.ajax_req=YAHOO.util.Connect.asyncRequest("POST","ajax.php?do=tagsearch",{success:this.handle_ajax_response,failure:vBulletin_AJAX_Error_Handler,timeout:vB_Default_Timeout,scope:this},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&do=tagsearch&fragment="+PHP.urlencode(this.fragment))}};this.handle_ajax_response=function(H){if(H.responseXML){var G=this.textobj;do{if(G.style.display=="none"){this.menu_hide();return }}while((G=G.parentNode)!=null&&G.style);var E=H.responseXML.getElementsByTagName("tag");if(E.length){for(var F=0;F<E.length;F++){this.tags[F]=E[F].firstChild.nodeValue}}if(this.tags.length){this.menu_build();this.menu_show()}else{this.menu_hide()}}};this.menu_build=function(){this.menu_empty();var F=new RegExp("^("+PHP.preg_quote(this.fragment)+")","i");var G=document.createElement("table");G.cellPadding=4;G.cellSpacing=1;G.border=0;for(var E in this.tags){if(YAHOO.lang.hasOwnProperty(this.tags,E)){var H=G.insertRow(-1).insertCell(-1);H.className=(E==this.selected?"vbmenu_hilite":"vbmenu_option");H.title="nohilite";H.innerHTML='<a onclick="return '+this.varname+".set_text("+E+')">'+this.tags[E].replace(F,"<strong>$1</strong>")+"</a>"}}this.menuobj.appendChild(G);if(this.vbmenu==null){if(typeof (vBmenu.menus[this.menukey])!="undefined"){this.vbmenu=vBmenu.menus[this.menukey]}else{this.vbmenu=vBmenu.register(this.menukey,true)}}else{this.vbmenu.init_menu_contents()}};this.menu_empty=function(){this.selected=0;while(this.menuobj.firstChild){this.menuobj.removeChild(this.menuobj.firstChild)}};this.menu_show=function(){if(this.active&&fetch_object(this.menukey)){this.vbmenu.show(fetch_object(this.menukey),this.menuopen);this.menuopen=true}};this.menu_hide=function(){try{this.vbmenu.hide()}catch(E){}this.menuopen=false};this.textobj.onkeyup=function(E){return this.obj.key_event_handler(E)};this.textobj.onkeypress=function(E){E=E?E:window.event;if(E.keyCode==13){return(this.obj.menuopen?false:true)}}}else{this.set_delimiters=function(E){}}};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,62 @@
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.8.1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2009 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/* Definitions we expect */
form {
margin: 0px;
}
label {
cursor: default;
}
.normal {
font-weight: normal;
}
.inlineimg {
vertical-align: middle;
}
.underline {
text-decoration: underline;
}
.vbmenu_hilite * {
cursor: pointer;
}
/* Auto-clearing of floats */
.floatcontainer:after, .block_row:after {
content: ".";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.floatcontainer, .block_row {
display: inline-block;
}
/* IE-Mac hide \*/
* html .floatcontainer, * html .block_row {
height: 1%;
}
.floatcontainer, .block_row {
display: block;
}
/* End IE-Mac hide */
/*======================================================================*\
|| ####################################################################
|| # Downloaded: 11:19, Mon Feb 16th 2009
|| # CVS: $RCSfile$ - $Revision: 15827 $
|| ####################################################################
\*======================================================================*/

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,11 @@
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 3.8.1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2009 Jelsoft Enterprises Ltd. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
function display_post(A){if(AJAX_Compatible){vB_PostLoader[A]=new vB_AJAX_PostLoader(A);vB_PostLoader[A].init()}else{pc_obj=fetch_object("postcount"+this.postid);openWindow("showpost.php?"+(SESSIONURL?"s="+SESSIONURL:"")+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):"")+"&p="+A)}return false}var vB_PostLoader=new Array();function vB_AJAX_PostLoader(A){this.postid=A;this.container=fetch_object("edit"+this.postid)}vB_AJAX_PostLoader.prototype.init=function(){if(this.container){postid=this.postid;pc_obj=fetch_object("postcount"+this.postid);YAHOO.util.Connect.asyncRequest("POST","showpost.php?p="+this.postid,{success:this.display,failure:this.handle_ajax_error,timeout:vB_Default_Timeout,scope:this},SESSIONURL+"securitytoken="+SECURITYTOKEN+"&ajax=1&postid="+this.postid+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):""))}};vB_AJAX_PostLoader.prototype.handle_ajax_error=function(A){vBulletin_AJAX_Error_Handler(A)};vB_AJAX_PostLoader.prototype.display=function(A){if(A.responseXML){var B=A.responseXML.getElementsByTagName("postbit");if(B.length){this.container.innerHTML=B[0].firstChild.nodeValue;PostBit_Init(fetch_object("post"+this.postid),this.postid)}else{openWindow("showpost.php?"+(SESSIONURL?"s="+SESSIONURL:"")+(pc_obj!=null?"&postcount="+PHP.urlencode(pc_obj.name):"")+"&p="+this.postid)}}};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,25 @@
/* Copyright 2007-8 Google. */ (function() {
var f=true,g=null,l=false,n,p=this,q="object",aa="[object Array]",s="number",ba="splice",t="array",ca="[object Function]",da="call",u="function",w="null",ea=function(a){var b=typeof a;if(b==q)if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==aa||typeof a.length==s&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable(ba))return t;if(!(a instanceof Object)&&(Object.prototype.toString.call(a)==ca||typeof a.call!="undefined"&&
typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable(da)))return u}else return w;else if(b==u&&typeof a.call=="undefined")return q;return b},x=function(a){return ea(a)==t},y=function(a){var b=ea(a);return b==t||b==q&&typeof a.length==s},fa="string",z=function(a){return typeof a==fa};Math.floor(Math.random()*2147483648).toString(36);var ga=function(a,b){if(a.contains)return a.contains(b);var c;a:if(a.indexOf)c=a.indexOf(b,undefined);else if(Array.indexOf)c=Array.indexOf(a,b,undefined);else{for(var d=0;d<a.length;d++)if(d in a&&a[d]===b){c=d;break a}c=-1}return c>-1},ha=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(y(c)){if(x(c))c=c.concat();else if(x(c))c=c.concat();else{for(var d=[],e=0,h=c.length;e<h;e++)d[e]=c[e];c=d}a.push.apply(a,c)}else a.push(c)}};var ia=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},ja=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};var A="",ka=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,A)},la=/^[a-zA-Z0-9\-_.!~*'()]*$/,B=function(a){a=String(a);if(!la.test(a))return encodeURIComponent(a);return a},C=function(a,b){return a.indexOf(b)!=-1},D=".",ma="(\\d*)(\\D*)",na="g",oa=function(a,b){for(var c=0,d=ka(String(a)).split(D),e=ka(String(b)).split(D),h=Math.max(d.length,e.length),i=0;c==0&&i<h;i++){var j=d[i]||A,k=e[i]||A,m=new RegExp(ma,na),o=new RegExp(ma,na);do{var r=m.exec(j)||[A,A,A],v=o.exec(k)||[A,A,A];if(r[0].length==
0&&v[0].length==0)break;var U=r[1].length==0?0:parseInt(r[1],10),V=v[1].length==0?0:parseInt(v[1],10);c=E(U,V)||E(r[2].length==0,v[2].length==0)||E(r[2],v[2])}while(c==0)}return c},E=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};(Date.now||function(){return(new Date).getTime()})();var F,G,H,pa,I,qa,ra,sa,ta,ua,J=function(){return p.navigator?p.navigator.userAgent:g},K=function(){return p.navigator},va="Opera",wa="MSIE",xa="WebKit",ya="Mobile",za="Gecko",Aa="Camino";(function(){qa=I=pa=H=G=F=l;var a;if(a=J()){var b=K();F=a.indexOf(va)==0;G=!F&&a.indexOf(wa)!=-1;pa=(H=!F&&a.indexOf(xa)!=-1)&&a.indexOf(ya)!=-1;qa=(I=!F&&!H&&b.product==za)&&b.vendor==Aa}})();var Ba=F,Ca=G,Da=I,L=H,Ea=function(){var a=K();return a&&a.platform||A}(),Fa="Mac",Ga="Win",Ha="Linux",Ia="X11";
(function(){ra=C(Ea,Fa);sa=C(Ea,Ga);ta=C(Ea,Ha);ua=!!K()&&C(K().appVersion||A,Ia)})();var Ja=function(){var a=A,b;if(Ba&&p.opera){var c=p.opera.version;a=typeof c==u?c():c}else{if(Da)b=/rv\:([^\);]+)(\)|;)/;else if(Ca)b=/MSIE\s+([^\);]+)(\)|;)/;else if(L)b=/WebKit\/(\S+)/;if(b){var d=b.exec(J());a=d?d[1]:A}}return a}(),Ka={},La=function(a){return Ka[a]||(Ka[a]=oa(Ja,a)>=0)};var Ma="*",Na="CSS1Compat",Oa="528",Pa=" ",Qa=function(a,b,c){var d;a:{var e=c||document,h=a&&a!=Ma?a.toLowerCase():A;if(e.querySelectorAll&&(h||b)&&(!L||document.compatMode==Na||La(Oa)))d=e.querySelectorAll(h+(b?D+b:A));else{if(b&&e.getElementsByClassName){var i=e.getElementsByClassName(b);if(h){for(var j={},k=0,m=0,o;o=i[m];m++)if(h==o.nodeName.toLowerCase())j[k++]=o;j.length=k;d=j;break a}else{d=i;break a}}i=e.getElementsByTagName(h||Ma);if(b){j={};for(m=k=0;o=i[m];m++){var r=o.className;if(typeof r.split==
u&&ga(r.split(Pa),b))j[k++]=o}j.length=k;d=j}else d=i}}return d};L&&La("522");var M=function(){};M.prototype.T=function(a){var b=[];this.F(a,b);return b.join(A)};var Ra="boolean";M.prototype.F=function(a,b){switch(typeof a){case fa:this.O(a,b);break;case s:this.V(a,b);break;case Ra:b.push(a);break;case "undefined":b.push(w);break;case q:if(a==g){b.push(w);break}if(x(a)){this.U(a,b);break}this.W(a,b);break;case u:break;default:throw Error("Unknown type: "+typeof a);}};
var Sa={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},Ta=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g,Ua='"',Va="\\u",Wa="000",Xa="00",Ya="0";M.prototype.O=function(a,b){b.push(Ua,a.replace(Ta,function(c){if(c in Sa)return Sa[c];var d=c.charCodeAt(0),e=Va;if(d<16)e+=Wa;else if(d<256)e+=Xa;else if(d<4096)e+=Ya;return Sa[c]=e+d.toString(16)}),Ua)};
M.prototype.V=function(a,b){b.push(isFinite(a)&&!isNaN(a)?a:w)};var Za="[",$a=",",ab="]";M.prototype.U=function(a,b){var c=a.length;b.push(Za);for(var d=A,e=0;e<c;e++){b.push(d);this.F(a[e],b);d=$a}b.push(ab)};var bb="{",cb=":",db="}";M.prototype.W=function(a,b){b.push(bb);var c=A;for(var d in a)if(a.hasOwnProperty(d)){var e=a[d];if(typeof e!=u){b.push(c);this.O(d,b);b.push(cb);this.F(e,b);c=$a}}b.push(db)};var eb,fb,gb,hb,ib,jb,kb="Firefox",lb="iPhone",mb="iPod",nb="Android",ob="Chrome",pb="Safari";(function(){jb=ib=hb=gb=fb=eb=l;var a=J();if(a)if(a.indexOf(kb)!=-1)eb=f;else if(a.indexOf(Aa)!=-1)fb=f;else if(a.indexOf(lb)!=-1||a.indexOf(mb)!=-1)gb=f;else if(a.indexOf(nb)!=-1)hb=f;else if(a.indexOf(ob)!=-1)ib=f;else if(a.indexOf(pb)!=-1)jb=f})();Da&&La("1.9");if("StopIteration"in p)var qb=p.StopIteration;else qb=Error("StopIteration");var rb=function(){};rb.prototype.S=function(){throw qb;};rb.prototype.P=function(){return this};var sb=function(a){if(typeof a.o==u)return a.o();if(z(a))return a.split(A);if(y(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ia(a)},tb=function(a){if(typeof a.q==u)return a.q();if(typeof a.o==u)return undefined;if(y(a)||z(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return ja(a)},ub=function(a,b,c){if(typeof a.forEach==u)a.forEach(b,c);else if(y(a)||z(a))if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=z(a)?a.split(A):
a,h=0;h<d;h++)h in e&&b.call(c,e[h],h,a);else for(var i=tb(a),j=sb(a),k=j.length,m=0;m<k;m++)b.call(c,j[m],i&&i[m],a)};var N=function(a){this.f={};this.b=[];var b=arguments.length;if(b>1){if(b%2)throw Error("Uneven number of arguments");for(var c=0;c<b;c+=2)this.p(arguments[c],arguments[c+1])}else a&&this.Q(a)};n=N.prototype;n.c=0;n.C=0;n.o=function(){this.A();for(var a=[],b=0;b<this.b.length;b++)a.push(this.f[this.b[b]]);return a};n.q=function(){this.A();return this.b.concat()};n.l=function(a){return O(this.f,a)};
n.remove=function(a){if(O(this.f,a)){delete this.f[a];this.c--;this.C++;this.b.length>2*this.c&&this.A();return f}return l};n.A=function(){if(this.c!=this.b.length){for(var a=0,b=0;a<this.b.length;){var c=this.b[a];if(O(this.f,c))this.b[b++]=c;a++}this.b.length=b}if(this.c!=this.b.length){var d={};for(b=a=0;a<this.b.length;){c=this.b[a];if(!O(d,c)){this.b[b++]=c;d[c]=1}a++}this.b.length=b}};n.m=function(a,b){if(O(this.f,a))return this.f[a];return b};
n.p=function(a,b){if(!O(this.f,a)){this.c++;this.b.push(a);this.C++}this.f[a]=b};n.Q=function(a){var b,c;if(a instanceof N){b=a.q();c=a.o()}else{b=ja(a);c=ia(a)}for(var d=0;d<b.length;d++)this.p(b[d],c[d])};n.t=function(){return new N(this)};n.P=function(a){this.A();var b=0,c=this.b,d=this.f,e=this.C,h=this,i=new rb;i.S=function(){for(;1;){if(e!=h.C)throw Error("The map has changed since the iterator was created");if(b>=c.length)throw qb;var j=c[b++];return a?j:d[j]}};return i};
var O=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var vb=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,wb=function(a){return a.match(vb)};var P=function(a,b){var c;if(a instanceof P){this.s(b==g?a.e:b);this.L(a.k);this.M(a.z);this.G(a.u);this.J(a.r);this.I(a.w);this.K(a.g.t());this.H(a.v)}else if(a&&(c=wb(String(a)))){this.s(!!b);this.L(c[1]||A,f);this.M(c[2]||A,f);this.G(c[3]||A,f);this.J(c[4]);this.I(c[5]||A,f);this.Y(c[6]||A,f);this.H(c[7]||A,f)}else{this.s(!!b);this.g=new Q(g,this,this.e)}};n=P.prototype;n.k=A;n.z=A;n.u=A;n.r=g;n.w=A;n.v=A;n.R=l;n.e=l;var xb="//",yb="@",zb="?",Ab="#";
n.toString=function(){if(this.d)return this.d;var a=[];this.k&&a.push(R(this.k,Bb),cb);if(this.u){a.push(xb);this.z&&a.push(R(this.z,Bb),yb);a.push(Cb(this.u));this.r!=g&&a.push(cb,String(this.r))}this.w&&a.push(R(this.w,Db));var b=String(this.g);b&&a.push(zb,b);this.v&&a.push(Ab,R(this.v,Eb));return this.d=a.join(A)};
n.t=function(){var a,b=this.k,c=this.z,d=this.u,e=this.r,h=this.w,i=this.g.t(),j=this.v,k=new P(g,this.e);b&&k.L(b);c&&k.M(c);d&&k.G(d);e&&k.J(e);h&&k.I(h);i&&k.K(i);j&&k.H(j);return a=k};n.L=function(a,b){this.i();delete this.d;if(this.k=b?a?decodeURIComponent(a):A:a)this.k=this.k.replace(/:$/,A);return this};n.M=function(a,b){this.i();delete this.d;this.z=b?a?decodeURIComponent(a):A:a;return this};n.G=function(a,b){this.i();delete this.d;this.u=b?a?decodeURIComponent(a):A:a;return this};
n.J=function(a){this.i();delete this.d;if(a){a=Number(a);if(isNaN(a)||a<0)throw Error("Bad port number "+a);this.r=a}else this.r=g;return this};n.I=function(a,b){this.i();delete this.d;this.w=b?a?decodeURIComponent(a):A:a;return this};n.K=function(a,b){this.i();delete this.d;if(a instanceof Q){this.g=a;this.g.N=this;this.g.s(this.e)}else{b||(a=R(a,Fb));this.g=new Q(a,this,this.e)}return this};n.Y=function(a,b){return this.K(a,b)};n.X=function(a,b){this.i();delete this.d;this.g.p(a,b);return this};
n.H=function(a,b){this.i();delete this.d;this.v=b?a?decodeURIComponent(a):A:a;return this};n.i=function(){if(this.R)throw Error("Tried to modify a read-only Uri");};n.s=function(a){this.e=a;this.g&&this.g.s(a)};
var Cb=function(a){if(z(a))return encodeURIComponent(a);return g},Gb=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,R=function(a,b){var c=g;if(z(a)){c=a;Gb.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,Hb)}return c},Ib="%",Hb=function(a){var b=a.charCodeAt(0);return Ib+(b>>4&15).toString(16)+(b&15).toString(16)},Bb=/[#\/\?@]/g,Db=/[\#\?]/g,Fb=/[\#\?@]/g,Eb=/#/g,Q=function(a,b,c){this.h=a||g;this.N=b||g;this.e=!!c};n=Q.prototype;var Jb="&",S="=";
n.j=function(){if(!this.a){this.a=new N;if(this.h)for(var a=this.h.split(Jb),b=0;b<a.length;b++){var c=a[b].indexOf(S),d=g,e=g;if(c>=0){d=a[b].substring(0,c);e=a[b].substring(c+1)}else d=a[b];d=decodeURIComponent(d.replace(/\+/g,Pa));d=this.n(d);this.add(d,e?decodeURIComponent(e.replace(/\+/g,Pa)):A)}}};n.a=g;n.c=g;n.add=function(a,b){this.j();this.B();a=this.n(a);if(this.l(a)){var c=this.a.m(a);x(c)?c.push(b):this.a.p(a,[c,b])}else this.a.p(a,b);this.c++;return this};
n.remove=function(a){this.j();a=this.n(a);if(this.a.l(a)){this.B();var b=this.a.m(a);if(x(b))this.c-=b.length;else this.c--;return this.a.remove(a)}return l};n.l=function(a){this.j();a=this.n(a);return this.a.l(a)};n.q=function(){this.j();for(var a=this.a.o(),b=this.a.q(),c=[],d=0;d<b.length;d++){var e=a[d];if(x(e))for(var h=0;h<e.length;h++)c.push(b[d]);else c.push(b[d])}return c};
n.o=function(a){this.j();var b;if(a){var c=this.n(a);if(this.l(c)){var d=this.a.m(c);if(x(d))return d;else{b=[];b.push(d)}}else b=[]}else{var e=this.a.o();b=[];for(var h=0;h<e.length;h++){var i=e[h];x(i)?ha(b,i):b.push(i)}}return b};n.p=function(a,b){this.j();this.B();a=this.n(a);if(this.l(a)){var c=this.a.m(a);if(x(c))this.c-=c.length;else this.c--}this.a.p(a,b);this.c++;return this};n.m=function(a,b){this.j();a=this.n(a);if(this.l(a)){var c=this.a.m(a);return x(c)?c[0]:c}else return b};
n.toString=function(){if(this.h)return this.h;if(!this.a)return A;for(var a=[],b=0,c=this.a.q(),d=0;d<c.length;d++){var e=c[d],h=B(e),i=this.a.m(e);if(x(i))for(var j=0;j<i.length;j++){b>0&&a.push(Jb);a.push(h,S,B(i[j]));b++}else{b>0&&a.push(Jb);a.push(h,S,B(i));b++}}return this.h=a.join(A)};n.B=function(){delete this.D;delete this.h;this.N&&delete this.N.d};n.t=function(){var a=new Q;if(this.D)a.D=this.D;if(this.h)a.h=this.h;if(this.a)a.a=this.a.t();return a};
n.n=function(a){var b=String(a);if(this.e)b=b.toLowerCase();return b};n.s=function(a){if(a&&!this.e){this.j();this.B();ub(this.a,function(b,c){var d=c.toLowerCase();if(c!=d){this.remove(c);this.add(d,b)}},this)}this.e=a};var Kb="inherit",Lb="transparent",Mb="rgba(0, 0, 0, 0)",Nb=function(a,b,c){var d;a:{var e=b.nodeType==9?b:b.ownerDocument||b.document;if(e.defaultView&&e.defaultView.getComputedStyle){var h=e.defaultView.getComputedStyle(b,A);if(h){d=h[a];break a}}d=g}var i=d||(b.currentStyle?b.currentStyle[a]:g)||b.style[a];if(i==g||i==Kb||i==Lb||i==Mb){if(b==(b.nodeType==9?b:b.ownerDocument||b.document).body||!b.parentNode)return c;return T(a,b.parentNode)}return i},Ob="rgb(0, 0, 0)",T=function(a,b){return Nb(a,
b,Ob)};var Pb=/\s*;\s*/;var Qb;var W=-1,Rb=-1,Sb="fcauth",Tb=function(a){if(W==a&&W!=-1){var b;if(Qb!=g)b=Qb;else b:{for(var c=Sb+Rb+S,d=String(document.cookie).split(Pb),e=0,h;h=d[e];e++)if(h.indexOf(c)==0){b=h.substr(c.length);break b}b=g}return b}else{W=-1;return g}};var Ub="iframe",Vb="blogger-comment-from-post",X="-src",Wb="blogspotRpcToken",Xb="comment-editor",Yb="fcViewer",Zb="blogger-iframe-colorize",$b="color",ac="backgroundColor",bc="fontFamily",cc="serif",dc="http://www.blogger.com/unvisited-link-",ec=function(a,b){Rb=b;W=Math.floor(Math.random()*10000000);for(var c=Qa(Ub,Vb),d=0;d<c.length;d++){var e=z(c[d].id+X)?document.getElementById(c[d].id+X):c[d].id+X,h=new P(e.href);e.href=h.X(Wb,W).toString()}gadgets.rpc.setRelayUrl(Xb,a);gadgets.rpc.register(Yb,
Tb);for(var i=Qa(Ub,Zb),j=0;j<i.length;j++){var k=i[j],m=z(k.id+X)?document.getElementById(k.id+X):k.id+X,o=m.href,r=T($b,k),v=T(ac,k),U=Nb(bc,k,cc);m.href=dc+(new Date).valueOf();var V=T($b,m);m.href=o;o+=Ab+encodeURIComponent((new M).T({color:r,backgroundColor:v,unvisitedLinkColor:V,fontFamily:U}));k.src=o}},Y="BLOG_CMT_createIframe".split(D),Z=p;!(Y[0]in Z)&&Z.execScript&&Z.execScript("var "+Y[0]);for(var $;Y.length&&($=Y.shift());)if(!Y.length&&ec!==undefined)Z[$]=ec;else Z=Z[$]?Z[$]:(Z[$]={});
})()

View File

@ -0,0 +1,377 @@
function w_a(a){throw a;}var w_b=true,w_c=null,w_d=false;window.jstiming&&window.jstiming.load.tick("widgetJsStart");function w_aa(){window.jstiming.load.tick("ol")}function w_ba(a,b){a.addEventListener?a.addEventListener("load",b,w_d):a.attachEvent("onload",b)}function w_ca(a,b){return a.className&&a.className.indexOf(b)!=-1?a:a.parentNode?w_ca(a.parentNode,b):w_c}function w_da(){window.jstiming.load.tick("prt");window.tickAboveFold&&window.tickAboveFold(this)}
function w_ea(a){window.jstiming.load.tick("widgetJsEnd");window.jstiming.load.tick("prt");var b=a+"blogspot";window.jstiming.load.name=b;for(var c=document.getElementsByTagName("img"),d=0;d<c.length;d++)c[d].complete||w_ca(c[d],"post")!=w_c&&w_ba(c[d],w_da);w_ba(window,w_aa);window.addEventListener?window.addEventListener("beforeunload",w_fa,w_d):window.attachEvent("onbeforeunload",w_fa)}function w_fa(){window.jstiming.report(window.jstiming.load)}var _attachCsiOnload=w_ea;var w_ga=w_d;function w_e(a){try{w_a(a)}catch(b){w_ha(b)}}function w_ha(a,b){var c="Javascript exception: "+(b?b:"")+" "+a;if(w_f("msie")&&!window.opera)c+=" "+a.name+": "+a.message+" ("+a.number+")";var d="";if(typeof a=="string")d=a+"\n";else for(var e in a)try{d+=e+": "+a[e]+"\n"}catch(f){}d+=w_ia(w_ha.caller);w_ja(c+"\n"+d,1)}var w_ka=/function (\w+)/;function w_la(a){var b=w_ka.exec(String(a));if(b)return b[1];return""}
function w_ia(a){try{if(!(w_f("msie")&&!window.opera)&&!(w_f("safari")||w_f("konqueror"))&&w_f("mozilla"))return Error().stack;if(!a)return"";for(var b="- "+w_la(a)+"(",c=0;c<a.arguments.length;c++){if(c>0)b+=", ";var d=String(a.arguments[c]);if(d.length>40)d=d.substr(0,40)+"...";b+=d}b+=")\n";b+=w_ia(a.caller);return b}catch(e){return"[Cannot get stack trace]: "+e+"\n"}}var w_ma,w_g=w_c,w_h=w_d;
function w_na(){if((w_g==w_c||w_g.closed)&&!w_h)try{w_h=w_b;w_g=window.open("","debug","width=700,height=500,toolbar=no,resizable=yes,scrollbars=yes,left=16,top=16,screenx=16,screeny=16");w_g.blur();w_g.document.open();w_h=w_d;var a="<font color=#ff0000><b>To turn off this debugging window,hit 'D' inside the main caribou window, then close this window.</b></font><br>";w_oa(a)}catch(b){}}
function w_ja(a,b){if(w_ga){try{var c=(new Date).getTime()-w_ma,d="["+c+"] "+w_pa(a).replace(/\n/g,"<br>")+"<br>";if(b==1){d="<font color=#ff0000><b>Error: "+d+"</b></font>";w_g.focus()}}catch(e){}w_oa(d)}else typeof w_i!="undefined"&&w_i(w_pa(a))}function w_oa(a){if(w_ga)try{w_na();w_g.document.write(a);w_g.scrollTo(0,1000000)}catch(b){}};function w_f(a){if(a in w_j)return w_j[a];return w_j[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var w_j={};function w_qa(a){if(typeof Error!="undefined")w_a(new Error(a||"Assertion Failed"));else w_a(a)}function w_ra(a){a=a||"Assertion failed";typeof w_e!="undefined"&&w_e(a+"\n");w_qa(a)}function w_k(a,b){if(!a){b=b||"Assertion failed";w_ra(b)}}function w_l(a,b){a.style.display=b?"":"none"}function w_sa(a,b){a.style.display=b?"block":"none"}
function w_m(a,b){a.style.display=b?"inline":"none"}function w_n(a,b){if(a==w_c||a.className==w_c)return w_d;if(a.className==b)return w_b;for(var c=a.className.split(" "),d=0;d<c.length;d++)if(c[d]==b)return w_b;return w_d}function w_o(a,b){w_n(a,b)||(a.className+=" "+b)}function w_p(a,b){if(!(a.className==w_c))if(a.className==b)a.className="";else{for(var c=a.className.split(" "),d=[],e=w_d,f=0;f<c.length;f++)if(c[f]!=b)c[f]&&d.push(c[f]);else e=w_b;if(e)a.className=d.join(" ")}}
function w_q(a,b){for(var c=[],d=a.firstChild;d;d=d.nextSibling)w_ta(d,b,c);return c}function w_ta(a,b,c){b.select(a)&&c.push(a);for(var d=a.firstChild;d;d=d.nextSibling)w_ta(d,b,c)}var w_ua=/&/g,w_va=/</g,w_wa=/>/g;function w_pa(a){if(!a)return"";return a.replace(w_ua,"&amp;").replace(w_va,"&lt;").replace(w_wa,"&gt;").replace(w_xa,"&quot;")}var w_xa=/\"/g;function w_ya(a){return document.getElementById(a)}function w_za(a){return document.all[a]}var w_Aa=document.getElementById?w_ya:w_za;
function w_i(a){try{if(window.parent!=window&&window.parent.log){window.parent.log(window.name+"::"+a);return}}catch(b){}var c=w_Aa("log");if(c){var d="<p class=logentry><span class=logdate>"+new Date+"</span><span class=logmsg>"+a+"</span></p>";c.innerHTML=d+c.innerHTML}else window.status=a};function w_r(){}w_r.raise=function(a){if(typeof Error!="undefined")w_a(new Error(a||"Assertion Failed"));else w_a(a)};w_r.fail=function(a){a=a||"Assertion failed";typeof w_e=="undefined"||w_e(a+"\n");w_r.raise(a)};w_r.isTrue=function(a,b){if(!a){if(b===undefined)b="Assertion failed";w_r.fail(b)}};w_r.equals=function(a,b,c){if(a!=b){if(c===undefined)c="AS_Assert.equals failed: <"+a+"> != <"+b+">";w_r.fail(c)}};
w_r.typeOf=function(a,b,c){if(!(typeof a==b)){if(a||a=="")try{if(b==w_r.TYPE_MAP[typeof a]||a instanceof b)return}catch(d){}if(c===undefined){if(typeof b=="function"){var e=b.toString().match(/^\s*function\s+([^\s\{]+)/);if(e)b=e[1]}c="AS_Assert.typeOf failed: <"+a+"> not typeof "+b}w_r.fail(c)}};w_r.TYPE_MAP={string:String,number:Number,"boolean":Boolean};
w_r.numArgs=function(a,b){var c=w_r.numArgs.caller;if(c&&c.arguments.length!=a){if(b===undefined)b=c.name+" expected "+a+" arguments but received "+c.arguments.length;w_r.fail(b)}};var w_s;function w_Ba(){var a=["MSXML2.XMLHTTP.6.0","MSXML2.XMLHTTP.3.0","MSXML2.XMLHTTP","Microsoft.XMLHTTP"];if(typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);w_s=c;break}catch(d){}}if(!w_s)w_a(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed."))}}w_Ba();function w_Ca(a,b,c){a.open("GET",b,w_b);a.onreadystatechange=c;w_Da(a,w_c)}
function w_Ea(a,b,c,d){a.open("POST",b,w_b);a.onreadystatechange=d;a.setRequestHeader("Content-Type","application/x-www-form-urlencoded");a.setRequestHeader("Content-Length",c.length);w_Da(a,c)}function w_Da(a,b){try{a.send(b)}catch(c){w_i("XMLHttpSend failed "+c.toString()+"<br>"+c.stack);w_a(c)}};var w_Fa=0,w_t=0;if("undefined"==typeof w_i)w_i=function(){};function w_u(a){var b=-1;try{b=a.status}catch(c){}return b}function w_Ga(a){var b=w_c;try{b=a.statusText}catch(c){}return b}
function w_Ha(a,b,c,d){if(a.readyState==4)try{var e=w_b;if(d)try{e=!(w_d===d(a))}catch(f){w_i("Message ("+b+") handling failed: "+f);w_a(f)}var g=w_u(a);if(200===g){w_i("Message ("+b+") received after "+((new Date).getTime()-c)+" ms");try{var h=(new Date).getTime();e&&a.responseText.length&&eval(a.responseText);w_i("Message ("+b+") processing took "+((new Date).getTime()-h)+" ms")}catch(i){w_i("Message ("+b+") processing failed: "+i);alert(i+"\n"+i.stack+"\n\n"+a.responseText);w_a(i)}}else 204==g?
w_i("Message ("+b+") received after "+((new Date).getTime()-c)+" ms"):w_i("Message ("+b+") failed with response "+g+" "+w_Ga(a)+" after "+((new Date).getTime()-c)+" ms.")}finally{--w_t}}
function w_Ia(a,b,c,d){var e="";if(b)for(var f="",g=0;g<b.length;){var h=b[g++],i=b[g++];e+=f+encodeURIComponent(h);f="&";if(w_c!==i&&undefined!==i)e+="="+encodeURIComponent(i.toString())}for(var j=++w_Fa,k=w_s?new ActiveXObject(w_s):new XMLHttpRequest,l=(new Date).getTime(),m=function(){w_Ha(k,j,l,d)},n=a.indexOf("?")>=0?"&":"?",o=e.length?a+n+e:a,r=c!==undefined?"POST":"GET",p=o,q=p.length+1;(q=p.lastIndexOf("&",q-1))>=0;)p=p.substring(0,q)+"&amp;"+p.substring(q+1);w_i("Message ("+j+") sent: "+
r+" <tt>"+p+"</tt>.");++w_t;c!==undefined?w_Ea(k,o,c.toString(),m):w_Ca(k,o,m)}
function w_Ja(a,b,c){var d="";if(b)for(var e="",f=0;f<b.length;){var g=b[f++],h=b[f++];d+=e+encodeURIComponent(g);e="&";if(w_c!==h&&undefined!==h)d+="="+encodeURIComponent(h.toString())}for(var i=++w_Fa,j=w_s?new ActiveXObject(w_s):new XMLHttpRequest,k=(new Date).getTime(),l=function(){w_Ha(j,i,k,c)},m=a,n=m.length+1;(n=m.lastIndexOf("&",n-1))>=0;)m=m.substring(0,n)+"&amp;"+m.substring(n+1);w_i("Message ("+i+") sent: POST <tt>"+m+"</tt>.");++w_t;w_Ea(j,a,d,l)};var w_Ka=this;String.prototype.se=function(a){return this.indexOf(a)==0};String.prototype.Rf=function(a){var b=this.length-a.length;return b>=0&&this.lastIndexOf(a,b)==b};String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.subs=function(){for(var a=this,b=0;b<arguments.length;b++)a=a.replace(/\%s/,String(arguments[b]));return a};
if(!Function.prototype.apply)Function.prototype.apply=function(a,b){var c=[],d,e;a||(a=w_Ka);for(var f=b||[],g=0;g<f.length;g++)c[g]="args["+g+"]";e="oScope.__applyTemp__.peek()("+c.join(",")+");";if(!a.__applyTemp__)a.__applyTemp__=[];a.__applyTemp__.push(this);d=eval(e);a.__applyTemp__.pop();return d};if(!Array.prototype.push)Array.prototype.push=function(){for(var a=0;a<arguments.length;a++)this[this.length]=arguments[a];return this.length};
if(!Array.prototype.pop)Array.prototype.pop=function(){if(this.length){var a=this[this.length-1];this.length--;return a}};Array.prototype.peek=function(){return this[this.length-1]};if(!Array.prototype.shift)Array.prototype.shift=function(){if(!(this.length==0)){for(var a=this[0],b=0;b<this.length-1;b++)this[b]=this[b+1];this.length--;return a}};
if(!Array.prototype.unshift)Array.prototype.unshift=function(){for(var a=arguments.length,b=this.length-1;b>=0;b--)this[b+a]=this[b];for(var c=0;c<a;c++)this[c]=arguments[c];return this.length};if(!Array.prototype.forEach)Array.prototype.forEach=function(a,b){for(var c=0;c<this.length;c++)a.call(b,this[c],c,this)};
function w_v(a,b){var c=a.kd||[];c=c.concat(Array.prototype.slice.call(arguments,2));if(typeof a.$b!="undefined")b=a.$b;if(typeof a.Zb!="undefined")a=a.Zb;var d=function(){var e=c.concat(Array.prototype.slice.call(arguments));return a.apply(b,e)};d.kd=c;d.$b=b;d.Zb=a;return d}Function.prototype.bind=function(a){return w_v.apply(w_c,[this,a].concat(Array.prototype.slice.call(arguments,1)))};Function.prototype.partial=function(){return w_v.apply(w_c,[this,w_c].concat(Array.prototype.slice.call(arguments)))};
Function.prototype.inherits=function(a){var b=function(){};this.Kc=b.prototype=a.prototype;this.prototype=new b};Function.prototype.mixin=function(a){for(var b in a)this.prototype[b]=a[b];if(typeof a.toString=="function"&&a.toString!=this.prototype.toString)this.prototype.toString=a.toString};function w_w(a,b,c,d,e,f){this.instanceId=a;this.sectionId=b;this.markups=c;if(d)this.rootElement=d;if(e)this.data=e;if(f){this.ud=f;if(!w_w.IsValidDisplayMode(f))w_a("bad display mode: "+f)}else this.ud=w_w.DISPLAY_MODE_NONE;this.isNew=w_d}w_w.IsValidDisplayMode=function(a){return a==w_w.DISPLAY_MODE_SNIPPET||a==w_w.DISPLAY_MODE_FULL||a==w_w.DISPLAY_MODE_LAYOUT||a==w_w.DISPLAY_MODE_NONE};w_w.DISPLAY_MODE_FULL="displayModeFull";w_w.DISPLAY_MODE_SNIPPET="displayModeSnippet";
w_w.DISPLAY_MODE_LAYOUT="displayModeLayout";w_w.DISPLAY_MODE_NONE="displayModeNone";function w_x(a){this.Mh=w_b;this.we=new w_y(this);this.g=a;this.mb=w_c}w_x.DATA_NAMESPACE_PREFIX="data";w_x.ACTION_NAMESPACE_PREFIX="b";w_x.INTERPRET_ATTR_NAMESPACE_PREFIX="expr";w_x.prototype.wa=function(){var a=this.g.rootElement;a.innerHTML="";this.qb()==w_w.DISPLAY_MODE_LAYOUT?a.appendChild(this.Sb("layout")):a.appendChild(this.Sb("main"));return a};w_x.prototype.hf=function(a){this.mb=a};w_x.prototype.u=function(){return this.g};
w_x.prototype.Y=function(a){return document.getElementById(this.g.instanceId+"_"+a)};w_x.prototype.K=function(a){var b=this.Y(a);if(!b)w_a("did not find element for id "+a);return b};w_x.prototype.n=function(){return this.g.data};w_x.prototype.dd=function(a){return this.g.data=a};w_x.prototype.Ve=function(){return this.g.isNew};w_x.prototype.ff=function(a){return this.g.isNew=a};
w_x.prototype.Sb=function(a,b){var c=b;c||(c=this.n());c||(c={});var d=new w_z;d.ob("widget",this.Ke());d.ye(c);var e=this.Vc(a,d,w_z.DEFAULT_DICTIONARY_KEY);return this.Uc(e,document)};w_x.prototype.Ke=function(){var a={};a.type=this.mb.e();a.instanceId=this.g.instanceId;a.sectionId=this.g.sectionId;a.actionUrl=w_A.ld;var b=w_A.Qf+"&widgetType="+this.mb.e()+"&widgetId="+this.g.instanceId+"&action="+w_A.EDIT_WIDGET_ACTION;a.quickEditUrl=b;return a};
w_x.prototype.Vc=function(a,b,c){var d=this.Pe(a);w_r.isTrue(d!=w_c,"Markup chunk not found for "+a);var e=d.varName?d.varName:"",f=b.n(c);w_r.isTrue(f!=w_c,"No data found for call: "+c);b.ob(e,f);var g=this.tb(d.rootNode,b);b.$c(e);return g};
w_x.prototype.tb=function(a,b){w_r.isTrue(a!=w_c,"Null node");var c=a;if(a.attributes){for(var d=[],e=[],f=0;f<a.attributes.length;f++){var g=a.attributes.item(f),h=this.af(g,b);if(g!=h){e[e.length]=g.nodeName;d[d.length]=h}}for(f=0;f<e.length;f++)a.attributes.removeNamedItem(e[f]);for(f=0;f<d.length;f++)a.attributes.setNamedItem(d[f])}if(a.nodeType==1)if(a.prefix==w_x.ACTION_NAMESPACE_PREFIX)c=this.Te(a,b);else if(a.prefix==w_x.DATA_NAMESPACE_PREFIX)c=this.Se(a,b);if(a.hasChildNodes()){for(var i=
a.ownerDocument.createDocumentFragment();a.hasChildNodes();){var j=a.firstChild,k=this.tb(j,b);i.appendChild(k);j!=k&&a.removeChild(j)}c.appendChild(i)}return c};w_x.prototype.af=function(a,b){if(a.prefix==w_x.INTERPRET_ATTR_NAMESPACE_PREFIX){var c=a.ownerDocument.createAttribute(a.localName||a.baseName),d=this.we.Qc(a.nodeValue,b);c.nodeValue=d;return c}return a};w_x.prototype.Te=function(a,b){var c=a.localName||a.baseName,d=this.bd(c,a,b);return this.qf(d)};
w_x.prototype.qf=function(a){var b=a;if(!a)return document.createDocumentFragment();a.nodeType||(b=document.createTextNode(a));if(b.nodeType==3){var c=document.createDocumentFragment();c.appendChild(b);b=c}return b};w_x.prototype.Pb=function(a,b){var c=this.ub(a);return b.n(c[1])};
w_x.prototype.Se=function(a,b){w_r.isTrue(a!=w_c,"Null element");w_r.isTrue(b!=w_c,"Null data");if(a.prefix!=w_x.DATA_NAMESPACE_PREFIX)return a;var c=this.Pb(a.tagName,b),d=""+(c==w_c?"":c),e=document.createElement("DIV");e.innerHTML=d;var f=this.rb(e);return this.Uc(f,a.ownerDocument,w_b)};w_x.prototype.ub=function(a){var b=a.split(":",2);b.length==1&&b.unshift("");b[0]=b[0].toLowerCase();return b};
w_x.prototype.bd=function(a,b,c){var d="_WidgetBinding_"+a;if(this.we[d])return this.we[d](b,c);if(this.mb[d])return this.mb[d](b,c);w_r.isTrue(w_d,"could not find binding "+a);return w_c};
w_x.prototype.$e=function(a){if(a==w_c)return w_c;var b;if(window.ActiveXObject){b=new ActiveXObject("Microsoft.XMLDOM");b.async="false";if(!b.loadXML(a))w_a(new Error(b.parseError))}else if(window.DOMParser){var c=new DOMParser;b=c.parseFromString(a,"text/xml");if(b.documentElement.nodeName=="parsererror")w_a(new Error(b.documentElement.textContent))}else w_r.raise("Unable to find XML parser");return b.documentElement};
w_x.prototype.rb=function(a){for(var b=a.ownerDocument.createDocumentFragment();a.hasChildNodes();)b.appendChild(a.firstChild);return b};
w_x.prototype.Uc=function(a,b,c){w_r.isTrue(a!=w_c);if(b.importNode)if(a.nodeType==11){for(var d=b.createDocumentFragment(),e=a.firstChild;e!=w_c;e=e.nextSibling)d.appendChild(b.importNode(e,w_b));return d}else return b.importNode(a,w_b);if(!c){var f=b.createElement("DIV"),g=a.innerHTML||a.xml;f.innerHTML=g;return this.rb(f)}var h=function(i){var j;if(i.nodeType==1){if(i.nodeName=="SCRIPT")return document.createTextNode("");j=b.createElement(i.nodeName);i.style&&j.setAttribute("style",i.style.cssText);
i.currentStyle.height&&j.setAttribute("height",i.currentStyle.height);i.currentStyle.width&&j.setAttribute("width",i.currentStyle.width);for(var k=0;k<i.attributes.length;k++){var l=i.attributes[k];l.value&&l.value!="null"&&l.value!="false"&&l.value!="0"&&j.setAttribute(l.name,l.value)}}else if(i.nodeType==3)j=b.createTextNode(i.nodeValue);else if(i.nodeType==11)j=b.createDocumentFragment();else w_r.raise("unexpected node type "+i.nodeType);if(i.hasChildNodes())for(k=0;k<i.childNodes.length;k++)j.appendChild(h(i.childNodes[k]));
return j};return h(a)};w_x.prototype.qa=function(a,b,c,d){w_A.qa(a,b,this.g.instanceId,this.mb.e(),c,d)};w_x.prototype.qb=function(){return this.g.ud};w_x.prototype.Pe=function(a){if(!a)return w_c;var b=w_A.ue[a];b||(b=this.g.markups[a]);if(!b)return w_c;if(!b.parsedTemplate||!b.parsedTemplate.ownerDocument)this.Ze(b);b.parsedTemplate||w_r.raise("Parsing failed for "+a);b.rootNode=b.parsedTemplate.cloneNode(w_b);return b};
w_x.prototype.Ze=function(a){if(!a)return w_c;var b="<?xml version='1.0'?><markuproot xmlns:"+w_x.DATA_NAMESPACE_PREFIX+"='urn:ns1' xmlns:"+w_x.ACTION_NAMESPACE_PREFIX+"='urn:ns2' xmlns:"+w_x.INTERPRET_ATTR_NAMESPACE_PREFIX+"='urn:ns3' xmlns='http://www.w3.org/1999/xhtml'>"+a.template+"</markuproot>\n",c=this.$e(b);a.parsedTemplate=this.rb(c);return a};
w_x.ConfigureWidget=function(a,b){b||(b="config");var c=document.forms[b].widgetId.value,d=document.forms[b].widgetType.value,e=w_B.ProcessForm(document.forms[b],a);e.success&&w_A.SaveWidget(e.values,c,d)};function w_A(){}w_A.Init=function(a,b,c){w_A.nb={};w_A.Qf=a;w_A.ld=b;w_A.Ii=c;w_A.Vd=[];if(!w_A.ue)w_A.ue={}};w_A.TrapClicks=function(a){var b=w_A.CreateTransparentClickTrappingDiv(a.document);document.body.appendChild(b)};w_A._SetupPreview=function(){w_A.TrapClicks(window)};
w_A.NEW_WIDGET_WINDOW_NAME="chooseWidget";w_A.CHOOSE_WIDGET_ACTION="chooseWidget";w_A.EDIT_WIDGET_ACTION="editWidget";w_A.GetCallbackUrl=function(){return w_A.ld};w_A.SetPageActionUrl=function(a,b){w_A.ke=a;w_A.di=b};w_A.GetPageActionUrl=function(){return w_A.ke};w_A.SetWidgetRefreshUrl=function(a){w_A.Ci=a};w_A.GetWidgetRefreshUrl=function(){return w_A.Ci};w_A._SetDataContext=function(a){w_A.Vd=a};w_A._SetSystemMarkup=function(a){w_A.ue=a};
w_A._RegisterWidget=function(a,b,c){var d=new w_x(b);c||(c=window[a]);var e=new c(d);d.hf(e);w_A.nb[b.instanceId]=e;w_A.DisplayWidget(e);return e};w_A._RegisterNewWidget=function(a,b,c){var d=w_A._RegisterWidget(a,b,c),e=d.b();e.ff(w_b);return d};w_A.DisplayWidget=function(a,b){var c=a.b();if(!(c.qb()==w_w.DISPLAY_MODE_NONE)){if(b||a.i&&a.i())c.wa();c.qb()==w_w.DISPLAY_MODE_FULL&&a.k&&a.k();a.b().Mh=w_d}};w_A.GetWidget=function(a){if(w_A.nb)return w_A.nb[a];return w_c};
w_A._PopupPaneFromParams=function(a,b,c,d,e){var f="";if(d)f="&widgetId="+d;var g=w_A.Qf+"&action="+a+"&sectionId="+b+"&widgetType="+c+f;if(window.name==e){window.location.replace(g);window.focus();return window}var h=window.open(g,e,"width=570,height=600,left=75,top=20,resizable=yes,scrollbars=yes");h.focus();return h};
w_A._PopupConfig=function(a){var b=a.getAttribute("id"),c=w_A.GetWidget(b);if(c){var d=c.b().configWin;if(d!=w_c&&!d.closed){d.focus();return w_d}}var e="config"+b,f=w_A._PopupPaneFromParams(w_A.EDIT_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),b,e);if(c)c.b().configWin=f;return w_d};
w_A._PopupToolbox=function(a){w_A._PopupPaneFromParams(w_A.CHOOSE_WIDGET_ACTION,a.parentNode.getAttribute("id"),a.getAttribute("widgetType"),a.getAttribute("id"),w_A.NEW_WIDGET_WINDOW_NAME);return w_d};w_A.DeleteWidgetFromPage=function(a,b,c){w_A.N(c,c.LayoutsMessages.DELETING,w_A.STATUS_MESSAGE_PENDING_CLASS);w_A.RunPageAction("delete",{},a,b)};w_x.prototype.df=function(a,b){w_A.N(b,b.LayoutsMessages.SAVING,w_A.STATUS_MESSAGE_PENDING_CLASS);this.qa("configure",a)};
w_A.SaveNewWidget=function(a,b,c){var d=document.getElementById("sectionId").value;a.sectionid=d;w_A.N(c,c.LayoutsMessages.SAVING,w_A.STATUS_MESSAGE_PENDING_CLASS);w_A.RunPageAction("addnew",a,"",b)};w_A.SaveWidget=function(a,b,c){w_k(c!=w_c,"no type");var d=_WidgetManager._GetWidget(b);w_k(d!=w_c,"no widget for "+b);d.b().Ve()?w_A.SaveNewWidget(a,c,window):d.a.df(a,window)};w_A._RunInitialAction=function(a){var b=w_A._GetWidget(a);b&&b.b().qa("initial")};
w_A.qa=function(a,b,c,d,e,f){w_A.RunAction(w_A.ld,a,b,c,d,e,f)};w_A.RunPageAction=function(a,b,c,d,e){if(w_A.ke){b.pageToken=w_A.di;w_A.RunAction(w_A.ke,a,b,c,d,e)}else w_i("RunPageAction error: pageActionUrl_ is undefined. widgetid: "+c+" action: "+a)};
w_A.RunAction=function(a,b,c,d,e,f,g){var h=["action",b,"widgetId",d,"widgetType",e,"responseType","js"];for(var i in c)if(typeof c[i]=="object")for(var j=0;j<c[i].length;++j){h[h.length]=i;h[h.length]=c[i][j]}else{h[h.length]=i;h[h.length]=c[i]}g=="GET"?w_Ia(a,h,undefined,f||new w_La):w_Ja(a,h,f||new w_La)};w_A.SetConfigWin=function(a,b){if(a){var c=w_A.GetWidget(a);if(c)c.b().configWin=b}};
w_A.CloseIfNoPendingMessages=function(a,b){w_t==0?window.setTimeout(function(){a.close()},b):window.setTimeout(function(){w_A.CloseIfNoPendingMessages(a,b)},200)};w_A._KillPopupDelay=function(a,b){if(a){w_A.CloseIfNoPendingMessages(a,100);w_A.UpdateEditorStatus(a,b)}};w_A.UpdateEditorStatus=function(a,b){if(a){var c=a.document.getElementById("status-message-inner");if(c)c=c.innerHTML;c&&a&&a.opener.parent&&a.opener.parent.editor&&a.opener.parent.editor._SetSaveMessage(c,b)}};
w_A.d=function(a,b,c){var d=w_A.nb[a];if(c.errors!=w_c){var e=d?d.b().configWin:w_c;e||(e=window);w_A.N(e,c.errors,w_A.STATUS_MESSAGE_BAD_CLASS);d&&d.ya?d.ya(b,c):w_A.ya(c,e)}else{w_k(d!=w_c,"no widget for "+a);if(b=="initial"){d.b().dd(c);w_A.DisplayWidget(d,w_b)}else d.d(b,c)}};w_A.ya=function(a,b){var c=a["error-details"];for(var d in c)w_B.SetError(d,c[d],b.document)};
w_x.prototype.m=function(a){w_A.N(this.configWin,a["status-message"],w_A.STATUS_MESSAGE_GOOD_CLASS);w_A.FinishPopupWork(this.g.instanceId,"_OnWidgetConfigured",function(b){window.opener._WidgetManager._OnWidgetConfigured(b,a)})};w_A._OnWidgetConfigured=function(a,b){if(window.parent&&window.parent.editor&&b)w_A.OnWidgetConfiguredWithData(a,b);else{var c=w_A.GetWidget(a);c.za&&c.za()?window.location.replace(window.location.href):w_A._RunInitialAction(a)}};
w_A.OnWidgetConfiguredWithData=function(a,b){var c=w_A._GetWidget(a);c.b().dd(b.data);w_A.DisplayWidget(c,w_b);c.b().configWin=w_c};
w_A.HandlePageActionResult=function(a,b,c){var d=c["status-message"];if(c.errors!=w_c){w_A.N(window,c.errors,w_A.STATUS_MESSAGE_BAD_CLASS);w_A.ya(c,window)}else if(b=="addnew"){var e;if(w_A.IsOpenerReachable(window)){if(window.opener&&window.opener.parent)e=window.opener.parent;e&&e.editor&&e.editor._HandleAddNewWidget(c)}w_A.N(window,d,w_A.STATUS_MESSAGE_GOOD_CLASS);if(window.opener==w_c)window.location="/rearrange?blogID="+c.blogID;else e&&e._WidgetManager?e._WidgetManager._KillPopupDelay(window):
w_A.CloseIfNoPendingMessages(window,100)}else{var f=w_A.nb[a];w_k(f!=w_c);if(b=="delete"){w_A.N(f.b().configWin,d,w_A.STATUS_MESSAGE_GOOD_CLASS);w_A.FinishPopupWork(a,"_OnWidgetDeleted")}}};w_A._OnWidgetDeleted=function(a){var b=w_A.GetWidget(a);if(b){if(b.b().qb()==w_w.DISPLAY_MODE_LAYOUT)top.editor._HandleDeleteWidget(b.b().g.rootElement);else{var c=b.b().g.rootElement;c.parentNode.removeChild(c)}delete w_A.nb[a]}};
w_A.FinishPopupWork=function(a,b,c){if(w_A.IsOpenerReachable(window)){var d=window.opener;c||(c=d._WidgetManager[b]);c(a);d._WidgetManager?d._WidgetManager._KillPopupDelay(window,a):w_A.CloseIfNoPendingMessages(window,100)}else{var e=w_A.GetWidgetRefreshUrl()+"?widgetId="+a;e+="&func="+encodeURIComponent(b);window.location.replace(e)}};w_A.IsOpenerReachable=function(a){var b=w_d;try{if(a.opener){var c="X"+a.opener.document.domain;if(c&&c!="X")b=w_b}}catch(d){}return b};
w_A.STATUS_MESSAGE_GOOD_CLASS="status-msg status-msg-yellow-on-white";w_A.STATUS_MESSAGE_PENDING_CLASS=w_A.STATUS_MESSAGE_GOOD_CLASS;w_A.STATUS_MESSAGE_BAD_CLASS=w_A.STATUS_MESSAGE_GOOD_CLASS;w_A.N=function(a,b,c){a||(a=self);var d=a.document.getElementById("status-message-inner");if(d)d.innerHTML=b;var e=a.document.getElementById("status-message");if(e)e.className=c};w_A.MaybePrependHttp=function(a){if(a&&a.length>0&&a.substring(0,4)!="http")a="http://"+a;return a};
w_A.GetFirstElementInElementWithClass=function(a,b){if(w_n(a,b))return a;if(a)for(var c=a.childNodes.length,d=0;d<c;d++){var e=w_A.GetFirstElementInElementWithClass(a.childNodes.item(d),b);if(e)return e}return w_c};
w_A.CreateTransparentClickTrappingDiv=function(a){var b=a.createElement("div"),c=a.body.scrollHeight;b.style.position="absolute";b.style.top="0px";b.style.left="0px";b.style.width="100%";b.style.height=c+"px";b.style.zIndex="10";b.style.cursor="default";b.onclick=w_A.Xc;b.onmousedown=w_A.Xc;b.onmouseup=w_A.Xc;b.style.background="white";b.style.filter="alpha(opacity=1)";b.style.opacity=".01";b.innerHTML="&nbsp;";return b};
w_A.Xc=function(a){var b=a;if(!b)b=window.event;if(b){b.cancelBubble=w_b;b.stopPropagation&&b.stopPropagation()}return w_d};function w_y(a){this.ga=a}w_y.prototype._WidgetBinding_include=function(a,b){var c=a.getAttribute("name"),d=a.getAttribute("data");return this.ga.Vc(c,b,d)};w_y.prototype._WidgetBinding_call=w_y.prototype._WidgetBinding_include;
w_y.prototype._WidgetBinding_loop=function(a,b){var c=a.getAttribute("values"),d=this.ga.ub(c),e=this.ga.Pb(d[1],b),f=a.getAttribute("var");f||w_r.raise("Invalid var= attribute on b:loop");var g=this.ga.rb(a),h=a.ownerDocument.createDocumentFragment();if(!e)return h;for(var i=0;i<e.length;i++){var j=e[i],k=g.cloneNode(w_b);b.ob(f,j);var l=this.ga.tb(k,b);b.$c(f);h.appendChild(l)}return h};
w_y.prototype._WidgetBinding_if=function(a,b){for(var c=this.Qc(a.getAttribute("cond"),b),d=a.ownerDocument.createDocumentFragment(),e=w_d;a.firstChild!=w_c;){var f=a.firstChild;if("else"==this.ga.ub(f.nodeName)[1].toLowerCase())e=w_b;else if(c&&!e||!c&&e){var g=this.ga.tb(f,b);d.appendChild(g)}f.parentNode==a&&a.removeChild(f)}return d};
w_y.prototype.Qc=function(a,b){w_r.isTrue(a!=w_c,"null expression");var c=this.kf(a,b);try{var d=eval(c);return d}catch(e){w_i("expression=["+a+"] error="+e+" eval=["+c+"]")}return""};
w_y.prototype.kf=function(a,b){for(var c=new RegExp("\\b(?:"+w_x.DATA_NAMESPACE_PREFIX+"|"+w_x.ACTION_NAMESPACE_PREFIX+"):[^ ]*\\b","gi"),d="",e=0,f=c.exec(a);f;){var g=f[0];if(!this.Ue(a,c.lastIndex)){var h,i=this.ga.ub(g);if(i[0]==w_x.ACTION_NAMESPACE_PREFIX)h=this.ga.bd(i[1],w_c,b);else if(i[0]==w_x.DATA_NAMESPACE_PREFIX){(h=this.ga.Pb(g,b))||(h="");h=h+""}else w_r.raise("Unrecognized prefix '"+i[0]+"'");h=h.replace(/"/g,"&quot;");h='"'+h+'"';d+=a.substring(e,f.index);d+=h;e=c.lastIndex}f=c.exec(a)}d+=
a.substring(e,a.length);return d};w_y.prototype.Ue=function(a,b){w_r.isTrue(b<=a.length,"Invalid index: i="+b+", l="+a.length);for(var c=0,d=0;d<b;d++)if(a.charAt(d)=='"'&&(d==0||a.charAt(d-1)!="\\"))c++;return c%2!=0};function w_B(){}w_B.ERROR_MSG_ACTIVE_CLASS="errorbox-bad errormsg";w_B.ERROR_MSG_INACTIVE_CLASS="errorbox-good";
w_B.ProcessForm=function(a,b){var c={};c.success=w_b;c.values={};c.errors={};for(var d in b){var e=w_B.GetFieldValue(a[d]),f=b[d];w_B.ClearError(d);if(f){var g=f(e);if(g){w_B.SetError(d,g);c.success=w_d;c.errors[d]=g}}c.values[d]=e}return c};
w_B.GetFieldValue=function(a){if(!a)return undefined;if(a.type=="checkbox"){if(a.checked)return a.value;return undefined}if(a.type==w_c){for(var b=[],c=0;c<a.length;c++)if(a[c].checked)b[b.length]=a[c].value;switch(b.length){case 0:return undefined;case 1:return b[0];default:return b}}return a.value};w_B.Oe=function(a,b){b||(b=document);var c="errormessage_"+a;return b.getElementById(c)};w_B.ClearError=function(a){var b=w_B.Oe(a);if(b){b.innerHTML="";b.className=w_B.ERROR_MSG_INACTIVE_CLASS}};
w_B.SetError=function(a,b,c){var d=w_B.Oe(a,c);if(d){d.innerHTML=b;d.className=w_B.ERROR_MSG_ACTIVE_CLASS}};w_B.GetRequiredStringFilter=function(){return function(a){a=a.replace(/^\s+/,"").replace(/\s+$/,"");if(a.length==0)return LayoutsMessages.FIELD_CANNOT_BE_BLANK;return undefined}};
w_B.GetNumberFilter=function(a,b){return function(c){var d=parseInt(c,10);if(isNaN(d))return LayoutsMessages.MUST_SPECIFY_A_NUMBER;if(d<a)return LayoutsMessages.NUMBER_TOO_SMALL+" "+a;if(d>b)return LayoutsMessages.NUMBER_TOO_LARGE+" "+b;return undefined}};function w_z(){this.O=[];for(var a=0;a<w_A.Vd.length;++a){var b=w_A.Vd[a];this.O[this.O.length]=b}}w_z.DEFAULT_DICTIONARY_KEY="";w_z.MAX_DICTIONARY_DEPTH=50;w_z.SEPARATOR_CHAR=".";
w_z.prototype.ob=function(a,b){this.O.length>=w_z.MAX_DICTIONARY_DEPTH&&w_r.raise("Cannot add another dictionary: "+a);a.indexOf(w_z.SEPARATOR_CHAR)>-1&&w_r.raise("Cannot add dictionary name containing '.': "+a);var c={};c.name=a;c.data=b;this.O[this.O.length]=c};w_z.prototype.$c=function(a){var b=this.O[this.O.length-1];b.name!=a&&w_r.raise("Dictionary "+a+" is not the last one, and can't be deleted: "+b.name);this.O.splice(this.O.length-1,1)};
w_z.prototype.Qb=function(a){if(a==w_c)a=w_z.DEFAULT_DICTIONARY_KEY;for(var b=this.O.length-1;b>=0;--b)if(this.O[b].name==a)return this.O[b].data;return w_c};w_z.prototype.Sc=function(){return this.Qb(w_z.DEFAULT_DICTIONARY_KEY)};w_z.prototype.ye=function(a){this.ob(w_z.DEFAULT_DICTIONARY_KEY,a)};
w_z.prototype.n=function(a){var b=this.Qb(a);if(b)return b;var c=a.split(w_z.SEPARATOR_CHAR);if(c.length==1){b=this.Sc();return b[a]}b=this.Qb(c[0]);var d=0;if(b)d=1;else b=this.Sc();for(var e=d;e<c.length;e++){if(b==w_c)return w_c;b=b[c[e]]}return b};function w_Ma(){}w_Ma.prototype.d=function(){w_a(new Error("Unimplemented"))};var _WidgetManager=w_A;_WidgetManager.prototype=w_A.prototype;_WidgetManager._Init=_WidgetManager.Init;_WidgetManager._SetPageActionUrl=_WidgetManager.SetPageActionUrl;
_WidgetManager._GetPageActionUrl=_WidgetManager.GetPageActionUrl;_WidgetManager._SetWidgetRefreshUrl=_WidgetManager.SetWidgetRefreshUrl;_WidgetManager._GetWidgetRefreshUrl=_WidgetManager.GetWidgetRefreshUrl;_WidgetManager._GetCallbackUrl=_WidgetManager.GetCallbackUrl;_WidgetManager._DeleteWidgetFromPage=_WidgetManager.DeleteWidgetFromPage;_WidgetManager._DisplayWidget=_WidgetManager.DisplayWidget;_WidgetManager._GetWidget=_WidgetManager.GetWidget;_WidgetManager._HandleControllerResult=_WidgetManager.d;
_WidgetManager._HandlePageActionResult=_WidgetManager.HandlePageActionResult;_WidgetManager._IsOpenerReachable=_WidgetManager.IsOpenerReachable;_WidgetManager._SetConfigWin=_WidgetManager.SetConfigWin;var _WidgetInfo=w_w;_WidgetInfo.prototype=w_w.prototype;function w_C(a){this.Fi=w_d;this.Jc=a;this.gc=window.document}w_C.DISABLED_BUTTON_CLASS="disabled-button";w_C.HIDDEN_MESSAGE_CLASS="status-msg-hidden";w_C.prototype.Oc=function(){this.gc.getElementById(this.Jc+"-inner").innerHTML="&nbsp;";w_o(this.gc.getElementById(this.Jc),w_C.HIDDEN_MESSAGE_CLASS)};w_C.prototype.N=function(a){this.gc.getElementById(this.Jc+"-inner").innerHTML=a;w_p(this.gc.getElementById(this.Jc),w_C.HIDDEN_MESSAGE_CLASS)};function w_La(a){return function(b){var c=w_u(b);if(c>=500){if(b.responseText.length)document.body.innerHTML=b.responseText;else alert(LayoutsMessages.SERVER_ERROR);return w_d}return a?a(b):w_b}};function w_D(a){this.a=a}w_D.WIDGET_TYPE_NAME="AdSense";w_D.prototype.e=function(){return w_D.WIDGET_TYPE_NAME};w_D.prototype.b=function(){return this.a};w_D.prototype.d=function(a,b){this.a.m(b)};w_D.prototype.za=function(){return w_b};var _AdSenseView=w_D;function w_E(a){this.a=a;this.g=a.u()}w_E.WIDGET_TYPE_NAME="BlogArchive";w_E.POST_LIST_CLASS="posts";w_E.INTERVAL_EXPANDED_VALUE="expanded";w_E.INTERVAL_COLLAPSED_VALUE="collapsed";w_E.LOADING_MSG="loading...";w_E.POST_COUNT_CLASS="post-count";w_E.POST_COUNT_LINK_CLASS="post-count-link";w_E.MENU_ROOT_ID="ArchiveMenu";w_E.TOGGLE_OPEN_CLASS="toggle-open";w_E.zh="&#9660;&nbsp;";w_E.Uf="&#9658;&nbsp;";w_E.prototype.e=function(){return w_E.WIDGET_TYPE_NAME};w_E.prototype.b=function(){return this.a};
w_E.prototype.i=function(){return w_d};w_E.prototype.d=function(a,b){if(a=="configure")this.a.m(b);else if(a=="getTitles")this.pf(b);else{this.widgetInfo.data=b;w_A.DisplayWidget(this)}};
w_E.prototype.k=function(){var a={};a.select=function(i){return i&&w_n(i,"toggle")};var b=this.a.Y("ArchiveList");if(b){var c=w_q(this.g.rootElement,a),d;if(c.length>0&&c[0].currentStyle)d=c[0].parentNode.currentStyle.color;for(var e=0;e<c.length;e++){var f=c[e];f.onclick=this.mf.bind(this);if(d)f.style.color=d}var g=this.a.Y(w_E.MENU_ROOT_ID);if(g){for(e=1;e<g.options.length;e++){var h=g.options[e].value;if(h==window.location.href||window.location.href.match(h)!=w_c){g.selectedIndex=e;break}}g.onchange=
this.Qe.bind(this)}if(this.b().n().languageDirection=="rtl")w_E.Uf="&#9668;&nbsp;"}};w_E.prototype.Qe=function(){var a=this.a.Y(w_E.MENU_ROOT_ID);if(a)if(!(a.value==""))window.location.href=a.value};
w_E.prototype.mf=function(a){a=a||window.event;var b=a.currentTarget||a.srcElement;if(b&&!w_n(b,"toggle"))b=b.parentNode;var c=w_A.GetFirstElementInElementWithClass(b,"zippy"),d=b.parentNode;if(w_n(d,w_E.INTERVAL_EXPANDED_VALUE)){w_p(d,w_E.INTERVAL_EXPANDED_VALUE);w_o(d,w_E.INTERVAL_COLLAPSED_VALUE);c.innerHTML=w_E.Uf;w_p(c,w_E.TOGGLE_OPEN_CLASS);return w_d}else{w_p(d,w_E.INTERVAL_COLLAPSED_VALUE);w_o(d,w_E.INTERVAL_EXPANDED_VALUE);c.innerHTML=w_E.zh;w_o(c,w_E.TOGGLE_OPEN_CLASS)}if(this.Xe(d)){var e=
this.Tc(d);if(!e){e=document.createElement("UL");d.appendChild(e);w_o(e,w_E.POST_LIST_CLASS)}e.appendChild(document.createTextNode(w_E.LOADING_MSG));this.a.qa("getTitles",{path:this.Me(d)},w_c,"GET")}return w_d};w_E.prototype.Tc=function(a){return w_A.GetFirstElementInElementWithClass(a,w_E.POST_LIST_CLASS)};w_E.prototype.Me=function(a){var b=w_A.GetFirstElementInElementWithClass(a,w_E.POST_COUNT_LINK_CLASS);return b.href};
w_E.prototype.Ne=function(a){var b=w_A.GetFirstElementInElementWithClass(a,w_E.POST_COUNT_CLASS);return parseInt(b.innerHTML.match(/\d+/),10)};w_E.prototype.pf=function(a){var b=a.path,c=this.Tc(this.Le(b));c.innerHTML="";for(var d=0;d<a.posts.length;d++){var e=a.posts[d],f=document.createElement("li");f.innerHTML="<a href="+e.url+">"+e.title+"</a>";c.appendChild(f)}};w_E.prototype.Le=function(a){var b=this.g.rootElement.getElementsByTagName("A");for(var c in b){var d=b[c];if(d.href==a)return d.parentNode}};
w_E.prototype.Xe=function(a){var b=a.getElementsByTagName("UL");if(!(b.length>0&&!w_n(b[0],"posts"))){var c=this.Ne(a),d=a.getElementsByTagName("LI"),e=d.length;return e<c}};var _BlogArchiveView=w_E;function w_F(a){this.a=a;this.lb=a.u();if(this.lb.data)this.Pg=this.lb.data.showBacklinks}w_F.BACKLINKS_ROOT="backlinks-container";w_F.BACKLINKS_CHUNK="backlinks";w_F.BACKLINK_ITEM_ROOT_CLASS="backlink-control";w_F.BACKLINK_EXPANDED_CLASS="expanded-backlink";w_F.BACKLINK_COLLAPSED_CLASS="collapsed-backlink";w_F.BACKLINK_ZIPPY_CLASS="backlink-toggle-zippy";w_F.WIDGET_TYPE_NAME="Blog";w_F.prototype.e=function(){return w_F.WIDGET_TYPE_NAME};w_F.prototype.b=function(){return this.a};
w_F.prototype.d=function(a,b){if(a=="initial"){this.lb.data=b;w_A.DisplayWidget(this,w_b)}else if(a=="nextposts")this.Ge(b);else if(a=="configure")this.a.m(b);else a=="backlinks"&&this.of(b)};w_F.prototype.Ge=function(a){var b=a.renderedData,c=this.lb.rootElement;if(b&&c){c.innerHTML=b;window.scroll(0,0);this.k()}};
w_F.prototype.of=function(a){this.Pg=w_d;var b=this.a.Sb(w_F.BACKLINKS_CHUNK,a),c=this.a.Y(w_F.BACKLINKS_ROOT);if(c){c.innerHTML="";c.appendChild(b)}for(var d=w_q(this.lb.rootElement,w_F.zf),e=0;e<d.length;e++){var f=d[e];f.onclick=this.nf.bind(this)}var g=this.a.Y("backlinks-create-link");if(g!=w_c)g.onclick=this.Be.bind(this,g.href)};w_F.zf={};w_F.zf.select=function(a){return a&&w_n(a,w_F.BACKLINK_ZIPPY_CLASS)};w_F.prototype.nf=function(a){a=a||window.event;this.He(a.srcElement||a.target)};
w_F.prototype.He=function(a){for(var b=a.parentNode;b&&!w_n(b,w_F.BACKLINK_ITEM_ROOT_CLASS);)b=b.parentNode;if(b)if(w_n(b,w_F.BACKLINK_EXPANDED_CLASS)){w_p(b,w_F.BACKLINK_EXPANDED_CLASS);w_o(b,w_F.BACKLINK_COLLAPSED_CLASS)}else{w_o(b,w_F.BACKLINK_EXPANDED_CLASS);w_p(b,w_F.BACKLINK_COLLAPSED_CLASS)}};
w_F.prototype.k=function(){var a=this.a.Y("blog-pager-newer-link");if(a&&this.Wc(a))a.onclick=this.Yc.bind(this);var b=this.a.Y("blog-pager-older-link");if(b&&this.Wc(b))b.onclick=this.Yc.bind(this);if(this.Pg){var c=this;this.a.qa("backlinks",{postID:this.lb.data.postId},function(d){return c.Ae(d)},"GET")}};w_F.prototype.Ae=function(a){var b=w_u(a);if(b>=500){if(window.console&&console.log){var c=/bX-\w*/,d=a.responseText.match(c)[0];console.log("Error loading backlinks: "+d)}return w_d}else return w_b};
w_F.prototype.Wc=function(a){var b=a.href;return b.indexOf("/search?")>-1};w_F.prototype.Yc=function(a){a=a||window.event;var b=a.target||a.srcElement;this.a.qa("nextposts",{path:b.href});return w_d};
w_F.prototype.Be=function(a){var b="";if(document.selection)b=document.selection.createRange().text;else if(window.getSelection)b=window.getSelection();else if(document.getSelection)b=document.getSelection();window.open(a+"?t="+encodeURIComponent(b)+"&u="+encodeURIComponent(window.location.href)+"&n="+encodeURIComponent(document.title),"bloggerForm","scrollbars=no,width=475,height=300,top=175,left=75,status=yes,resizable=yes");return w_d};var _BlogView=w_F;var w_=w_||{};w_.global=this;w_.DEBUG=w_b;w_.LOCALE="en_US";w_.hc=w_c;w_.provide=function(a){w_.Vf(a)};w_.Vf=function(a,b,c){var d=a.split("."),e=c||w_.global;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&w_.isDef(b))e[f]=b;else e=e[f]?e[f]:(e[f]={})};w_.getObjectByName=function(a,b){for(var c=a.split("."),d=b||w_.global,e;e=c.shift();)if(d[e])d=d[e];else return w_c;return d};
w_.globalize=function(a,b){var c=b||w_.global;for(var d in a)c[d]=a[d]};w_.addDependency=function(){};w_.require=function(){};w_.useStrictRequires=w_d;w_.basePath="";w_.nullFunction=function(){};w_.identityFunction=function(){return arguments[0]};w_.abstractMethod=function(){w_a(Error("unimplemented abstract method"))};w_.addSingletonGetter=function(a){a.getInstance=function(){return a.Vh||(a.Vh=new a)}};
w_.typeOf=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";
else if(b=="function"&&typeof a.call=="undefined")return"object";return b};w_.fi=function(a,b){if(b in a)for(var c in a)if(c==b&&Object.prototype.hasOwnProperty.call(a,b))return w_b;return w_d};w_.Ji=function(a,b){return a instanceof Object?Object.prototype.propertyIsEnumerable.call(a,b):w_.fi(a,b)};w_.isDef=function(a){return a!==undefined};w_.isNull=function(a){return a===w_c};w_.isDefAndNotNull=function(a){return a!=w_c};w_.isArray=function(a){return w_.typeOf(a)=="array"};
w_.isArrayLike=function(a){var b=w_.typeOf(a);return b=="array"||b=="object"&&typeof a.length=="number"};w_.isDateLike=function(a){return w_.isObject(a)&&typeof a.getFullYear=="function"};w_.isString=function(a){return typeof a=="string"};w_.isBoolean=function(a){return typeof a=="boolean"};w_.isNumber=function(a){return typeof a=="number"};w_.isFunction=function(a){return w_.typeOf(a)=="function"};w_.isObject=function(a){var b=w_.typeOf(a);return b=="object"||b=="array"||b=="function"};
w_.getHashCode=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(w_.xa))return a[w_.xa];a[w_.xa]||(a[w_.xa]=++w_.Th);return a[w_.xa]};w_.removeHashCode=function(a){"removeAttribute"in a&&a.removeAttribute(w_.xa);try{delete a[w_.xa]}catch(b){}};w_.xa="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36);w_.Th=0;w_.cloneObject=function(a){var b=w_.typeOf(a);if(b=="object"||b=="array"){if(a.clone)return a.clone.call(a);var c=b=="array"?[]:{};for(var d in a)c[d]=w_.cloneObject(a[d]);return c}return a};
w_.bind=function(a,b){var c=a.kd;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.$b||b;a=a.Zb||a;var e,f=b||w_.global;e=c?function(){var g=Array.prototype.slice.call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}:function(){return a.apply(f,arguments)};e.kd=c;e.$b=b;e.Zb=a;return e};w_.partial=function(a){var b=Array.prototype.slice.call(arguments,1);b.unshift(a,w_c);return w_.bind.apply(w_c,b)};
w_.mixin=function(a,b){for(var c in b)a[c]=b[c]};w_.now=Date.now||function(){return(new Date).getTime()};
w_.globalEval=function(a){if(w_.global.execScript)w_.global.execScript(a,"JavaScript");else if(w_.global.eval){if(w_.hc==w_c){w_.global.eval("var _et_ = 1;");if(typeof w_.global._et_!="undefined"){delete w_.global._et_;w_.hc=w_b}else w_.hc=w_d}if(w_.hc)w_.global.eval(a);else{var b=w_.global.document,c=b.createElement("script");c.type="text/javascript";c.defer=w_d;c.appendChild(b.createTextNode(a));b.body.appendChild(c);b.body.removeChild(c)}}else w_a(Error("goog.globalEval not available"))};
w_.typedef=w_b;w_.getCssName=function(a,b){var c=a+(b?"-"+b:"");return w_.rd&&c in w_.rd?w_.rd[c]:c};w_.setCssNameMapping=function(a){w_.rd=a};w_.getMsg=function(a,b){var c=b||{};for(var d in c)a=a.replace(new RegExp("\\{\\$"+d+"\\}","gi"),c[d]);return a};w_.exportSymbol=function(a,b,c){w_.Vf(a,b,c)};w_.exportProperty=function(a,b,c){a[b]=c};w_.inherits=function(a,b){function c(){}c.prototype=b.prototype;a.Kc=b.prototype;a.prototype=new c;a.prototype.constructor=a};w_.MODIFY_FUNCTION_PROTOTYPES=w_b;
if(w_.MODIFY_FUNCTION_PROTOTYPES){Function.prototype.bind=function(a){if(arguments.length>1){var b=Array.prototype.slice.call(arguments,1);b.unshift(this,a);return w_.bind.apply(w_c,b)}else return w_.bind(this,a)};Function.prototype.partial=function(){var a=Array.prototype.slice.call(arguments);a.unshift(this,w_c);return w_.bind.apply(w_c,a)};Function.prototype.inherits=function(a){w_.inherits(this,a)};Function.prototype.mixin=function(a){w_.mixin(this.prototype,a)}};w_.string={};w_.string.Unicode={NBSP:"\u00a0"};w_.string.se=function(a,b){return a.indexOf(b)==0};w_.string.Rf=function(a,b){var c=a.length-b.length;return c>=0&&a.lastIndexOf(b,c)==c};w_.string.caseInsensitiveStartsWith=function(a,b){return w_.string.caseInsensitiveCompare(b,a.substr(0,b.length))==0};w_.string.caseInsensitiveEndsWith=function(a,b){return w_.string.caseInsensitiveCompare(b,a.substr(a.length-b.length,b.length))==0};
w_.string.subs=function(a){for(var b=1;b<arguments.length;b++){var c=String(arguments[b]).replace(/\$/g,"$$$$");a=a.replace(/\%s/,c)}return a};w_.string.collapseWhitespace=function(a){return a.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")};w_.string.z=function(a){return/^[\s\xa0]*$/.test(a)};w_.string.isEmptySafe=function(a){return w_.string.z(w_.string.makeSafe(a))};w_.string.isBreakingWhitespace=function(a){return!/[^\t\n\r ]/.test(a)};w_.string.isAlpha=function(a){return!/[^a-zA-Z]/.test(a)};
w_.string.isNumeric=function(a){return!/[^0-9]/.test(a)};w_.string.isAlphaNumeric=function(a){return!/[^a-zA-Z0-9]/.test(a)};w_.string.isSpace=function(a){return a==" "};w_.string.isUnicodeChar=function(a){return a.length==1&&a>=" "&&a<="~"||a>="\u0080"&&a<="\ufffd"};w_.string.stripNewlines=function(a){return a.replace(/(\r\n|\r|\n)+/g," ")};w_.string.canonicalizeNewlines=function(a){return a.replace(/(\r\n|\r|\n)/g,"\n")};w_.string.normalizeWhitespace=function(a){return a.replace(/\xa0|\s/g," ")};
w_.string.normalizeSpaces=function(a){return a.replace(/\xa0|[ \t]+/g," ")};w_.string.trim=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")};w_.string.trimLeft=function(a){return a.replace(/^[\s\xa0]+/,"")};w_.string.trimRight=function(a){return a.replace(/[\s\xa0]+$/,"")};w_.string.caseInsensitiveCompare=function(a,b){var c=String(a).toLowerCase(),d=String(b).toLowerCase();return c<d?-1:c==d?0:1};w_.string.Qg=/(\.\d+)|(\d+)|(\D+)/g;
w_.string.numerateCompare=function(a,b){if(a==b)return 0;if(!a)return-1;if(!b)return 1;for(var c=a.toLowerCase().match(w_.string.Qg),d=b.toLowerCase().match(w_.string.Qg),e=Math.min(c.length,d.length),f=0;f<e;f++){var g=c[f],h=d[f];if(g!=h){var i=parseInt(g,10);if(!isNaN(i)){var j=parseInt(h,10);if(!isNaN(j)&&i-j)return i-j}return g<h?-1:1}}if(c.length!=d.length)return c.length-d.length;return a<b?-1:1};w_.string.Qh=/^[a-zA-Z0-9\-_.!~*'()]*$/;
w_.string.urlEncode=function(a){a=String(a);if(!w_.string.Qh.test(a))return encodeURIComponent(a);return a};w_.string.urlDecode=function(a){return decodeURIComponent(a.replace(/\+/g," "))};w_.string.newLineToBr=function(a,b){return a.replace(/(\r\n|\r|\n)/g,b?"<br />":"<br>")};
w_.string.htmlEscape=function(a,b){if(b)return a.replace(w_.string.vf,"&amp;").replace(w_.string.Lg,"&lt;").replace(w_.string.qg,"&gt;").replace(w_.string.Wg,"&quot;");else{if(!w_.string.wh.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(w_.string.vf,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(w_.string.Lg,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(w_.string.qg,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(w_.string.Wg,"&quot;");return a}};w_.string.vf=/&/g;w_.string.Lg=/</g;w_.string.qg=/>/g;
w_.string.Wg=/\"/g;w_.string.wh=/[&<>\"]/;w_.string.unescapeEntities=function(a){if(w_.string.contains(a,"&"))return"document"in w_.global&&!w_.string.contains(a,"<")?w_.string.yi(a):w_.string.zi(a);return a};w_.string.yi=function(a){var b=w_.global.document.createElement("a");b.innerHTML=a;b[w_.string.We]&&b[w_.string.We]();a=b.firstChild.nodeValue;b.innerHTML="";return a};
w_.string.zi=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return b}})};w_.string.We="normalize";w_.string.whitespaceEscape=function(a,b){return w_.string.newLineToBr(a.replace(/ /g," &#160;"),b)};
w_.string.stripQuotes=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=c==1?b:b.charAt(d);if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a};w_.string.truncate=function(a,b,c){if(c)a=w_.string.unescapeEntities(a);if(a.length>b)a=a.substring(0,b-3)+"...";if(c)a=w_.string.htmlEscape(a);return a};
w_.string.truncateMiddle=function(a,b,c){if(c)a=w_.string.unescapeEntities(a);if(a.length>b){var d=Math.floor(b/2),e=a.length-d;d+=b%2;a=a.substring(0,d)+"..."+a.substring(e)}if(c)a=w_.string.htmlEscape(a);return a};w_.string.ee={"\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\x0B",'"':'\\"',"'":"\\'","\\":"\\\\"};
w_.string.quote=function(a){a=String(a);if(a.quote)return a.quote();else{for(var b=['"'],c=0;c<a.length;c++)b[c+1]=w_.string.escapeChar(a.charAt(c));b.push('"');return b.join("")}};w_.string.escapeChar=function(a){if(a in w_.string.ee)return w_.string.ee[a];var b=a,c=a.charCodeAt(0);if(c>31&&c<127)b=a;else{if(c<256){b="\\x";if(c<16||c>256)b+="0"}else{b="\\u";if(c<4096)b+="0"}b+=c.toString(16).toUpperCase()}return w_.string.ee[a]=b};
w_.string.toMap=function(a){for(var b={},c=0;c<a.length;c++)b[a.charAt(c)]=w_b;return b};w_.string.contains=function(a,b){return a.indexOf(b)!=-1};w_.string.removeAt=function(a,b,c){var d=a;if(b>=0&&b<a.length&&c>0)d=a.substr(0,b)+a.substr(b+c,a.length-b-c);return d};w_.string.remove=function(a,b){var c=new RegExp(w_.string.regExpEscape(b),"");return a.replace(c,"")};w_.string.removeAll=function(a,b){var c=new RegExp(w_.string.regExpEscape(b),"g");return a.replace(c,"")};
w_.string.regExpEscape=function(a){return String(a).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")};w_.string.repeat=function(a,b){return(new Array(b+1)).join(a)};w_.string.padNumber=function(a,b,c){var d=w_.isDef(c)?a.toFixed(c):String(a),e=d.indexOf(".");if(e==-1)e=d.length;return w_.string.repeat("0",Math.max(0,b-e))+d};w_.string.makeSafe=function(a){return a==w_c?"":String(a)};w_.string.buildString=function(){return Array.prototype.join.call(arguments,"")};
w_.string.getRandomString=function(){return Math.floor(Math.random()*2147483648).toString(36)+(Math.floor(Math.random()*2147483648)^(new Date).getTime()).toString(36)};
w_.string.compareVersions=function(a,b){for(var c=0,d=w_.string.trim(String(a)).split("."),e=w_.string.trim(String(b)).split("."),f=Math.max(d.length,e.length),g=0;c==0&&g<f;g++){var h=d[g]||"",i=e[g]||"",j=new RegExp("(\\d*)(\\D*)","g"),k=new RegExp("(\\d*)(\\D*)","g");do{var l=j.exec(h)||["","",""],m=k.exec(i)||["","",""];if(l[0].length==0&&m[0].length==0)break;var n=l[1].length==0?0:parseInt(l[1],10),o=m[1].length==0?0:parseInt(m[1],10);c=w_.string.od(n,o)||w_.string.od(l[2].length==0,m[2].length==
0)||w_.string.od(l[2],m[2])}while(c==0)}return c};w_.string.od=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};w_.string.qh=4294967296;w_.string.hashCode=function(a){for(var b=0,c=0;c<a.length;++c){b=31*b+a.charCodeAt(c);b%=w_.string.qh}return b};w_.string.Bi=w_.now();w_.string.createUniqueString=function(){return"goog_"+w_.string.Bi++};w_.string.toNumber=function(a){var b=Number(a);if(b==0&&w_.string.z(a))return NaN;return b};w_.date={};w_.date.weekDay={MON:0,TUE:1,WED:2,THU:3,FRI:4,SAT:5,SUN:6};w_.date.month={JAN:0,FEB:1,MAR:2,APR:3,MAY:4,JUN:5,JUL:6,AUG:7,SEP:8,OCT:9,NOV:10,DEC:11};w_.date.formatMonthAndYear=function(a,b){var c=a+(" "+b);return c};w_.date.qi=/^(\d{4})(?:(?:-?(\d{2})(?:-?(\d{2}))?)|(?:-?(\d{3}))|(?:-?W(\d{2})(?:-?([1-7]))?))?$/;w_.date.ti=/^(\d{2})(?::?(\d{2})(?::?(\d{2})(\.\d+)?)?)?$/;w_.date.ui=/Z|(?:([-+])(\d{2})(?::?(\d{2}))?)$/;w_.date.ri=/^(-)?P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+(?:\.\d+)?)S)?)?$/;
w_.date.isLeapYear=function(a){return a%4==0&&(a%100!=0||a%400==0)};w_.date.isLongIsoYear=function(a){var b=5*a+12-4*(Math.floor(a/100)-Math.floor(a/400));b+=Math.floor((a-100)/400)-Math.floor((a-102)/400);b+=Math.floor((a-200)/400)-Math.floor((a-199)/400);return b%28<5};w_.date.pc=function(a,b){switch(b){case w_.date.month.FEB:return w_.date.isLeapYear(a)?29:28;case w_.date.month.JUN:case w_.date.month.SEP:case w_.date.month.NOV:case w_.date.month.APR:return 30}return 31};
w_.date.isSameDay=function(a,b){var c=b||new Date(w_.now());return a.getDate()==c.getDate()&&w_.date.isSameMonth(a,c)};w_.date.isSameMonth=function(a,b){var c=b||new Date(w_.now());return a.getMonth()==c.getMonth()&&w_.date.isSameYear(a,c)};w_.date.isSameYear=function(a,b){var c=b||new Date(w_.now());return a.getFullYear()==c.getFullYear()};
w_.date.Sd=function(a,b,c,d,e){var f=new Date(a,b,c),g=d||w_.date.weekDay.THU,h=e||w_.date.weekDay.MON,i=(f.getDay()+6)%7,j=(i-h+7)%7,k=(g-h+7)%7,l=f.valueOf()+(k-j)*86400000,m=(new Date((new Date(l)).getFullYear(),0,1)).valueOf();return Math.floor(Math.round((l-m)/86400000)/7)+1};w_.date.fromIsoString=function(a){var b=new w_.date.DateTime(2000);return w_.date.setIso8601DateTime(b,a)?b:w_c};
w_.date.setIso8601DateTime=function(a,b){b=w_.string.trim(b);var c=b.indexOf("T")==-1?" ":"T",d=b.split(c);return w_.date.oi(a,d[0])&&(d.length<2||w_.date.pi(a,d[1]))};w_.date.oi=function(a,b){var c=b.match(w_.date.qi);if(!c)return w_d;var d=c[1],e=c[2],f=c[3],g=c[4],h=c[5],i=c[6]||1;a.setFullYear(d);if(g){a.setDate(1);a.setMonth(0);var j=g-1;a.add(new w_.date.Interval(w_.date.Interval.DAYS,j))}else if(h)w_.date.ni(a,h,i);else{if(e){a.setDate(1);a.setMonth(e-1)}f&&a.setDate(f)}return w_b};
w_.date.ni=function(a,b,c){a.setMonth(0);a.setDate(1);var d=a.getDay(),e=d||7;if(e<=4)var f=1-e;else f=8-e;var g=Number(c)+7*(Number(b)-1),h=f+g-1,i=new w_.date.Interval(w_.date.Interval.DAYS,h);a.add(i)};
w_.date.pi=function(a,b){var c=b.match(w_.date.ui),d=0;if(c){if(c[0]!="Z"){d=c[2]*60+Number(c[3]);d*=c[1]=="-"?1:-1}d-=a.getTimezoneOffset();b=b.substr(0,b.length-c[0].length)}c=b.match(w_.date.ti);if(!c)return w_d;a.setHours(c[1]);a.setMinutes(c[2]||0);a.setSeconds(c[3]||0);a.setMilliseconds(c[4]?c[4]*1000:0);d!=0&&a.setTime(a.getTime()+d*60000);return w_b};
w_.date.Interval=function(a,b,c,d,e,f){if(w_.isString(a)){var g=a,h=b;this.years=g==w_.date.Interval.YEARS?h:0;this.months=g==w_.date.Interval.MONTHS?h:0;this.days=g==w_.date.Interval.DAYS?h:0;this.hours=g==w_.date.Interval.HOURS?h:0;this.minutes=g==w_.date.Interval.MINUTES?h:0;this.seconds=g==w_.date.Interval.SECONDS?h:0}else{this.years=a||0;this.months=b||0;this.days=c||0;this.hours=d||0;this.minutes=e||0;this.seconds=f||0}};
w_.date.Interval.fromIsoString=function(a){var b=a.match(w_.date.ri);if(!b)return w_c;var c=!(b[6]||b[7]||b[8]),d=c&&!(b[2]||b[3]||b[4]);if(d||c&&b[5])return w_c;var e=b[1],f=parseInt(b[2],10)||0,g=parseInt(b[3],10)||0,h=parseInt(b[4],10)||0,i=parseInt(b[6],10)||0,j=parseInt(b[7],10)||0,k=parseFloat(b[8])||0;return e?new w_.date.Interval(-f,-g,-h,-i,-j,-k):new w_.date.Interval(f,g,h,i,j,k)};
w_.date.Interval.prototype.pa=function(a){var b=Math.min(this.years,this.months,this.days,this.hours,this.minutes,this.seconds),c=Math.max(this.years,this.months,this.days,this.hours,this.minutes,this.seconds);if(b<0&&c>0)return w_c;if(!a&&b==0&&c==0)return"PT0S";var d=[];b<0&&d.push("-");d.push("P");if(this.years||a)d.push(Math.abs(this.years)+"Y");if(this.months||a)d.push(Math.abs(this.months)+"M");if(this.days||a)d.push(Math.abs(this.days)+"D");if(this.hours||this.minutes||this.seconds||a){d.push("T");
if(this.hours||a)d.push(Math.abs(this.hours)+"H");if(this.minutes||a)d.push(Math.abs(this.minutes)+"M");if(this.seconds||a)d.push(Math.abs(this.seconds)+"S")}return d.join("")};w_.date.Interval.prototype.equals=function(a){return a.years==this.years&&a.months==this.months&&a.days==this.days&&a.hours==this.hours&&a.minutes==this.minutes&&a.seconds==this.seconds};w_.date.Interval.prototype.clone=function(){return new w_.date.Interval(this.years,this.months,this.days,this.hours,this.minutes,this.seconds)};
w_.date.Interval.YEARS="y";w_.date.Interval.MONTHS="m";w_.date.Interval.DAYS="d";w_.date.Interval.HOURS="h";w_.date.Interval.MINUTES="n";w_.date.Interval.SECONDS="s";w_.date.Interval.prototype.add=function(a){this.years+=a.years;this.months+=a.months;this.days+=a.days;this.hours+=a.hours;this.minutes+=a.minutes;this.seconds+=a.seconds};
w_.date.Date=function(a,b,c){if(w_.isNumber(a)){this.c=new Date(a,b||0,c||1);this.Dc(c||1)}else if(w_.isObject(a)){this.c=new Date(a.getFullYear(),a.getMonth(),a.getDate());this.Dc(a.getDate())}else{this.c=new Date;this.c.setHours(0);this.c.setMinutes(0);this.c.setSeconds(0);this.c.setMilliseconds(0)}};w_.date.Date.prototype.Ya=w_.date.weekDay.MON;w_.date.Date.prototype.Za=w_.date.weekDay.THU;w_.date.Date.prototype.clone=function(){var a=new w_.date.Date(this.c);a.Ya=this.Ya;a.Za=this.Za;return a};
w_.date.Date.prototype.getFullYear=function(){return this.c.getFullYear()};w_.date.Date.prototype.cb=function(){return this.getFullYear()};w_.date.Date.prototype.getMonth=function(){return this.c.getMonth()};w_.date.Date.prototype.getDate=function(){return this.c.getDate()};w_.date.Date.prototype.getTime=function(){return this.c.getTime()};w_.date.Date.prototype.getDay=function(){return this.c.getDay()};w_.date.Date.prototype.getUTCFullYear=function(){return this.c.getUTCFullYear()};
w_.date.Date.prototype.getUTCMonth=function(){return this.c.getUTCMonth()};w_.date.Date.prototype.getUTCDate=function(){return this.c.getUTCDate()};w_.date.Date.prototype.getUTCDay=function(){return this.c.getDay()};w_.date.Date.prototype.getUTCHours=function(){return this.c.getUTCHours()};w_.date.Date.prototype.getUTCMinutes=function(){return this.c.getUTCMinutes()};w_.date.Date.prototype.pc=function(){return w_.date.pc(this.getFullYear(),this.getMonth())};
w_.date.Date.prototype.Sd=function(){return w_.date.Sd(this.getFullYear(),this.getMonth(),this.getDate(),this.Za,this.Ya)};w_.date.Date.prototype.getTimezoneOffset=function(){return this.c.getTimezoneOffset()};w_.date.Date.prototype.tc=function(){var a,b=this.getTimezoneOffset();if(b==0)a="Z";else{var c=Math.abs(b)/60,d=Math.floor(c),e=(c-d)*60;a=(b>0?"-":"+")+w_.string.padNumber(d,2)+":"+w_.string.padNumber(e,2)}return a};
w_.date.Date.prototype.set=function(a){this.c=new Date(a.getFullYear(),a.getMonth(),a.getDate())};w_.date.Date.prototype.setFullYear=function(a){this.c.setFullYear(a)};w_.date.Date.prototype.setMonth=function(a){this.c.setMonth(a)};w_.date.Date.prototype.setDate=function(a){this.c.setDate(a)};w_.date.Date.prototype.setTime=function(a){this.c.setTime(a)};w_.date.Date.prototype.setUTCFullYear=function(a){this.c.setUTCFullYear(a)};w_.date.Date.prototype.setUTCMonth=function(a){this.c.setUTCMonth(a)};
w_.date.Date.prototype.setUTCDate=function(a){this.c.setUTCDate(a)};
w_.date.Date.prototype.add=function(a){if(a.years||a.months){var b=this.getMonth()+a.months+a.years*12,c=this.cb()+Math.floor(b/12);b%=12;if(b<0)b+=12;var d=w_.date.pc(c,b),e=Math.min(d,this.getDate());this.setDate(1);this.setFullYear(c);this.setMonth(b);this.setDate(e)}if(a.days){var f=new Date(this.cb(),this.getMonth(),this.getDate(),12),g=new Date(f.getTime()+a.days*86400000);this.setDate(1);this.setFullYear(g.getFullYear());this.setMonth(g.getMonth());this.setDate(g.getDate());this.Dc(g.getDate())}};
w_.date.Date.prototype.pa=function(a,b){var c=[this.getFullYear(),w_.string.padNumber(this.getMonth()+1,2),w_.string.padNumber(this.getDate(),2)];return c.join(a?"-":"")+(b?this.tc():"")};w_.date.Date.prototype.equals=function(a){return this.cb()==a.cb()&&this.getMonth()==a.getMonth()&&this.getDate()==a.getDate()};w_.date.Date.prototype.toString=function(){return this.pa()};
w_.date.Date.prototype.Dc=function(a){if(this.getDate()!=a){var b=this.getDate()<a?1:-1;this.c.setUTCHours(this.c.getUTCHours()+b)}};w_.date.Date.prototype.valueOf=function(){return this.c.valueOf()};w_.date.DateTime=function(a,b,c,d,e,f,g){this.c=w_.isNumber(a)?new Date(a,b||0,c||1,d||0,e||0,f||0,g||0):new Date(a?a.getTime():w_.now())};w_.inherits(w_.date.DateTime,w_.date.Date);w_.date.DateTime.prototype.getHours=function(){return this.c.getHours()};w_.date.DateTime.prototype.getMinutes=function(){return this.c.getMinutes()};
w_.date.DateTime.prototype.getSeconds=function(){return this.c.getSeconds()};w_.date.DateTime.prototype.getMilliseconds=function(){return this.c.getMilliseconds()};w_.date.DateTime.prototype.getUTCDay=function(){return this.c.getUTCDay()};w_.date.DateTime.prototype.getUTCHours=function(){return this.c.getUTCHours()};w_.date.DateTime.prototype.getUTCMinutes=function(){return this.c.getUTCMinutes()};w_.date.DateTime.prototype.getUTCSeconds=function(){return this.c.getUTCSeconds()};
w_.date.DateTime.prototype.getUTCMilliseconds=function(){return this.c.getUTCMilliseconds()};w_.date.DateTime.prototype.setHours=function(a){this.c.setHours(a)};w_.date.DateTime.prototype.setMinutes=function(a){this.c.setMinutes(a)};w_.date.DateTime.prototype.setSeconds=function(a){this.c.setSeconds(a)};w_.date.DateTime.prototype.setMilliseconds=function(a){this.c.setMilliseconds(a)};w_.date.DateTime.prototype.setUTCHours=function(a){this.c.setUTCHours(a)};
w_.date.DateTime.prototype.setUTCMinutes=function(a){this.c.setUTCMinutes(a)};w_.date.DateTime.prototype.setUTCSeconds=function(a){this.c.setUTCSeconds(a)};w_.date.DateTime.prototype.setUTCMilliseconds=function(a){this.c.setUTCMilliseconds(a)};w_.date.DateTime.prototype.add=function(a){w_.date.Date.prototype.add.call(this,a);a.hours&&this.setHours(this.c.getHours()+a.hours);a.minutes&&this.setMinutes(this.c.getMinutes()+a.minutes);a.seconds&&this.setSeconds(this.c.getSeconds()+a.seconds)};
w_.date.DateTime.prototype.pa=function(a,b){var c=w_.date.Date.prototype.pa.call(this,a);if(a)return c+" "+w_.string.padNumber(this.getHours(),2)+":"+w_.string.padNumber(this.getMinutes(),2)+":"+w_.string.padNumber(this.getSeconds(),2)+(b?this.tc():"");return c+"T"+w_.string.padNumber(this.getHours(),2)+w_.string.padNumber(this.getMinutes(),2)+w_.string.padNumber(this.getSeconds(),2)+(b?this.tc():"")};w_.date.DateTime.prototype.equals=function(a){return this.getTime()==a.getTime()};
w_.date.DateTime.prototype.toString=function(){return this.pa()};w_.date.DateTime.prototype.clone=function(){var a=new w_.date.DateTime(this.c);a.Ya=this.Ya;a.Za=this.Za;return a};w_.array={};w_.array.ArrayLike=w_.typedef;w_.array.peek=function(a){return a[a.length-1]};w_.array.indexOf=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var d=c==w_c?0:c<0?Math.max(0,a.length+c):c,e=d;e<a.length;e++)if(e in a&&a[e]===b)return e;return-1};
w_.array.lastIndexOf=function(a,b,c){var d=c==w_c?a.length-1:c;if(a.lastIndexOf)return a.lastIndexOf(b,d);if(Array.lastIndexOf)return Array.lastIndexOf(a,b,d);if(d<0)d=Math.max(0,a.length+d);for(var e=d;e>=0;e--)if(e in a&&a[e]===b)return e;return-1};w_.array.forEach=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)};
w_.array.forEachRight=function(a,b,c){for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=d-1;f>=0;--f)f in e&&b.call(c,e[f],f,a)};w_.array.filter=function(a,b,c){if(a.filter)return a.filter(b,c);if(Array.filter)return Array.filter(a,b,c);for(var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a,h=0;h<d;h++)if(h in g){var i=g[h];if(b.call(c,i,h,a))e[f++]=i}return e};
w_.array.map=function(a,b,c){if(a.map)return a.map(b,c);if(Array.map)return Array.map(a,b,c);for(var d=a.length,e=[],f=0,g=w_.isString(a)?a.split(""):a,h=0;h<d;h++)if(h in g)e[f++]=b.call(c,g[h],h,a);return e};w_.array.reduce=function(a,b,c,d){if(a.reduce)return d?a.reduce(w_.bind(b,d),c):a.reduce(b,c);var e=c;w_.array.forEach(a,function(f,g){e=b.call(d,e,f,g,a)});return e};
w_.array.reduceRight=function(a,b,c,d){if(a.reduceRight)return d?a.reduceRight(w_.bind(b,d),c):a.reduceRight(b,c);var e=c;w_.array.forEachRight(a,function(f,g){e=b.call(d,e,f,g,a)});return e};w_.array.some=function(a,b,c){if(a.some)return a.some(b,c);if(Array.some)return Array.some(a,b,c);for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return w_b;return w_d};
w_.array.every=function(a,b,c){if(a.every)return a.every(b,c);if(Array.every)return Array.every(a,b,c);for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&!b.call(c,e[f],f,a))return w_d;return w_b};w_.array.find=function(a,b,c){var d=w_.array.findIndex(a,b,c);return d<0?w_c:w_.isString(a)?a.charAt(d):a[d]};w_.array.findIndex=function(a,b,c){for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=0;f<d;f++)if(f in e&&b.call(c,e[f],f,a))return f;return-1};
w_.array.findRight=function(a,b,c){var d=w_.array.findIndexRight(a,b,c);return d<0?w_c:w_.isString(a)?a.charAt(d):a[d]};w_.array.findIndexRight=function(a,b,c){for(var d=a.length,e=w_.isString(a)?a.split(""):a,f=d-1;f>=0;f--)if(f in e&&b.call(c,e[f],f,a))return f;return-1};w_.array.contains=function(a,b){if(a.contains)return a.contains(b);return w_.array.indexOf(a,b)>-1};w_.array.z=function(a){return a.length==0};
w_.array.clear=function(a){if(!w_.isArray(a))for(var b=a.length-1;b>=0;b--)delete a[b];a.length=0};w_.array.insert=function(a,b){w_.array.contains(a,b)||a.push(b)};w_.array.insertAt=function(a,b,c){w_.array.splice(a,c,0,b)};w_.array.insertArrayAt=function(a,b,c){w_.partial(w_.array.splice,a,c,0).apply(w_c,b)};w_.array.insertBefore=function(a,b,c){var d;arguments.length==2||(d=w_.array.indexOf(a,c))==-1?a.push(b):w_.array.insertAt(a,b,d)};
w_.array.remove=function(a,b){var c=w_.array.indexOf(a,b),d;if(d=c!=-1)w_.array.removeAt(a,c);return d};w_.array.removeAt=function(a,b){return Array.prototype.splice.call(a,b,1).length==1};w_.array.removeIf=function(a,b,c){var d=w_.array.findIndex(a,b,c);if(d>=0){w_.array.removeAt(a,d);return w_b}return w_d};w_.array.clone=function(a){if(w_.isArray(a))return a.concat();else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}};w_.array.toArray=function(a){if(w_.isArray(a))return a.concat();return w_.array.clone(a)};
w_.array.extend=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(w_.isArrayLike(c)){c=w_.array.toArray(c);a.push.apply(a,c)}else a.push(c)}};w_.array.splice=function(a){return Array.prototype.splice.apply(a,w_.array.slice(arguments,1))};w_.array.slice=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};
w_.array.removeDuplicates=function(a,b){for(var c=b||a,d={},e=0,f=0;f<a.length;){var g=a[f++],h=w_.isObject(g)?w_.getHashCode(g):g;if(!(h in d)){d[h]=w_b;c[e++]=g}}c.length=e};w_.array.binarySearch=function(a,b,c){for(var d=0,e=a.length-1,f=c||w_.array.defaultCompare;d<=e;){var g=d+e>>1,h=f(b,a[g]);if(h>0)d=g+1;else if(h<0)e=g-1;else return g}return-(d+1)};w_.array.sort=function(a,b){Array.prototype.sort.call(a,b||w_.array.defaultCompare)};
w_.array.stableSort=function(a,b){for(var c=0;c<a.length;c++)a[c]={index:c,value:a[c]};var d=b||w_.array.defaultCompare;function e(f,g){return d(f.value,g.value)||f.index-g.index}w_.array.sort(a,e);for(c=0;c<a.length;c++)a[c]=a[c].value};w_.array.sortObjectsByKey=function(a,b,c){var d=c||w_.array.defaultCompare;w_.array.sort(a,function(e,f){return d(e[b],f[b])})};
w_.array.compare=function(a,b,c){if(!w_.isArrayLike(a)||!w_.isArrayLike(b)||a.length!=b.length)return w_d;for(var d=a.length,e=c||w_.array.defaultCompareEquality,f=0;f<d;f++)if(!e.call(w_c,a[f],b[f]))return w_d;return w_b};w_.array.defaultCompare=function(a,b){return a>b?1:a<b?-1:0};w_.array.defaultCompareEquality=function(a,b){return a===b};w_.array.binaryInsert=function(a,b,c){var d=w_.array.binarySearch(a,b,c);if(d<0){w_.array.insertAt(a,b,-(d+1));return w_b}return w_d};
w_.array.binaryRemove=function(a,b,c){var d=w_.array.binarySearch(a,b,c);return d>=0?w_.array.removeAt(a,d):w_d};w_.array.bucket=function(a,b){for(var c={},d=0;d<a.length;d++){var e=a[d],f=b(e,d,a);if(w_.isDef(f)){var g=c[f]||(c[f]=[]);g.push(e)}}return c};w_.array.repeat=function(a,b){for(var c=[],d=0;d<b;d++)c[d]=a;return c};w_.array.flatten=function(){for(var a=[],b=0;b<arguments.length;b++){var c=arguments[b];w_.isArray(c)?a.push.apply(a,w_.array.flatten.apply(w_c,c)):a.push(c)}return a};
w_.array.rotate=function(a,b){if(a.length){b%=a.length;if(b>0)Array.prototype.unshift.apply(a,a.splice(-b,b));else b<0&&Array.prototype.push.apply(a,a.splice(0,-b))}return a};w_.math={};w_.math.Coordinate=function(a,b){this.x=w_.isDef(a)?a:0;this.y=w_.isDef(b)?b:0};w_.math.Coordinate.prototype.clone=function(){return new w_.math.Coordinate(this.x,this.y)};if(w_.DEBUG)w_.math.Coordinate.prototype.toString=function(){return"("+this.x+", "+this.y+")"};w_.math.Coordinate.equals=function(a,b){if(a==b)return w_b;if(!a||!b)return w_d;return a.x==b.x&&a.y==b.y};w_.math.Coordinate.distance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return Math.sqrt(c*c+d*d)};
w_.math.Coordinate.squaredDistance=function(a,b){var c=a.x-b.x,d=a.y-b.y;return c*c+d*d};w_.math.Coordinate.difference=function(a,b){return new w_.math.Coordinate(a.x-b.x,a.y-b.y)};w_.math.Coordinate.sum=function(a,b){return new w_.math.Coordinate(a.x+b.x,a.y+b.y)};w_.math.Size=function(a,b){this.width=a;this.height=b};w_.math.Size.equals=function(a,b){if(a==b)return w_b;if(!a||!b)return w_d;return a.width==b.width&&a.height==b.height};w_.math.Size.prototype.clone=function(){return new w_.math.Size(this.width,this.height)};if(w_.DEBUG)w_.math.Size.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};w_.math.Size.prototype.area=function(){return this.width*this.height};w_.math.Size.prototype.z=function(){return!this.area()};
w_.math.Size.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};w_.math.Size.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};w_.math.Size.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};w_.math.Size.prototype.scale=function(a){this.width*=a;this.height*=a;return this};w_.object={};w_.object.forEach=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};w_.object.filter=function(a,b,c){var d={};for(var e in a)if(b.call(c,a[e],e,a))d[e]=a[e];return d};w_.object.map=function(a,b,c){var d={};for(var e in a)d[e]=b.call(c,a[e],e,a);return d};w_.object.some=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return w_b;return w_d};w_.object.every=function(a,b,c){for(var d in a)if(!b.call(c,a[d],d,a))return w_d;return w_b};
w_.object.T=function(a){var b=0;for(var c in a)b++;return b};w_.object.getAnyKey=function(a){for(var b in a)return b};w_.object.getAnyValue=function(a){for(var b in a)return a[b]};w_.object.contains=function(a,b){return w_.object.ha(a,b)};w_.object.r=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b};w_.object.o=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};w_.object.w=function(a,b){return b in a};w_.object.ha=function(a,b){for(var c in a)if(a[c]==b)return w_b;return w_d};
w_.object.findKey=function(a,b,c){for(var d in a)if(b.call(c,a[d],d,a))return d;return undefined};w_.object.findValue=function(a,b,c){var d=w_.object.findKey(a,b,c);return d&&a[d]};w_.object.z=function(a){for(var b in a)return w_d;return w_b};w_.object.clear=function(a){for(var b=w_.object.o(a),c=b.length-1;c>=0;c--)w_.object.remove(a,b[c])};w_.object.remove=function(a,b){var c;if(c=b in a)delete a[b];return c};
w_.object.add=function(a,b,c){if(b in a)w_a(Error('The object already contains the key "'+b+'"'));w_.object.set(a,b,c)};w_.object.get=function(a,b,c){if(b in a)return a[b];return c};w_.object.set=function(a,b,c){a[b]=c};w_.object.setIfUndefined=function(a,b,c){return b in a?a[b]:(a[b]=c)};w_.object.clone=function(a){var b={};for(var c in a)b[c]=a[c];return b};w_.object.transpose=function(a){var b={};for(var c in a)b[a[c]]=c;return b};
w_.object.Ye=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"];w_.object.extend=function(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<w_.object.Ye.length;e++){b=w_.object.Ye[e];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}};
w_.object.create=function(){var a=arguments.length;if(a==1&&w_.isArray(arguments[0]))return w_.object.create.apply(w_c,arguments[0]);if(a%2)w_a(Error("Uneven number of arguments"));for(var b={},c=0;c<a;c+=2)b[arguments[c]]=arguments[c+1];return b};w_.object.createSet=function(){var a=arguments.length;if(a==1&&w_.isArray(arguments[0]))return w_.object.createSet.apply(w_c,arguments[0]);for(var b={},c=0;c<a;c++)b[arguments[c]]=w_b;return b};w_.userAgent={};w_.userAgent.ASSUME_IE=w_d;w_.userAgent.ASSUME_GECKO=w_d;w_.userAgent.ASSUME_CAMINO=w_d;w_.userAgent.ASSUME_WEBKIT=w_d;w_.userAgent.ASSUME_MOBILE_WEBKIT=w_d;w_.userAgent.ASSUME_OPERA=w_d;w_.userAgent.va=w_.userAgent.ASSUME_IE||w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_CAMINO||w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_OPERA;w_.userAgent.getUserAgentString=function(){return w_.global.navigator?w_.global.navigator.userAgent:w_c};
w_.userAgent.getNavigator=function(){return w_.global.navigator};
w_.userAgent.yc=function(){w_.userAgent.vb=w_d;w_.userAgent.Nf=w_d;w_.userAgent.ec=w_d;w_.userAgent.Of=w_d;w_.userAgent.td=w_d;w_.userAgent.Mf=w_d;var a;if(!w_.userAgent.va&&(a=w_.userAgent.getUserAgentString())){var b=w_.userAgent.getNavigator();w_.userAgent.vb=a.indexOf("Opera")==0;w_.userAgent.Nf=!w_.userAgent.vb&&a.indexOf("MSIE")!=-1;w_.userAgent.ec=!w_.userAgent.vb&&a.indexOf("WebKit")!=-1;w_.userAgent.Of=w_.userAgent.ec&&a.indexOf("Mobile")!=-1;w_.userAgent.td=!w_.userAgent.vb&&!w_.userAgent.ec&&
b.product=="Gecko";w_.userAgent.Mf=w_.userAgent.td&&b.vendor=="Camino"}};w_.userAgent.va||w_.userAgent.yc();w_.userAgent.OPERA=w_.userAgent.va?w_.userAgent.ASSUME_OPERA:w_.userAgent.vb;w_.userAgent.IE=w_.userAgent.va?w_.userAgent.ASSUME_IE:w_.userAgent.Nf;w_.userAgent.GECKO=w_.userAgent.va?w_.userAgent.ASSUME_GECKO||w_.userAgent.ASSUME_CAMINO:w_.userAgent.td;w_.userAgent.CAMINO=w_.userAgent.va?w_.userAgent.ASSUME_CAMINO:w_.userAgent.Mf;
w_.userAgent.WEBKIT=w_.userAgent.va?w_.userAgent.ASSUME_WEBKIT||w_.userAgent.ASSUME_MOBILE_WEBKIT:w_.userAgent.ec;w_.userAgent.MOBILE=w_.userAgent.ASSUME_MOBILE_WEBKIT||w_.userAgent.Of;w_.userAgent.SAFARI=w_.userAgent.WEBKIT;w_.userAgent.Kh=function(){var a=w_.userAgent.getNavigator();return a&&a.platform||""};w_.userAgent.PLATFORM=w_.userAgent.Kh();w_.userAgent.ASSUME_MAC=w_d;w_.userAgent.ASSUME_WINDOWS=w_d;w_.userAgent.ASSUME_LINUX=w_d;w_.userAgent.ASSUME_X11=w_d;
w_.userAgent.sb=w_.userAgent.ASSUME_MAC||w_.userAgent.ASSUME_WINDOWS||w_.userAgent.ASSUME_LINUX||w_.userAgent.ASSUME_X11;w_.userAgent.Uh=function(){w_.userAgent.Hh=w_.string.contains(w_.userAgent.PLATFORM,"Mac");w_.userAgent.Ih=w_.string.contains(w_.userAgent.PLATFORM,"Win");w_.userAgent.Gh=w_.string.contains(w_.userAgent.PLATFORM,"Linux");w_.userAgent.Jh=!!w_.userAgent.getNavigator()&&w_.string.contains(w_.userAgent.getNavigator().appVersion||"","X11")};w_.userAgent.sb||w_.userAgent.Uh();
w_.userAgent.MAC=w_.userAgent.sb?w_.userAgent.ASSUME_MAC:w_.userAgent.Hh;w_.userAgent.WINDOWS=w_.userAgent.sb?w_.userAgent.ASSUME_WINDOWS:w_.userAgent.Ih;w_.userAgent.LINUX=w_.userAgent.sb?w_.userAgent.ASSUME_LINUX:w_.userAgent.Gh;w_.userAgent.X11=w_.userAgent.sb?w_.userAgent.ASSUME_X11:w_.userAgent.Jh;
w_.userAgent.Lh=function(){var a="",b;if(w_.userAgent.OPERA&&w_.global.opera){var c=w_.global.opera.version;a=typeof c=="function"?c():c}else{if(w_.userAgent.GECKO)b=/rv\:([^\);]+)(\)|;)/;else if(w_.userAgent.IE)b=/MSIE\s+([^\);]+)(\)|;)/;else if(w_.userAgent.WEBKIT)b=/WebKit\/(\S+)/;if(b){var d=b.exec(w_.userAgent.getUserAgentString());a=d?d[1]:""}}return a};w_.userAgent.VERSION=w_.userAgent.Lh();w_.userAgent.compare=function(a,b){return w_.string.compareVersions(a,b)};w_.userAgent.Fg={};
w_.userAgent.isVersion=function(a){return w_.userAgent.Fg[a]||(w_.userAgent.Fg[a]=w_.string.compareVersions(w_.userAgent.VERSION,a)>=0)};w_.dom={};w_.dom.classes={};w_.dom.classes.set=function(a,b){a.className=b};w_.dom.classes.get=function(a){var b=a.className;return b&&typeof b.split=="function"?b.split(" "):[]};w_.dom.classes.add=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=w_.dom.classes.uf(b,c);a.className=b.join(" ");return d};w_.dom.classes.remove=function(a){var b=w_.dom.classes.get(a),c=w_.array.slice(arguments,1),d=w_.dom.classes.ah(b,c);a.className=b.join(" ");return d};
w_.dom.classes.uf=function(a,b){for(var c=0,d=0;d<b.length;d++)if(!w_.array.contains(a,b[d])){a.push(b[d]);c++}return c==b.length};w_.dom.classes.ah=function(a,b){for(var c=0,d=0;d<a.length;d++)if(w_.array.contains(b,a[d])){w_.array.splice(a,d--,1);c++}return c==b.length};w_.dom.classes.swap=function(a,b,c){for(var d=w_.dom.classes.get(a),e=w_d,f=0;f<d.length;f++)if(d[f]==b){w_.array.splice(d,f--,1);e=w_b}if(e){d.push(c);a.className=d.join(" ")}return e};
w_.dom.classes.addRemove=function(a,b,c){var d=w_.dom.classes.get(a);if(w_.isString(b))w_.array.remove(d,b);else w_.isArray(b)&&w_.dom.classes.ah(d,b);if(w_.isString(c)&&!w_.array.contains(d,c))d.push(c);else w_.isArray(c)&&w_.dom.classes.uf(d,c);a.className=d.join(" ")};w_.dom.classes.has=function(a,b){return w_.array.contains(w_.dom.classes.get(a),b)};w_.dom.classes.enable=function(a,b,c){c?w_.dom.classes.add(a,b):w_.dom.classes.remove(a,b)};
w_.dom.classes.toggle=function(a,b){var c=!w_.dom.classes.has(a,b);w_.dom.classes.enable(a,b,c);return c};w_.dom.TagName={A:"A",ABBR:"ABBR",ACRONYM:"ACRONYM",ADDRESS:"ADDRESS",APPLET:"APPLET",AREA:"AREA",B:"B",BASE:"BASE",BASEFONT:"BASEFONT",BDO:"BDO",BIG:"BIG",BLOCKQUOTE:"BLOCKQUOTE",BODY:"BODY",BR:"BR",BUTTON:"BUTTON",CAPTION:"CAPTION",CENTER:"CENTER",CITE:"CITE",CODE:"CODE",COL:"COL",COLGROUP:"COLGROUP",DD:"DD",DEL:"DEL",DFN:"DFN",DIR:"DIR",DIV:"DIV",DL:"DL",DT:"DT",EM:"EM",FIELDSET:"FIELDSET",FONT:"FONT",FORM:"FORM",FRAME:"FRAME",FRAMESET:"FRAMESET",H1:"H1",H2:"H2",H3:"H3",H4:"H4",H5:"H5",H6:"H6",
HEAD:"HEAD",HR:"HR",HTML:"HTML",I:"I",IFRAME:"IFRAME",IMG:"IMG",INPUT:"INPUT",INS:"INS",ISINDEX:"ISINDEX",KBD:"KBD",LABEL:"LABEL",LEGEND:"LEGEND",LI:"LI",LINK:"LINK",MAP:"MAP",MENU:"MENU",META:"META",NOFRAMES:"NOFRAMES",NOSCRIPT:"NOSCRIPT",OBJECT:"OBJECT",OL:"OL",OPTGROUP:"OPTGROUP",OPTION:"OPTION",P:"P",PARAM:"PARAM",PRE:"PRE",Q:"Q",S:"S",SAMP:"SAMP",SCRIPT:"SCRIPT",SELECT:"SELECT",SMALL:"SMALL",SPAN:"SPAN",STRIKE:"STRIKE",STRONG:"STRONG",STYLE:"STYLE",SUB:"SUB",SUP:"SUP",TABLE:"TABLE",TBODY:"TBODY",
TD:"TD",TEXTAREA:"TEXTAREA",TFOOT:"TFOOT",TH:"TH",THEAD:"THEAD",TITLE:"TITLE",TR:"TR",TT:"TT",U:"U",UL:"UL",VAR:"VAR"};w_.dom.ASSUME_QUIRKS_MODE=w_d;w_.dom.ASSUME_STANDARDS_MODE=w_d;w_.dom.mh=w_.dom.ASSUME_QUIRKS_MODE||w_.dom.ASSUME_STANDARDS_MODE;w_.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12};w_.dom.kc=function(a){return a?new w_.dom.DomHelper(w_.dom.V(a)):w_.dom.Fh||(w_.dom.Fh=new w_.dom.DomHelper)};w_.dom.bg=function(){return document};
w_.dom.xb=function(a){return w_.isString(a)?document.getElementById(a):a};w_.dom.Nc=w_.dom.xb;w_.dom.bb=function(a,b,c){return w_.dom.gg(document,a,b,c)};
w_.dom.gg=function(a,b,c,d){var e=d||a,f=b&&b!="*"?b.toLowerCase():"";if(e.querySelectorAll&&(f||c)&&(!w_.userAgent.WEBKIT||w_.dom.db(a)||w_.userAgent.isVersion("528"))){var g=f+(c?"."+c:"");return e.querySelectorAll(g)}if(c&&e.getElementsByClassName){var h=e.getElementsByClassName(c);if(f){for(var i={},j=0,k=0,l;l=h[k];k++)if(f==l.nodeName.toLowerCase())i[j++]=l;i.length=j;return i}else return h}h=e.getElementsByTagName(f||"*");if(c){i={};for(k=j=0;l=h[k];k++){var m=l.className;if(typeof m.split==
"function"&&w_.array.contains(m.split(" "),c))i[j++]=l}i.length=j;return i}else return h};w_.dom.X=w_.dom.bb;w_.dom.Kb=function(a,b){w_.object.forEach(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in w_.dom.De)a.setAttribute(w_.dom.De[d],c);else a[d]=c})};
w_.dom.De={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"};w_.dom.Rd=function(a){return w_.dom.pg(a||window)};
w_.dom.pg=function(a){var b=a.document;if(w_.userAgent.WEBKIT&&!w_.userAgent.isVersion("500")&&!w_.userAgent.MOBILE){if(typeof a.innerHeight=="undefined")a=window;var c=a.innerHeight,d=a.document.documentElement.scrollHeight;if(a==a.top)if(d<c)c-=15;return new w_.math.Size(a.innerWidth,c)}var e=w_.dom.db(b)&&(!w_.userAgent.OPERA||w_.userAgent.OPERA&&w_.userAgent.isVersion("9.50"))?b.documentElement:b.body;return new w_.math.Size(e.clientWidth,e.clientHeight)};w_.dom.cg=function(){return w_.dom.dg(window)};
w_.dom.dg=function(a){var b=a.document,c=0;if(b){var d=w_.dom.pg(a).height,e=b.body,f=b.documentElement;if(w_.dom.db(b)&&f.scrollHeight)c=f.scrollHeight!=d?f.scrollHeight:f.offsetHeight;else{var g=f.scrollHeight,h=f.offsetHeight;if(f.clientHeight!=h){g=e.scrollHeight;h=e.offsetHeight}c=g>d?g>h?g:h:g<h?g:h}}return c};w_.dom.getPageScroll=function(a){var b=a||w_.global||window;return w_.dom.kc(b.document).Dd()};w_.dom.Dd=function(){return w_.dom.fg(document)};
w_.dom.fg=function(a){var b=w_.dom.Ed(a);return new w_.math.Coordinate(b.scrollLeft,b.scrollTop)};w_.dom.eg=function(){return w_.dom.Ed(document)};w_.dom.Ed=function(a){return!w_.userAgent.WEBKIT&&w_.dom.db(a)?a.documentElement:a.body};w_.dom.wc=function(a){return a?w_.dom.Ud(a):window};
w_.dom.Ud=function(a){if(a.parentWindow)return a.parentWindow;if(w_.userAgent.WEBKIT&&!w_.userAgent.isVersion("500")&&!w_.userAgent.MOBILE){var b=a.createElement("script");b.innerHTML="document.parentWindow=window";var c=a.documentElement;c.appendChild(b);c.removeChild(b);return a.parentWindow}return a.defaultView};w_.dom.l=function(){return w_.dom.Jf(document,arguments)};
w_.dom.Jf=function(a,b){var c=b[0],d=b[1];if(w_.userAgent.IE&&d&&(d.name||d.type)){var e=["<",c];d.name&&e.push(' name="',w_.string.htmlEscape(d.name),'"');if(d.type){e.push(' type="',w_.string.htmlEscape(d.type),'"');d=w_.cloneObject(d);delete d.type}e.push(">");c=e.join("")}var f=a.createElement(c);if(d)if(w_.isString(d))f.className=d;else w_.dom.Kb(f,d);if(b.length>2){function g(j){if(j)f.appendChild(w_.isString(j)?a.createTextNode(j):j)}for(var h=2;h<b.length;h++){var i=b[h];w_.isArrayLike(i)&&
!w_.dom.Cc(i)?w_.array.forEach(w_.dom.isNodeList(i)?w_.array.clone(i):i,g):g(i)}}return f};w_.dom.xe=w_.dom.l;w_.dom.createElement=function(a){return document.createElement(a)};w_.dom.createTextNode=function(a){return document.createTextNode(a)};w_.dom.zg=function(a){return w_.dom.Ag(document,a)};w_.dom.Ag=function(a,b){var c=a.createElement("div");c.innerHTML=b;if(c.childNodes.length==1)return c.firstChild;else{for(var d=a.createDocumentFragment();c.firstChild;)d.appendChild(c.firstChild);return d}};
w_.dom.$f=function(){return w_.dom.Ac()?"CSS1Compat":"BackCompat"};w_.dom.Ac=function(){return w_.dom.db(document)};w_.dom.db=function(a){if(w_.dom.mh)return w_.dom.ASSUME_STANDARDS_MODE;return a.compatMode=="CSS1Compat"};w_.dom.canHaveChildren=function(a){if(a.nodeType!=w_.dom.NodeType.ELEMENT)return w_d;if("canHaveChildren"in a)return a.canHaveChildren;switch(a.tagName){case w_.dom.TagName.APPLET:case w_.dom.TagName.AREA:case w_.dom.TagName.BR:case w_.dom.TagName.COL:case w_.dom.TagName.FRAME:case w_.dom.TagName.HR:case w_.dom.TagName.IMG:case w_.dom.TagName.INPUT:case w_.dom.TagName.IFRAME:case w_.dom.TagName.ISINDEX:case w_.dom.TagName.LINK:case w_.dom.TagName.NOFRAMES:case w_.dom.TagName.NOSCRIPT:case w_.dom.TagName.META:case w_.dom.TagName.OBJECT:case w_.dom.TagName.PARAM:case w_.dom.TagName.SCRIPT:case w_.dom.TagName.STYLE:return w_d}return w_b};
w_.dom.appendChild=function(a,b){a.appendChild(b)};w_.dom.Fb=function(a){for(var b;b=a.firstChild;)a.removeChild(b)};w_.dom.zc=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b)};w_.dom.ce=function(a,b){b.parentNode&&b.parentNode.insertBefore(a,b.nextSibling)};w_.dom.removeNode=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):w_c};w_.dom.replaceNode=function(a,b){var c=b.parentNode;c&&c.replaceChild(a,b)};
w_.dom.Bd=function(a){var b,c=a.parentNode;if(c&&c.nodeType!=w_.dom.NodeType.DOCUMENT_FRAGMENT)if(a.removeNode)return a.removeNode(w_d);else{for(;b=a.firstChild;)c.insertBefore(b,a);return w_.dom.removeNode(a)}};w_.dom.Fd=function(a){return w_.dom.oc(a.firstChild,w_b)};w_.dom.Hd=function(a){return w_.dom.oc(a.lastChild,w_d)};w_.dom.Ld=function(a){return w_.dom.oc(a.nextSibling,w_b)};w_.dom.Pd=function(a){return w_.dom.oc(a.previousSibling,w_d)};
w_.dom.oc=function(a,b){for(;a&&a.nodeType!=w_.dom.NodeType.ELEMENT;)a=b?a.nextSibling:a.previousSibling;return a};w_.dom.Cc=function(a){return w_.isObject(a)&&a.nodeType>0};w_.dom.lh=w_.userAgent.WEBKIT&&w_.userAgent.isVersion("522");
w_.dom.contains=function(a,b){if(typeof a.contains!="undefined"&&!w_.dom.lh&&b.nodeType==w_.dom.NodeType.ELEMENT)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a};
w_.dom.compareNodeOrder=function(a,b){if(a==b)return 0;if(a.compareDocumentPosition)return a.compareDocumentPosition(b)&2?1:-1;if("sourceIndex"in a||a.parentNode&&"sourceIndex"in a.parentNode){var c=a.nodeType==w_.dom.NodeType.ELEMENT,d=b.nodeType==w_.dom.NodeType.ELEMENT;if(c&&d)return a.sourceIndex-b.sourceIndex;else{var e=a.parentNode,f=b.parentNode;if(e==f)return w_.dom.If(a,b);if(!c&&w_.dom.contains(e,b))return-1*w_.dom.Hf(a,b);if(!d&&w_.dom.contains(f,a))return w_.dom.Hf(b,a);return(c?a.sourceIndex:
e.sourceIndex)-(d?b.sourceIndex:f.sourceIndex)}}var g=w_.dom.V(a),h,i;h=g.createRange();h.selectNode(a);h.collapse(w_b);i=g.createRange();i.selectNode(b);i.collapse(w_b);return h.compareBoundaryPoints(w_.global.Range.START_TO_END,i)};w_.dom.Hf=function(a,b){var c=a.parentNode;if(c==b)return-1;for(var d=b;d.parentNode!=c;)d=d.parentNode;return w_.dom.If(d,a)};w_.dom.If=function(a,b){for(var c=b;c=c.previousSibling;)if(c==a)return-1;return 1};
w_.dom.findCommonAncestor=function(){var a,b=arguments.length;if(b){if(b==1)return arguments[0]}else return w_c;var c=[],d=Infinity;for(a=0;a<b;a++){for(var e=[],f=arguments[a];f;){e.unshift(f);f=f.parentNode}c.push(e);d=Math.min(d,e.length)}var g=w_c;for(a=0;a<d;a++){for(var h=c[0][a],i=1;i<b;i++)if(h!=c[i][a])return g;g=h}return g};w_.dom.V=function(a){return a.nodeType==w_.dom.NodeType.DOCUMENT?a:a.ownerDocument||a.document};
w_.dom.mc=function(a){var b;return b=w_.userAgent.WEBKIT?a.document||a.contentWindow.document:a.contentDocument||a.contentWindow.document};w_.dom.Gd=function(a){return a.contentWindow||w_.dom.Ud(w_.dom.mc(a))};w_.dom.qe=function(a,b){if("textContent"in a)a.textContent=b;else if(a.firstChild&&a.firstChild.nodeType==w_.dom.NodeType.TEXT){for(;a.lastChild!=a.firstChild;)a.removeChild(a.lastChild);a.firstChild.data=b}else{w_.dom.Fb(a);var c=w_.dom.V(a);a.appendChild(c.createTextNode(b))}};
w_.dom.getOuterHtml=function(a){if("outerHTML"in a)return a.outerHTML;else{var b=w_.dom.V(a),c=b.createElement("div");c.appendChild(a.cloneNode(w_b));return c.innerHTML}};w_.dom.yd=function(a,b){var c=[],d=w_.dom.Ad(a,b,c,w_b);return d?c[0]:undefined};w_.dom.zd=function(a,b){var c=[];w_.dom.Ad(a,b,c,w_d);return c};w_.dom.Ad=function(a,b,c,d){if(a!=w_c)for(var e=0,f;f=a.childNodes[e];e++){if(b(f)){c.push(f);if(d)return w_b}if(w_.dom.Ad(f,b,c,d))return w_b}return w_d};
w_.dom.lf={SCRIPT:1,STYLE:1,HEAD:1,IFRAME:1,OBJECT:1};w_.dom.Ub={IMG:" ",BR:"\n"};w_.dom.isFocusableTabIndex=function(a){var b=a.getAttributeNode("tabindex");if(b&&b.specified){var c=a.tabIndex;return w_.isNumber(c)&&c>=0}return w_d};w_.dom.setFocusableTabIndex=function(a,b){if(b)a.tabIndex=0;else a.removeAttribute("tabIndex")};
w_.dom.Bb=function(a){var b;if(w_.userAgent.IE&&"innerText"in a)b=w_.string.canonicalizeNewlines(a.innerText);else{var c=[];w_.dom.Qd(a,c,w_b);b=c.join("")}b=b.replace(/\xAD/g,"");b=b.replace(/ +/g," ");if(b!=" ")b=b.replace(/^\s*/,"");return b};w_.dom.getRawTextContent=function(a){var b=[];w_.dom.Qd(a,b,w_d);return b.join("")};
w_.dom.Qd=function(a,b,c){if(!(a.nodeName in w_.dom.lf))if(a.nodeType==w_.dom.NodeType.TEXT)c?b.push(String(a.nodeValue).replace(/(\r\n|\r|\n)/g,"")):b.push(a.nodeValue);else if(a.nodeName in w_.dom.Ub)b.push(w_.dom.Ub[a.nodeName]);else for(var d=a.firstChild;d;){w_.dom.Qd(d,b,c);d=d.nextSibling}};w_.dom.Md=function(a){return w_.dom.Bb(a).length};
w_.dom.Nd=function(a,b){for(var c=b||w_.dom.V(a).body,d=[];a&&a!=c;){for(var e=a;e=e.previousSibling;)d.unshift(w_.dom.Bb(e));a=a.parentNode}return w_.string.trimLeft(d.join("")).replace(/ +/g," ").length};
w_.dom.getNodeAtOffset=function(a,b,c){for(var d=[a],e=0,f;d.length>0&&e<b;){f=d.pop();if(!(f.nodeName in w_.dom.lf))if(f.nodeType==w_.dom.NodeType.TEXT){var g=f.nodeValue.replace(/(\r\n|\r|\n)/g,"").replace(/ +/g," ");e+=g.length}else if(f.nodeName in w_.dom.Ub)e+=w_.dom.Ub[f.nodeName].length;else for(var h=f.childNodes.length-1;h>=0;h--)d.push(f.childNodes[h])}if(w_.isObject(c)){c.remainder=f?f.nodeValue.length+b-e-1:0;c.node=f}return f};
w_.dom.isNodeList=function(a){if(a&&typeof a.length=="number")if(w_.isObject(a))return typeof a.item=="function"||typeof a.item=="string";else if(w_.isFunction(a))return typeof a.item=="function";return w_d};w_.dom.Cd=function(a,b,c){return w_.dom.jc(a,function(d){return(!b||d.nodeName==b)&&(!c||w_.dom.classes.has(d,c))},w_b)};w_.dom.jc=function(a,b,c,d){if(!c)a=a.parentNode;for(var e=d==w_c,f=0;a&&(e||f<=d);){if(b(a))return a;a=a.parentNode;f++}return w_c};
w_.dom.DomHelper=function(a){this.$=a||w_.global.document||document};w_.dom.DomHelper.prototype.kc=w_.dom.kc;w_.dom.DomHelper.prototype.bg=function(){return this.$};w_.dom.DomHelper.prototype.xb=function(a){return w_.isString(a)?this.$.getElementById(a):a};w_.dom.DomHelper.prototype.Nc=w_.dom.DomHelper.prototype.xb;w_.dom.DomHelper.prototype.bb=function(a,b,c){return w_.dom.gg(this.$,a,b,c)};w_.dom.DomHelper.prototype.X=w_.dom.DomHelper.prototype.bb;w_.dom.DomHelper.prototype.Kb=w_.dom.Kb;
w_.dom.DomHelper.prototype.Rd=function(a){return w_.dom.Rd(a||this.wc())};w_.dom.DomHelper.prototype.cg=function(){return w_.dom.dg(this.wc())};w_.dom.DomHelper.prototype.l=function(){return w_.dom.Jf(this.$,arguments)};w_.dom.DomHelper.prototype.xe=w_.dom.DomHelper.prototype.l;w_.dom.DomHelper.prototype.createElement=function(a){return this.$.createElement(a)};w_.dom.DomHelper.prototype.createTextNode=function(a){return this.$.createTextNode(a)};
w_.dom.DomHelper.prototype.zg=function(a){return w_.dom.Ag(this.$,a)};w_.dom.DomHelper.prototype.$f=function(){return this.Ac()?"CSS1Compat":"BackCompat"};w_.dom.DomHelper.prototype.Ac=function(){return w_.dom.db(this.$)};w_.dom.DomHelper.prototype.wc=function(){return w_.dom.Ud(this.$)};w_.dom.DomHelper.prototype.eg=function(){return w_.dom.Ed(this.$)};w_.dom.DomHelper.prototype.Dd=function(){return w_.dom.fg(this.$)};w_.dom.DomHelper.prototype.appendChild=w_.dom.appendChild;
w_.dom.DomHelper.prototype.Fb=w_.dom.Fb;w_.dom.DomHelper.prototype.zc=w_.dom.zc;w_.dom.DomHelper.prototype.ce=w_.dom.ce;w_.dom.DomHelper.prototype.removeNode=w_.dom.removeNode;w_.dom.DomHelper.prototype.replaceNode=w_.dom.replaceNode;w_.dom.DomHelper.prototype.Bd=w_.dom.Bd;w_.dom.DomHelper.prototype.Fd=w_.dom.Fd;w_.dom.DomHelper.prototype.Hd=w_.dom.Hd;w_.dom.DomHelper.prototype.Ld=w_.dom.Ld;w_.dom.DomHelper.prototype.Pd=w_.dom.Pd;w_.dom.DomHelper.prototype.Cc=w_.dom.Cc;
w_.dom.DomHelper.prototype.contains=w_.dom.contains;w_.dom.DomHelper.prototype.V=w_.dom.V;w_.dom.DomHelper.prototype.mc=w_.dom.mc;w_.dom.DomHelper.prototype.Gd=w_.dom.Gd;w_.dom.DomHelper.prototype.qe=w_.dom.qe;w_.dom.DomHelper.prototype.yd=w_.dom.yd;w_.dom.DomHelper.prototype.zd=w_.dom.zd;w_.dom.DomHelper.prototype.Bb=w_.dom.Bb;w_.dom.DomHelper.prototype.Md=w_.dom.Md;w_.dom.DomHelper.prototype.Nd=w_.dom.Nd;w_.dom.DomHelper.prototype.Cd=w_.dom.Cd;w_.dom.DomHelper.prototype.jc=w_.dom.jc;w_.dom.xml={};w_.dom.xml.MAX_XML_SIZE_KB=2048;w_.dom.xml.MAX_ELEMENT_DEPTH=256;w_.dom.xml.createDocument=function(a,b){if(b&&!a)w_a(Error("Can't create document with namespace and no root tag"));if(document.implementation&&document.implementation.createDocument)return document.implementation.createDocument(b||"",a||"",w_c);else if(typeof ActiveXObject!="undefined"){var c=w_.dom.xml.Lf();if(c){if(a)c.appendChild(c.createNode(w_.dom.NodeType.ELEMENT,a,b||""));return c}}w_a(Error("Your browser does not support creating new documents"))};
w_.dom.xml.loadXml=function(a){if(typeof DOMParser!="undefined")return(new DOMParser).parseFromString(a,"application/xml");else if(typeof ActiveXObject!="undefined"){var b=w_.dom.xml.Lf();b.loadXML(a);return b}w_a(Error("Your browser does not support loading xml documents"))};w_.dom.xml.serialize=function(a){if(typeof XMLSerializer!="undefined")return(new XMLSerializer).serializeToString(a);var b=a.xml;if(b)return b;w_a(Error("Your browser does not support serializing XML documents"))};
w_.dom.xml.selectSingleNode=function(a,b){if(typeof a.selectSingleNode!="undefined"){var c=w_.dom.V(a);typeof c.setProperty!="undefined"&&c.setProperty("SelectionLanguage","XPath");return a.selectSingleNode(b)}else if(document.implementation.hasFeature("XPath","3.0")){c=w_.dom.V(a);var d=c.createNSResolver(c.documentElement),e=c.evaluate(b,a,d,XPathResult.FIRST_ORDERED_NODE_TYPE,w_c);return e.singleNodeValue}return w_c};
w_.dom.xml.selectNodes=function(a,b){if(typeof a.selectNodes!="undefined"){var c=w_.dom.V(a);typeof c.setProperty!="undefined"&&c.setProperty("SelectionLanguage","XPath");return a.selectNodes(b)}else if(document.implementation.hasFeature("XPath","3.0")){c=w_.dom.V(a);for(var d=c.createNSResolver(c.documentElement),e=c.evaluate(b,a,d,XPathResult.ORDERED_NODE_SNAPSHOT_TYPE,w_c),f=[],g=e.snapshotLength,h=0;h<g;h++)f.push(e.snapshotItem(h));return f}else return[]};
w_.dom.xml.Lf=function(){var a=new ActiveXObject("MSXML2.DOMDocument");if(a){a.resolveExternals=w_d;a.validateOnParse=w_d;a.setProperty("ProhibitDTD",w_b);a.setProperty("MaxXMLSize",w_.dom.xml.MAX_XML_SIZE_KB);a.setProperty("MaxElementDepth",w_.dom.xml.MAX_ELEMENT_DEPTH)}return a};w_.iter={};w_.iter.Iterable=w_.typedef;w_.iter.StopIteration="StopIteration"in w_.global?w_.global.StopIteration:Error("StopIteration");w_.iter.Iterator=function(){};w_.iter.Iterator.prototype.next=function(){w_a(w_.iter.StopIteration)};w_.iter.Iterator.prototype.__iterator__=function(){return this};
w_.iter.toIterator=function(a){if(a instanceof w_.iter.Iterator)return a;if(typeof a.__iterator__=="function")return a.__iterator__(w_d);if(w_.isArrayLike(a)){var b=0,c=new w_.iter.Iterator;c.next=function(){for(;1;){if(b>=a.length)w_a(w_.iter.StopIteration);if(b in a)return a[b++];else b++}};return c}w_a(Error("Not implemented"))};
w_.iter.forEach=function(a,b,c){if(w_.isArrayLike(a))try{w_.array.forEach(a,b,c)}catch(d){if(d!==w_.iter.StopIteration)w_a(d)}else{a=w_.iter.toIterator(a);try{for(;1;)b.call(c,a.next(),undefined,a)}catch(e){if(e!==w_.iter.StopIteration)w_a(e)}}};w_.iter.filter=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator;d.next=function(){for(;1;){var e=a.next();if(b.call(c,e,undefined,a))return e}};return d};
w_.iter.range=function(a,b,c){var d=0,e=a,f=c||1;if(arguments.length>1){d=a;e=b}if(f==0)w_a(Error("Range step argument must not be zero"));var g=new w_.iter.Iterator;g.next=function(){if(f>0&&d>=e||f<0&&d<=e)w_a(w_.iter.StopIteration);var h=d;d+=f;return h};return g};w_.iter.join=function(a,b){return w_.iter.toArray(a).join(b)};w_.iter.map=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator;d.next=function(){for(;1;){var e=a.next();return b.call(c,e,undefined,a)}};return d};
w_.iter.reduce=function(a,b,c,d){var e=c;w_.iter.forEach(a,function(f){e=b.call(d,e,f)});return e};w_.iter.some=function(a,b,c){a=w_.iter.toIterator(a);try{for(;1;)if(b.call(c,a.next(),undefined,a))return w_b}catch(d){if(d!==w_.iter.StopIteration)w_a(d)}return w_d};w_.iter.every=function(a,b,c){a=w_.iter.toIterator(a);try{for(;1;)if(!b.call(c,a.next(),undefined,a))return w_d}catch(d){if(d!==w_.iter.StopIteration)w_a(d)}return w_b};
w_.iter.chain=function(){var a=arguments,b=a.length,c=0,d=new w_.iter.Iterator;d.next=function(){try{if(c>=b)w_a(w_.iter.StopIteration);var e=w_.iter.toIterator(a[c]);return e.next()}catch(f){if(f!==w_.iter.StopIteration||c>=b)w_a(f);else{c++;return this.next()}}};return d};w_.iter.dropWhile=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator,e=w_b;d.next=function(){for(;1;){var f=a.next();if(!(e&&b.call(c,f,undefined,a))){e=w_d;return f}}};return d};
w_.iter.takeWhile=function(a,b,c){a=w_.iter.toIterator(a);var d=new w_.iter.Iterator,e=w_b;d.next=function(){for(;1;)if(e){var f=a.next();if(b.call(c,f,undefined,a))return f;else e=w_d}else w_a(w_.iter.StopIteration)};return d};w_.iter.toArray=function(a){if(w_.isArrayLike(a))return w_.array.toArray(a);a=w_.iter.toIterator(a);var b=[];w_.iter.forEach(a,function(c){b.push(c)});return b};
w_.iter.equals=function(a,b){a=w_.iter.toIterator(a);b=w_.iter.toIterator(b);var c,d;try{for(;1;){c=d=w_d;var e=a.next();c=w_b;var f=b.next();d=w_b;if(e!=f)return w_d}}catch(g){if(g!==w_.iter.StopIteration)w_a(g);else{if(c&&!d)return w_d;if(!d)try{b.next();return w_d}catch(h){if(h!==w_.iter.StopIteration)w_a(h);return w_b}}}return w_d};w_.iter.nextOrValue=function(a,b){try{return w_.iter.toIterator(a).next()}catch(c){if(c!=w_.iter.StopIteration)w_a(c);return b}};w_.structs={};w_.structs.T=function(a){if(typeof a.T=="function")return a.T();if(w_.isArrayLike(a)||w_.isString(a))return a.length;return w_.object.T(a)};w_.structs.r=function(a){if(typeof a.r=="function")return a.r();if(w_.isString(a))return a.split("");if(w_.isArrayLike(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return w_.object.r(a)};
w_.structs.o=function(a){if(typeof a.o=="function")return a.o();if(typeof a.r=="function")return undefined;if(w_.isArrayLike(a)||w_.isString(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return w_.object.o(a)};w_.structs.contains=function(a,b){if(typeof a.contains=="function")return a.contains(b);if(typeof a.ha=="function")return a.ha(b);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.contains(a,b);return w_.object.ha(a,b)};
w_.structs.z=function(a){if(typeof a.z=="function")return a.z();if(w_.isArrayLike(a)||w_.isString(a))return w_.array.z(a);return w_.object.z(a)};w_.structs.clear=function(a){if(typeof a.clear=="function")a.clear();else w_.isArrayLike(a)?w_.array.clear(a):w_.object.clear(a)};
w_.structs.forEach=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(w_.isArrayLike(a)||w_.isString(a))w_.array.forEach(a,b,c);else for(var d=w_.structs.o(a),e=w_.structs.r(a),f=e.length,g=0;g<f;g++)b.call(c,e[g],d&&d[g],a)};
w_.structs.filter=function(a,b,c){if(typeof a.filter=="function")return a.filter(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.filter(a,b,c);var d,e=w_.structs.o(a),f=w_.structs.r(a),g=f.length;if(e){d={};for(var h=0;h<g;h++)if(b.call(c,f[h],e[h],a))d[e[h]]=f[h]}else{d=[];for(h=0;h<g;h++)b.call(c,f[h],undefined,a)&&d.push(f[h])}return d};
w_.structs.map=function(a,b,c){if(typeof a.map=="function")return a.map(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.map(a,b,c);var d,e=w_.structs.o(a),f=w_.structs.r(a),g=f.length;if(e){d={};for(var h=0;h<g;h++)d[e[h]]=b.call(c,f[h],e[h],a)}else{d=[];for(h=0;h<g;h++)d[h]=b.call(c,f[h],undefined,a)}return d};
w_.structs.some=function(a,b,c){if(typeof a.some=="function")return a.some(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.some(a,b,c);for(var d=w_.structs.o(a),e=w_.structs.r(a),f=e.length,g=0;g<f;g++)if(b.call(c,e[g],d&&d[g],a))return w_b;return w_d};
w_.structs.every=function(a,b,c){if(typeof a.every=="function")return a.every(b,c);if(w_.isArrayLike(a)||w_.isString(a))return w_.array.every(a,b,c);for(var d=w_.structs.o(a),e=w_.structs.r(a),f=e.length,g=0;g<f;g++)if(!b.call(c,e[g],d&&d[g],a))return w_d;return w_b};w_.structs.Map=function(a){this.H={};this.s=[];var b=arguments.length;if(b>1){if(b%2)w_a(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.sf(a)};w_.structs.Map.prototype.h=0;w_.structs.Map.prototype.kb=0;w_.structs.Map.prototype.T=function(){return this.h};w_.structs.Map.prototype.r=function(){this.Ra();for(var a=[],b=0;b<this.s.length;b++){var c=this.s[b];a.push(this.H[c])}return a};w_.structs.Map.prototype.o=function(){this.Ra();return this.s.concat()};
w_.structs.Map.prototype.w=function(a){return w_.structs.Map.Fa(this.H,a)};w_.structs.Map.prototype.ha=function(a){for(var b=0;b<this.s.length;b++){var c=this.s[b];if(w_.structs.Map.Fa(this.H,c)&&this.H[c]==a)return w_b}return w_d};w_.structs.Map.prototype.equals=function(a,b){if(this===a)return w_b;if(this.h!=a.T())return w_d;var c=b||w_.structs.Map.defaultEquals;this.Ra();for(var d,e=0;d=this.s[e];e++)if(!c(this.get(d),a.get(d)))return w_d;return w_b};
w_.structs.Map.defaultEquals=function(a,b){return a===b};w_.structs.Map.prototype.z=function(){return this.h==0};w_.structs.Map.prototype.clear=function(){this.H={};this.kb=this.h=this.s.length=0};w_.structs.Map.prototype.remove=function(a){if(w_.structs.Map.Fa(this.H,a)){delete this.H[a];this.h--;this.kb++;this.s.length>2*this.h&&this.Ra();return w_b}return w_d};
w_.structs.Map.prototype.Ra=function(){if(this.h!=this.s.length){for(var a=0,b=0;a<this.s.length;){var c=this.s[a];if(w_.structs.Map.Fa(this.H,c))this.s[b++]=c;a++}this.s.length=b}if(this.h!=this.s.length){var d={};for(b=a=0;a<this.s.length;){c=this.s[a];if(!w_.structs.Map.Fa(d,c)){this.s[b++]=c;d[c]=1}a++}this.s.length=b}};w_.structs.Map.prototype.get=function(a,b){if(w_.structs.Map.Fa(this.H,a))return this.H[a];return b};
w_.structs.Map.prototype.set=function(a,b){if(!w_.structs.Map.Fa(this.H,a)){this.h++;this.s.push(a);this.kb++}this.H[a]=b};w_.structs.Map.prototype.sf=function(a){var b,c;if(a instanceof w_.structs.Map){b=a.o();c=a.r()}else{b=w_.object.o(a);c=w_.object.r(a)}for(var d=0;d<b.length;d++)this.set(b[d],c[d])};w_.structs.Map.prototype.clone=function(){return new w_.structs.Map(this)};
w_.structs.Map.prototype.transpose=function(){for(var a=new w_.structs.Map,b=0;b<this.s.length;b++){var c=this.s[b],d=this.H[c];a.set(d,c)}return a};w_.structs.Map.prototype.__iterator__=function(a){this.Ra();var b=0,c=this.s,d=this.H,e=this.kb,f=this,g=new w_.iter.Iterator;g.next=function(){for(;1;){if(e!=f.kb)w_a(Error("The map has changed since the iterator was created"));if(b>=c.length)w_a(w_.iter.StopIteration);var h=c[b++];return a?h:d[h]}};return g};
w_.structs.Map.Fa=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};w_.structs.Map.T=function(a){return w_.structs.T(a)};w_.structs.Map.r=function(a){return w_.structs.r(a)};w_.structs.Map.o=function(a){if(typeof a.o=="function")return a.o();var b=[];if(w_.isArrayLike(a))for(var c=0;c<a.length;c++)b.push(c);else return w_.object.o(a);return b};w_.structs.Map.w=function(a,b){if(typeof a.w=="function")return a.w(b);if(w_.isArrayLike(a))return Number(b)<a.length;return w_.object.w(a,b)};
w_.structs.Map.ha=function(a,b){return w_.structs.contains(a,b)};w_.structs.Map.z=function(a){return w_.structs.z(a)};w_.structs.Map.clear=function(a){w_.structs.clear(a)};w_.structs.Map.remove=function(a,b){if(typeof a.remove=="function")return a.remove(b);if(w_.isArrayLike(a))return w_.array.removeAt(a,Number(b));return w_.object.remove(a,b)};
w_.structs.Map.add=function(a,b,c){if(typeof a.add=="function")a.add(b,c);else if(w_.structs.Map.w(a,b))w_a(Error('The collection already contains the key "'+b+'"'));else w_.structs.Map.set(a,b,c)};w_.structs.Map.get=function(a,b,c){if(typeof a.get=="function")return a.get(b,c);if(w_.structs.Map.w(a,b))return a[b];return c};w_.structs.Map.set=function(a,b,c){if(typeof a.set=="function")a.set(b,c);else a[b]=c};w_.asserts={};w_.asserts.assert=function(a,b){if(w_.DEBUG&&!a)w_a(Error("Assertion failed"+(b?": "+b:"")))};w_.asserts.fail=function(a){if(w_.DEBUG)w_a(Error("Failure"+(a?": "+a:"")))};w_.uri={};w_.uri.utils={};w_.uri.utils.pb={AMPERSAND:38,EQUAL:61,HASH:35,QUESTION:63};w_.uri.utils.buildFromEncodedParts=function(a,b,c,d,e,f,g){var h=[];a&&h.push(a,":");if(c){h.push("//");b&&h.push(b,"@");h.push(c);d&&h.push(":",d)}e&&h.push(e);f&&h.push("?",f);g&&h.push("#",g);return h.join("")};w_.uri.utils.si=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/;
w_.uri.utils.ComponentIndex={SCHEME:1,USER_INFO:2,DOMAIN:3,PORT:4,PATH:5,QUERY_DATA:6,FRAGMENT:7};w_.uri.utils.split=function(a){return a.match(w_.uri.utils.si)};w_.uri.utils.dc=function(a){return a&&decodeURIComponent(a)};w_.uri.utils.ab=function(a,b){return w_.uri.utils.split(b)[a]||w_c};w_.uri.utils.rc=function(a){return w_.uri.utils.ab(w_.uri.utils.ComponentIndex.SCHEME,a)};w_.uri.utils.getUserInfoEncoded=function(a){return w_.uri.utils.ab(w_.uri.utils.ComponentIndex.USER_INFO,a)};
w_.uri.utils.uc=function(a){return w_.uri.utils.dc(w_.uri.utils.getUserInfoEncoded(a))};w_.uri.utils.getDomainEncoded=function(a){return w_.uri.utils.ab(w_.uri.utils.ComponentIndex.DOMAIN,a)};w_.uri.utils.ka=function(a){return w_.uri.utils.dc(w_.uri.utils.getDomainEncoded(a))};w_.uri.utils.zb=function(a){return Number(w_.uri.utils.ab(w_.uri.utils.ComponentIndex.PORT,a))||w_c};w_.uri.utils.getPathEncoded=function(a){return w_.uri.utils.ab(w_.uri.utils.ComponentIndex.PATH,a)};w_.uri.utils.Ea=function(a){return w_.uri.utils.dc(w_.uri.utils.getPathEncoded(a))};
w_.uri.utils.qc=function(a){return w_.uri.utils.ab(w_.uri.utils.ComponentIndex.QUERY_DATA,a)};w_.uri.utils.getFragmentEncoded=function(a){var b=a.indexOf("#");return b<0?w_c:a.substr(b+1)};w_.uri.utils.lc=function(a){return w_.uri.utils.dc(w_.uri.utils.getFragmentEncoded(a))};w_.uri.utils.getHost=function(a){var b=w_.uri.utils.split(a);return w_.uri.utils.buildFromEncodedParts(b[w_.uri.utils.ComponentIndex.SCHEME],b[w_.uri.utils.ComponentIndex.USER_INFO],b[w_.uri.utils.ComponentIndex.DOMAIN],b[w_.uri.utils.ComponentIndex.PORT])};
w_.uri.utils.getPathAndAfter=function(a){var b=w_.uri.utils.split(a);return w_.uri.utils.buildFromEncodedParts(w_c,w_c,w_c,w_c,b[w_.uri.utils.ComponentIndex.PATH],b[w_.uri.utils.ComponentIndex.QUERY_DATA],b[w_.uri.utils.ComponentIndex.FRAGMENT])};w_.uri.utils.removeFragment=function(a){var b=a.indexOf("#");return b<0?a:a.substr(0,b)};
w_.uri.utils.haveSameDomain=function(a,b){var c=w_.uri.utils.split(a),d=w_.uri.utils.split(b);return c[w_.uri.utils.ComponentIndex.DOMAIN]==d[w_.uri.utils.ComponentIndex.DOMAIN]&&c[w_.uri.utils.ComponentIndex.SCHEME]==d[w_.uri.utils.ComponentIndex.SCHEME]&&c[w_.uri.utils.ComponentIndex.PORT]==d[w_.uri.utils.ComponentIndex.PORT]};w_.uri.utils.xf=function(){};w_.uri.utils.jd=function(a){w_.uri.utils.xf(a[0]);if(a[1]){var b=a[0].indexOf("?");if(b<0)a[1]="?";else if(b==a[0].length-1)a[1]=""}return a.join("")};
w_.uri.utils.wf=function(a,b,c){if(w_.isArray(b)){b=b;for(var d=0;d<b.length;d++)c.push("&",a,"=",w_.string.urlEncode(b[d]))}else b!=w_c&&c.push("&",a,"=",w_.string.urlEncode(b))};w_.uri.utils.Ef=function(a,b,c){w_.asserts.assert(Math.max(b.length-(c||0),0)%2==0,"goog.uri.utils: Key/value lists must be even in length.");for(var d=c||0;d<b.length;d+=2)w_.uri.utils.wf(b[d],b[d+1],a);return a};w_.uri.utils.buildQueryData=function(a,b){var c=w_.uri.utils.Ef([],a,b);c[0]="";return c.join("")};
w_.uri.utils.Df=function(a,b){for(var c in b)w_.uri.utils.wf(c,b[c],a);return a};w_.uri.utils.buildQueryDataFromMap=function(a){var b=w_.uri.utils.Df([],a);b[0]="";return b.join("")};w_.uri.utils.appendParams=function(a){return w_.uri.utils.jd(w_.uri.utils.Ef([a],arguments,1))};w_.uri.utils.appendParamsFromMap=function(a,b){return w_.uri.utils.jd(w_.uri.utils.Df([a],b))};w_.uri.utils.appendParam=function(a,b,c){return w_.uri.utils.jd([a,"&",b,"=",w_.string.urlEncode(c)])};
w_.uri.utils.ic=function(a,b,c,d){for(var e=b,f=c.length;(e=a.indexOf(c,e))>=0&&e<d;){var g=a.charCodeAt(e-1);if(g==w_.uri.utils.pb.AMPERSAND||g==w_.uri.utils.pb.QUESTION){var h=a.charCodeAt(e+f);if(!h||h==w_.uri.utils.pb.EQUAL||h==w_.uri.utils.pb.AMPERSAND||h==w_.uri.utils.pb.HASH)return e}e+=f+1}return-1};w_.uri.utils.Zd=/#|$/;w_.uri.utils.hasParam=function(a,b){return w_.uri.utils.ic(a,0,b,a.search(w_.uri.utils.Zd))>=0};
w_.uri.utils.getParamValue=function(a,b){var c=a.search(w_.uri.utils.Zd),d=w_.uri.utils.ic(a,0,b,c);if(d<0)return w_c;else{var e=a.indexOf("&",d);if(e<0||e>c)e=c;d+=b.length+1;return w_.string.urlDecode(a.substr(d,e-d))}};w_.uri.utils.getParamValues=function(a,b){for(var c=a.search(w_.uri.utils.Zd),d=0,e,f=[];(e=w_.uri.utils.ic(a,d,b,c))>=0;){d=a.indexOf("&",e);if(d<0||d>c)d=c;e+=b.length+1;f.push(w_.string.urlDecode(a.substr(e,d-e)))}return f};w_.uri.utils.wi=/[?&]$/;
w_.uri.utils.removeParam=function(a,b){w_.uri.utils.xf(a);for(var c=a.length,d=0,e,f=[];(e=w_.uri.utils.ic(a,d,b,c))>=0;){f.push(a.substring(d,e));d=a.indexOf("&",e)+1||c}f.push(a.substr(d));return f.join("").replace(w_.uri.utils.wi,"")};w_.Uri=function(a,b){var c;if(a instanceof w_.Uri){this.ua(b==w_c?a.ig():b);this.Lb(a.rc());this.Mb(a.uc());this.Hb(a.ka());this.Jb(a.zb());this.ib(a.Ea());this.Hc(a.qc().clone());this.Ib(a.lc())}else if(a&&(c=w_.uri.utils.split(String(a)))){this.ua(!!b);this.Lb(c[w_.uri.utils.ComponentIndex.SCHEME]||"",w_b);this.Mb(c[w_.uri.utils.ComponentIndex.USER_INFO]||"",w_b);this.Hb(c[w_.uri.utils.ComponentIndex.DOMAIN]||"",w_b);this.Jb(c[w_.uri.utils.ComponentIndex.PORT]);this.ib(c[w_.uri.utils.ComponentIndex.PATH]||
"",w_b);this.pe(c[w_.uri.utils.ComponentIndex.QUERY_DATA]||"",w_b);this.Ib(c[w_.uri.utils.ComponentIndex.FRAGMENT]||"",w_b)}else{this.ua(!!b);this.G=new w_.Uri.QueryData(w_c,this,this.aa)}};w_.Uri.RANDOM_PARAM="zx";w_.Uri.prototype.ea="";w_.Uri.prototype.Pa="";w_.Uri.prototype.ia="";w_.Uri.prototype.Ma=w_c;w_.Uri.prototype.La="";w_.Uri.prototype.Ca="";w_.Uri.prototype.Dg=w_d;w_.Uri.prototype.aa=w_d;
w_.Uri.prototype.toString=function(){if(this.Z)return this.Z;var a=[];this.ea&&a.push(w_.Uri.wb(this.ea,w_.Uri.Xg),":");if(this.ia){a.push("//");this.Pa&&a.push(w_.Uri.wb(this.Pa,w_.Uri.Xg),"@");a.push(w_.Uri.Ph(this.ia));this.Ma!=w_c&&a.push(":",String(this.zb()))}this.La&&a.push(w_.Uri.wb(this.La,w_.Uri.ii));var b=String(this.G);b&&a.push("?",b);this.Ca&&a.push("#",w_.Uri.wb(this.Ca,w_.Uri.hi));return this.Z=a.join("")};
w_.Uri.prototype.resolve=function(a){var b=this.clone(),c=a.wg();if(c)b.Lb(a.rc());else c=a.xg();if(c)b.Mb(a.uc());else c=a.Xd();if(c)b.Hb(a.ka());else c=a.ug();var d=a.Ea();if(c)b.Jb(a.zb());else if(c=a.Yd()){if(d.charAt(0)!="/")if(this.Xd()&&!this.Yd())d="/"+d;else{var e=b.Ea().lastIndexOf("/");if(e!=-1)d=b.Ea().substr(0,e+1)+d}d=w_.Uri.removeDotSegments(d)}if(c)b.ib(d);else c=a.vg();if(c)b.pe(a.ag());else c=a.tg();c&&b.Ib(a.lc());return b};
w_.Uri.prototype.clone=function(){return w_.Uri.create(this.ea,this.Pa,this.ia,this.Ma,this.La,this.G.clone(),this.Ca,this.aa)};w_.Uri.prototype.rc=function(){return this.ea};w_.Uri.prototype.Lb=function(a,b){this.ca();delete this.Z;if(this.ea=b?w_.Uri.Sa(a):a)this.ea=this.ea.replace(/:$/,"");return this};w_.Uri.prototype.wg=function(){return!!this.ea};w_.Uri.prototype.uc=function(){return this.Pa};w_.Uri.prototype.Mb=function(a,b){this.ca();delete this.Z;this.Pa=b?w_.Uri.Sa(a):a;return this};
w_.Uri.prototype.xg=function(){return!!this.Pa};w_.Uri.prototype.ka=function(){return this.ia};w_.Uri.prototype.Hb=function(a,b){this.ca();delete this.Z;this.ia=b?w_.Uri.Sa(a):a;return this};w_.Uri.prototype.Xd=function(){return!!this.ia};w_.Uri.prototype.zb=function(){return this.Ma};w_.Uri.prototype.Jb=function(a){this.ca();delete this.Z;if(a){a=Number(a);if(isNaN(a)||a<0)w_a(Error("Bad port number "+a));this.Ma=a}else this.Ma=w_c;return this};w_.Uri.prototype.ug=function(){return this.Ma!=w_c};
w_.Uri.prototype.Ea=function(){return this.La};w_.Uri.prototype.ib=function(a,b){this.ca();delete this.Z;this.La=b?w_.Uri.Sa(a):a;return this};w_.Uri.prototype.Yd=function(){return!!this.La};w_.Uri.prototype.vg=function(){return this.G.toString()!==""};w_.Uri.prototype.Hc=function(a,b){this.ca();delete this.Z;if(a instanceof w_.Uri.QueryData){this.G=a;this.G.Nb=this;this.G.ua(this.aa)}else{b||(a=w_.Uri.wb(a,w_.Uri.ji));this.G=new w_.Uri.QueryData(a,this,this.aa)}return this};
w_.Uri.prototype.pe=function(a,b){return this.Hc(a,b)};w_.Uri.prototype.hg=function(){return this.G.toString()};w_.Uri.prototype.ag=function(){return this.G.kh()};w_.Uri.prototype.qc=function(){return this.G};w_.Uri.prototype.Ab=function(){return this.hg()};w_.Uri.prototype.Gc=function(a,b){this.ca();delete this.Z;w_.isArray(b)||(b=[String(b)]);this.G.hh(a,b);return this};w_.Uri.prototype.lg=function(a){return this.G.get(a)};w_.Uri.prototype.lc=function(){return this.Ca};
w_.Uri.prototype.Ib=function(a,b){this.ca();delete this.Z;this.Ca=b?w_.Uri.Sa(a):a;return this};w_.Uri.prototype.tg=function(){return!!this.Ca};w_.Uri.prototype.removeParameter=function(a){this.ca();this.G.remove(a);return this};w_.Uri.prototype.ca=function(){if(this.Dg)w_a(Error("Tried to modify a read-only Uri"))};w_.Uri.prototype.ua=function(a){this.aa=a;this.G&&this.G.ua(a)};w_.Uri.prototype.ig=function(){return this.aa};
w_.Uri.parse=function(a,b){return a instanceof w_.Uri?a.clone():new w_.Uri(a,b)};w_.Uri.create=function(a,b,c,d,e,f,g,h){var i=new w_.Uri(w_c,h);a&&i.Lb(a);b&&i.Mb(b);c&&i.Hb(c);d&&i.Jb(d);e&&i.ib(e);f&&i.Hc(f);g&&i.Ib(g);return i};w_.Uri.resolve=function(a,b){a instanceof w_.Uri||(a=w_.Uri.parse(a));b instanceof w_.Uri||(b=w_.Uri.parse(b));return a.resolve(b)};
w_.Uri.removeDotSegments=function(a){if(a==".."||a==".")return"";else if(!w_.string.contains(a,"./")&&!w_.string.contains(a,"/."))return a;else{for(var b=w_.string.se(a,"/"),c=a.split("/"),d=[],e=0;e<c.length;){var f=c[e++];if(f==".")b&&e==c.length&&d.push("");else if(f==".."){if(d.length>1||d.length==1&&d[0]!="")d.pop();b&&e==c.length&&d.push("")}else{d.push(f);b=w_b}}return d.join("/")}};w_.Uri.Sa=function(a){return a?decodeURIComponent(a):""};
w_.Uri.Ph=function(a){if(w_.isString(a))return encodeURIComponent(a);return w_c};w_.Uri.Oh=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/;w_.Uri.wb=function(a,b){var c=w_c;if(w_.isString(a)){c=a;w_.Uri.Oh.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,w_.Uri.Nh)}return c};w_.Uri.Nh=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)};w_.Uri.Xg=/[#\/\?@]/g;w_.Uri.ii=/[\#\?]/g;w_.Uri.ji=/[\#\?@]/g;w_.Uri.hi=/#/g;
w_.Uri.haveSameDomain=function(a,b){var c=w_.uri.utils.split(a),d=w_.uri.utils.split(b);return c[w_.uri.utils.ComponentIndex.DOMAIN]==d[w_.uri.utils.ComponentIndex.DOMAIN]&&c[w_.uri.utils.ComponentIndex.PORT]==d[w_.uri.utils.ComponentIndex.PORT]};w_.Uri.QueryData=function(a,b,c){this.ja=a||w_c;this.Nb=b||w_c;this.aa=!!c};
w_.Uri.QueryData.prototype.R=function(){if(!this.j){this.j=new w_.structs.Map;if(this.ja)for(var a=this.ja.split("&"),b=0;b<a.length;b++){var c=a[b].indexOf("="),d=w_c,e=w_c;if(c>=0){d=a[b].substring(0,c);e=a[b].substring(c+1)}else d=a[b];d=w_.string.urlDecode(d);d=this.la(d);this.add(d,e?w_.string.urlDecode(e):"")}}};
w_.Uri.QueryData.createFromMap=function(a,b,c){var d=w_.structs.o(a);if(typeof d=="undefined")w_a(Error("Keys are undefined"));return w_.Uri.QueryData.createFromKeysValues(d,w_.structs.r(a),b,c)};w_.Uri.QueryData.createFromKeysValues=function(a,b,c,d){if(a.length!=b.length)w_a(Error("Mismatched lengths for keys/values"));for(var e=new w_.Uri.QueryData(w_c,c,d),f=0;f<a.length;f++)e.add(a[f],b[f]);return e};w_.Uri.QueryData.prototype.j=w_c;w_.Uri.QueryData.prototype.h=w_c;w_.Uri.QueryData.Ba=w_c;
w_.Uri.QueryData.prototype.T=function(){this.R();return this.h};w_.Uri.QueryData.prototype.add=function(a,b){this.R();this.Ia();a=this.la(a);if(this.w(a)){var c=this.j.get(a);w_.isArray(c)?c.push(b):this.j.set(a,[c,b])}else this.j.set(a,b);this.h++;return this};w_.Uri.QueryData.prototype.remove=function(a){this.R();a=this.la(a);if(this.j.w(a)){this.Ia();var b=this.j.get(a);if(w_.isArray(b))this.h-=b.length;else this.h--;return this.j.remove(a)}return w_d};
w_.Uri.QueryData.prototype.clear=function(){this.Ia();this.j&&this.j.clear();this.h=0};w_.Uri.QueryData.prototype.z=function(){this.R();return this.h==0};w_.Uri.QueryData.prototype.w=function(a){this.R();a=this.la(a);return this.j.w(a)};w_.Uri.QueryData.prototype.ha=function(a){var b=this.r();return w_.array.contains(b,a)};
w_.Uri.QueryData.prototype.o=function(){this.R();for(var a=this.j.r(),b=this.j.o(),c=[],d=0;d<b.length;d++){var e=a[d];if(w_.isArray(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};w_.Uri.QueryData.prototype.r=function(a){this.R();var b;if(a){var c=this.la(a);if(this.w(c)){var d=this.j.get(c);if(w_.isArray(d))return d;else{b=[];b.push(d)}}else b=[]}else{var e=this.j.r();b=[];for(var f=0;f<e.length;f++){var g=e[f];w_.isArray(g)?w_.array.extend(b,g):b.push(g)}}return b};
w_.Uri.QueryData.prototype.set=function(a,b){this.R();this.Ia();a=this.la(a);if(this.w(a)){var c=this.j.get(a);if(w_.isArray(c))this.h-=c.length;else this.h--}this.j.set(a,b);this.h++;return this};w_.Uri.QueryData.prototype.get=function(a,b){this.R();a=this.la(a);if(this.w(a)){var c=this.j.get(a);return w_.isArray(c)?c[0]:c}else return b};
w_.Uri.QueryData.prototype.hh=function(a,b){this.R();this.Ia();a=this.la(a);if(this.w(a)){var c=this.j.get(a);if(w_.isArray(c))this.h-=c.length;else this.h--}if(b.length>0){this.j.set(a,b);this.h+=b.length}};
w_.Uri.QueryData.prototype.toString=function(){if(this.ja)return this.ja;if(!this.j)return"";for(var a=[],b=0,c=this.j.o(),d=0;d<c.length;d++){var e=c[d],f=w_.string.urlEncode(e),g=this.j.get(e);if(w_.isArray(g))for(var h=0;h<g.length;h++){b>0&&a.push("&");a.push(f,"=",w_.string.urlEncode(g[h]));b++}else{b>0&&a.push("&");a.push(f,"=",w_.string.urlEncode(g));b++}}return this.ja=a.join("")};w_.Uri.QueryData.prototype.kh=function(){if(!this.Ba)this.Ba=w_.Uri.Sa(this.toString());return this.Ba};
w_.Uri.QueryData.prototype.Ia=function(){delete this.Ba;delete this.ja;this.Nb&&delete this.Nb.Z};w_.Uri.QueryData.prototype.clone=function(){var a=new w_.Uri.QueryData;if(this.Ba)a.Ba=this.Ba;if(this.ja)a.ja=this.ja;if(this.j)a.j=this.j.clone();return a};w_.Uri.QueryData.prototype.la=function(a){var b=String(a);if(this.aa)b=b.toLowerCase();return b};
w_.Uri.QueryData.prototype.ua=function(a){var b=a&&!this.aa;if(b){this.R();this.Ia();w_.structs.forEach(this.j,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.aa=a};w_.Uri.QueryData.prototype.extend=function(){for(var a=0;a<arguments.length;a++){var b=arguments[a];w_.structs.forEach(b,function(c,d){this.add(d,c)},this)}};w_.net={};w_.net.Jsonp=function(a,b){this.Nb=new w_.Uri(a);this.yh=b?b:"callback";this.Lc=5000};w_.net.Jsonp.CALLBACKS="_callbacks_";w_.net.Jsonp.li=0;w_.net.Jsonp.prototype.Ic=function(a){this.Lc=a};
w_.net.Jsonp.prototype.send=function(a,b,c,d){if(!document.documentElement.firstChild){c&&c(a);return w_c}var e=d||"_"+(w_.net.Jsonp.li++).toString(36)+w_.now().toString(36);w_.global[w_.net.Jsonp.CALLBACKS]||(w_.global[w_.net.Jsonp.CALLBACKS]={});var f=w_.dom.createElement("script"),g=w_c;if(this.Lc>0){var h=w_.net.Jsonp.ai(e,f,a,c);g=w_.global.setTimeout(h,this.Lc)}var i=this.Nb.clone();w_.net.Jsonp.vh(a,i);if(b){var j=w_.net.Jsonp.bi(e,f,b,g);w_.global[w_.net.Jsonp.CALLBACKS][e]=j;i.Gc(this.yh,
w_.net.Jsonp.CALLBACKS+"."+e)}w_.dom.Kb(f,{type:"text/javascript",id:e,charset:"UTF-8",src:i.toString()});w_.dom.appendChild(document.getElementsByTagName("head")[0],f);return{Gi:e,Lc:g}};w_.net.Jsonp.ai=function(a,b,c,d){return function(){w_.net.Jsonp.Gf(a,b,w_d);d&&d(c)}};w_.net.Jsonp.bi=function(a,b,c,d){return function(){w_.global.clearTimeout(d);w_.net.Jsonp.Gf(a,b,w_b);c.apply(undefined,arguments)}};
w_.net.Jsonp.Gf=function(a,b,c){w_.global.setTimeout(function(){w_.dom.removeNode(b)},0);if(w_.global[w_.net.Jsonp.CALLBACKS][a])if(c)delete w_.global[w_.net.Jsonp.CALLBACKS][a];else w_.global[w_.net.Jsonp.CALLBACKS][a]=w_.nullFunction};w_.net.Jsonp.vh=function(a,b){for(var c in a)if(!a.hasOwnProperty||a.hasOwnProperty(c))b.Gc(c,a[c]);return b};var w_G={};w_G.widget={};w_G.widget.bloglist={};w_G.widget.bloglist.FeedParser=function(a){this.rg(w_.dom.xml.loadXml(a))};w_G.widget.bloglist.FeedParser.prototype.$a=function(){return this.Bf};w_G.widget.bloglist.FeedParser.prototype.jg=function(){if(!this.eb)return w_c;return{link:this.Ua.nc(this.eb),title:this.Ua.og(this.eb),thumbnail:this.Ua.ng(this.eb),snippet:this.Ua.sc(this.eb),date:this.Ua.getDate(this.eb)}};
w_G.widget.bloglist.FeedParser.prototype.rg=function(a){for(var b=0;b<w_G.widget.bloglist.FeedParser.HINTS.length;b++){var c=w_G.widget.bloglist.FeedParser.HINTS[b],d=w_H(a,c.namespace,c.itemElem);if(d[0]){this.eb=d[0];this.Ua=new c.extractor;this.Bf=this.Ua.$a(a);return}}this.Bf=(new w_G.widget.bloglist.Extractor).$a(a)};w_G.widget.bloglist.Extractor=function(){};w_G.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH=160;w_G.widget.bloglist.Extractor.MAX_THUMBNAIL_SIZE=75;
w_G.widget.bloglist.Extractor.MEDIA_RSS_NS="http://search.yahoo.com/mrss/";w_G.widget.bloglist.Extractor.prototype.$a=function(a){var b=a.getElementsByTagName("link"),c=this.Jd(b);if(!c){b=w_H(a,"","link");c=b[0].firstChild.nodeValue}var d=w_.Uri.parse(c);d.qc().clear();d.ib("");return d.toString()};w_G.widget.bloglist.Extractor.prototype.og=function(a){return a.getElementsByTagName("title")[0].firstChild.nodeValue};
w_G.widget.bloglist.Extractor.prototype.ng=function(a){var b=w_H(a,w_G.widget.bloglist.Extractor.MEDIA_RSS_NS,"thumbnail");if(b[0]){var c={url:b[0].getAttribute("url"),width:parseInt(b[0].getAttribute("width"),10),height:parseInt(b[0].getAttribute("height"),10)},d=w_G.widget.bloglist.Extractor.MAX_THUMBNAIL_SIZE,e=Math.max(c.width/d,c.height/d);if(e>1){c.width=Math.round(c.width/e);c.height=Math.round(c.height/e)}return c}return w_c};
w_G.widget.bloglist.Extractor.prototype.normalize=function(a){if(a){a=w_.string.normalizeWhitespace(this.jh(a.firstChild.nodeValue));a=w_.string.trim(a);a=w_.string.normalizeSpaces(a);if(a.length>w_G.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH)a=a.substring(0,w_G.widget.bloglist.Extractor.MAX_SNIPPET_LENGTH)+"...";return a}return""};w_G.widget.bloglist.Extractor.prototype.jh=function(a){return a.replace(/<\/?\w[^>]*>/g,"")};
w_G.widget.bloglist.Extractor.prototype.Jd=function(a){for(var b=0;a[b];b++)if(a[b].getAttribute("rel")=="alternate")return a[b].getAttribute("href");return w_c};w_G.widget.bloglist.RSSExtractor=function(){};w_.inherits(w_G.widget.bloglist.RSSExtractor,w_G.widget.bloglist.Extractor);w_G.widget.bloglist.RSSExtractor.prototype.nc=function(a){var b=a.getElementsByTagName("link");return b[0]?w_.string.trim(b[0].firstChild.nodeValue):w_c};w_G.widget.bloglist.RSSExtractor.prototype.sc=function(a){return this.normalize(a.getElementsByTagName("description")[0])};
w_G.widget.bloglist.RSSExtractor.prototype.getDate=function(a){var b=a.getElementsByTagName("pubDate");return b[0]?new Date(b[0].firstChild.nodeValue):w_c};w_G.widget.bloglist.AtomExtractor=function(){};w_.inherits(w_G.widget.bloglist.AtomExtractor,w_G.widget.bloglist.Extractor);w_G.widget.bloglist.AtomExtractor.prototype.nc=function(a){var b=a.getElementsByTagName("link"),c=this.Jd(b);if(c)return c;return b[0]?b[0].getAttribute("href"):w_c};
w_G.widget.bloglist.AtomExtractor.prototype.sc=function(a){return this.normalize(a.getElementsByTagName("content")[0]||a.getElementsByTagName("summary")[0])};w_G.widget.bloglist.AtomExtractor.prototype.getDate=function(a){var b=a.getElementsByTagName("updated")[0]||a.getElementsByTagName("date")[0];if(b){var c=w_.date.fromIsoString(b.firstChild.nodeValue);return new Date(c.cb(),c.getMonth(),c.getDay(),c.getHours(),c.getMinutes(),c.getSeconds(),c.getMilliseconds())}return w_c};
w_G.widget.bloglist.FeedParser.HINTS=[{itemElem:"entry",namespace:"http://www.w3.org/2005/Atom",extractor:w_G.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"entry",namespace:"http://purl.org/atom/ns#",extractor:w_G.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"entry",namespace:"",extractor:w_G.widget.bloglist.AtomExtractor,hint:"atom"},{itemElem:"item",namespace:"http://purl.org/rss/1.0/",extractor:w_G.widget.bloglist.RSSExtractor,hint:"rss"},{itemElem:"item",namespace:"http://my.netscape.com/rdf/simple/0.9/",
extractor:w_G.widget.bloglist.RSSExtractor,hint:"rss"},{itemElem:"item",namespace:"",extractor:w_G.widget.bloglist.RSSExtractor,hint:"rss"}];function w_H(a,b,c){var d;if(b==w_c)b="";if(a.getElementsByTagNameNS)d=a.getElementsByTagNameNS(b,c);else{var e=a.getElementsByTagName("*");d=[];for(var f=0;f<e.length;f++){var g=e[f].tagName;g=g.substring(g.lastIndexOf(":")+1);g==c&&e[f].namespaceURI==b&&d.push(e[f])}}return d};function w_I(a){this.a=a;this.g=a.u()}w_I.Id={BLOGS:"blogs",CONTAINER:"container",ITEM_CONTENT:"item-content",SHOW_ALL:"show-all",SHOW_N:"show-n"};w_I.Action={CONFIGURE:"configure"};w_I.Fields={AJAX_VERSION:"ajaxVersion",NUM_ITEMS_TO_SHOW:"numItemsToShow",TOTAL_ITEMS:"totalItems"};w_I.FEED_FETCH_URL="http://ajax.googleapis.com/ajax/services/feed/load";w_I.WIDGET_TYPE_NAME="BlogList";w_I.prototype.Mc=w_c;w_I.prototype.Eb=w_c;w_I.prototype.e=function(){return w_I.WIDGET_TYPE_NAME};w_I.prototype.b=function(){return this.a};
w_I.prototype.i=function(){return w_d};w_I.prototype.d=function(a,b){a==w_I.Action.CONFIGURE&&this.a.m(b)};
w_I.prototype.k=function(){var a=this.a.n();this.Mc=a[w_I.Fields.TOTAL_ITEMS];this.Eb=a[w_I.Fields.NUM_ITEMS_TO_SHOW];if(a[w_I.Fields.AJAX_VERSION])for(var b=0;b<a.items.length;b++){var c=this.a.K(w_I.Id.CONTAINER),d=w_.dom.bb("div",w_I.Id.ITEM_CONTENT,c),e=a.items[b].feedUrl,f=new w_.net.Jsonp(w_I.FEED_FETCH_URL);f.Ic(-1);f.send({q:e,num:1,output:"json_xml",v:"1.0"},w_v(this.bh,this,d[b]))}if(this.Eb!=0&&this.Mc>this.Eb){var g=this.a.K(w_I.Id.SHOW_ALL);g.onclick=this.ve.bind(this);var h=this.a.K(w_I.Id.SHOW_N);
h.onclick=this.ve.bind(this)}var i=this.Wf.bind(this),j=window;if(j.addEventListener)j.addEventListener("load",i,w_d);else if(j.attachEvent)j.attachEvent("onload",i);else j.onload=i};
w_I.prototype.bh=function(a,b){if(!b.error){var c=this.a.n(),d=new w_G.widget.bloglist.FeedParser(b.responseData.xmlString),e=d.jg();if(e){var f=a.parentNode.parentNode.getElementsByTagName("input")[0];f.value=d.$a()+"/favicon.ico";c.showItemThumbnail&&e.thumbnail&&a.appendChild(w_.dom.l("div",{"class":"item-thumbnail"},w_.dom.l("a",{target:"_blank",href:e.link},w_.dom.l("img",{src:e.thumbnail.url,height:e.thumbnail.height,width:e.thumbnail.width,alt:"",border:0}))));if(c.showItemTitle)e.link?a.appendChild(w_.dom.l("span",
{"class":"item-title"},w_.dom.l("a",{href:e.link,target:"_blank"},e.title))):a.appendChild(w_.dom.l("span",{"class":"item-title"},e.title));if(c.showItemSnippet){c.showItemTitle&&a.appendChild(w_.dom.createTextNode(" - "));a.appendChild(w_.dom.l("span",{"class":"item-snippet"},e.snippet));c.showTimePeriodSinceLastUpdate&&e.date&&a.appendChild(w_Na(e.date.toLocaleDateString()))}}}};
w_I.prototype.ve=function(){for(var a=this.a.K(w_I.Id.BLOGS),b=a.getElementsByTagName("li"),c=this.Eb;c<this.Mc;c++){var d=b[c];w_sa(d,d.style.display=="none")}var e=this.a.K(w_I.Id.SHOW_ALL);w_m(e,e.style.display=="none");var f=this.a.K(w_I.Id.SHOW_N);w_m(f,f.style.display=="none")};w_I.prototype.Wf=function(){for(var a=this.a.K(w_I.Id.BLOGS),b=a.getElementsByTagName("input"),c=0;c<b.length;c++){var d=b[c],e=document.createElement("img");e.onload=this.tf.bind(e,d);e.src=d.value}};
w_I.prototype.tf=function(a){this.onload=function(){};this.alt="";this.width=this.height="16";var b=a.parentNode;b.replaceChild(this,a)};function w_Na(a){return w_.dom.l("div",{"class":"item-time"},a)}var _BlogListView=w_I;_BlogListView._Configure=_BlogListView.Configure;function w_J(a){this.a=a}w_J.WIDGET_TYPE_NAME="CustomSearch";w_J.ANCHOR_NAME="uds-search-results";w_J.prototype.e=function(){return w_J.WIDGET_TYPE_NAME};w_J.prototype.b=function(){return this.a};w_J.prototype.i=function(){return w_d};w_J.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};
w_J.prototype.k=function(){var a=this.b(),b=new w_z;google.load("search","1",{callback:w_Oa.bind(a),language:b.n("blog.locale")});var c=document.getElementById("uds-searchControl");if(!c){c=document.createElement("DIV");c.id="uds-searchControl";var d=document.createElement("A");d.name=w_J.ANCHOR_NAME;c.appendChild(d);var e=document.createElement("DIV");e.id="uds-searchResults";c.appendChild(e);var f=document.createElement("DIV");f.id="uds-searchClearResults";f.className="gsc-clear-button";f.innerHTML=
"&nbsp;";c.appendChild(f);var g=document.getElementById("main");g||(g=document.getElementsByTagName("body")[0]);g.insertBefore(c,g.firstChild)}};
function w_Oa(){var a=new GSearchControl,b=this.n();if(b.includeBlog){var c=new GblogSearch;c.setUserDefinedLabel(b.thisBlogMsg);c.setSiteRestriction(b.blogUrl);a.addSearcher(c)}if(b.includePostLinks){var d=new GwebSearch;d.setUserDefinedLabel(b.linkedFromHereMsg);d.setSiteRestriction({crefUrl:b.blogUrl+"cse.xml"});a.addSearcher(d)}for(var e=b.linkLists,f=0;f<e.length;f++){var g=new GwebSearch;g.setSiteRestriction({crefUrl:b.blogUrl+"cse.xml"},e[f].id.toLowerCase());g.setUserDefinedLabel(e[f].title);
a.addSearcher(g)}if(b.includeWeb){var h=new GwebSearch;h.setUserDefinedLabel(b.theWebMsg);a.addSearcher(h)}var i=new GSearchForm(w_d,this.K("form")),j=new GdrawOptions;j.setDrawMode(GSearchControl.DRAW_MODE_TABBED);j.setInput(i.input);a.setNoResultsString(GSearchControl.NO_RESULTS_DEFAULT_STRING);a.draw(document.getElementById("uds-searchResults"),j);i.input.onkeyup=i.input.onpaste=w_c;i.setOnSubmitCallback(w_c,w_v(w_Pa,w_c,i,a));document.getElementById("uds-searchClearResults").onclick=w_v(w_Qa,
w_c,a);w_K(w_d)}function w_Pa(a,b){var c=a.input.value;if(!c){w_Qa(b);return w_d}b.execute(c);w_K(w_b);var d=window.location.href,e=d.indexOf("#");if(e>=0)d=d.substring(0,e);window.location.href=d+"#"+w_J.ANCHOR_NAME;return w_b}function w_Qa(a){a.clearAllResults();w_K(w_d)}function w_K(a){document.getElementById("uds-searchClearResults").style.display=a?"block":"none"}var _CustomSearchView=w_J;_CustomSearchView._Configure=_CustomSearchView.Configure;function w_L(a){this.a=a;this.g=a.u()}w_L.WIDGET_TYPE_NAME="Image";w_L.prototype.b=function(){return this.a};w_L.prototype.e=function(){return w_L.WIDGET_TYPE_NAME};w_L.prototype.i=function(){return w_d};
w_L.prototype.k=function(){if(!(this.g.data.resize!="true")){var a=this.a.Y(this.g.instanceId+"_img"),b=this.g.rootElement;if(a&&b){var c;if(document.defaultView)c=parseInt(document.defaultView.getComputedStyle(b,w_c).width,10);else if(b.currentStyle){a.style.display="none";c=b.offsetWidth;a.style.display=""}else return;if(a.width>c){a.height=Math.round(c/a.width*a.height);a.width=c}a.style.visibility="visible"}}};w_L.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};var _ImageView=w_L;function w_M(a,b,c,d,e,f,g,h){this.J=a;this.Cf=b!="null"?b:w_c;this.Ig=c;this.Gg=d;this.Hg=e;this.gh=f;this.Jg=g;this.mi=h;this.Ga=this.na=-1;this.Ha=w_c;this.W=document.getElementById(this.J+"_picImg");this.bc=document.getElementById(this.J+"_changeImageLink");this.xc=document.getElementById(this.J+"_imageChoiceTable");this.Bg=document.getElementById(this.J+"_imgSrcFromPCRadio");this.Cg=document.getElementById(this.J+"_imgSrcFromWebRadio");this.p=document.getElementById(this.J+"_imgFileNameInput");
this.Cb=document.getElementById(this.J+"_imgUrlTextInput");this.yf=window.frames[this.J+"_asynchronousFileUploadIframe"];this.$d=0;this.D=new Image;this.D.onload=this.hitch(this,this.Sg);this.D.onerror=this.hitch(this,this.Rg);this.Xf=w_d;this.Wa=this.F=this.fe=w_c;this.me=w_d}w_M.prototype.de=function(){return this.Bg.checked};
w_M.prototype.Sg=function(){this.$d=0;w_B.ClearError(this.J+"_imgUrlTextError");w_B.ClearError(this.J+"_imgFileNameError");if(!this.de()||this.na==0){this.na=this.D.width;this.Ga=this.D.height;this.Ha=this.D.src}var a=1,b=1;if(this.D.width>300)a=300/this.D.width;if(this.D.height>300)b=300/this.D.height;var c=Math.min(a,b);this.W.style.width=Math.round(this.D.width*c)+"px";this.W.style.height=Math.round(this.D.height*c)+"px";this.W.src=this.D.src;this.W.style.display="";this.xc.style.display="none";
this.bc.style.display="";this.p.disabled=w_b;this.Ig&&this.Ig.call({},this.W.src,this.Ha,this.na,this.Ga)};w_M.prototype.jb=function(a,b,c,d){if(a){w_B.SetError(this.J+"_imgFileNameError",b);w_B.ClearError(this.J+"_imgUrlTextError")}else{w_B.SetError(this.J+"_imgUrlTextError",b);w_B.ClearError(this.J+"_imgFileNameError")}this.W.style.display="none";this.xc.style.display="";this.bc.style.display="none";this.p.disabled=w_d;this.Gg&&this.Gg.call({},c,d)};
w_M.prototype.Rg=function(){if(this.$d<2){this.$d++;var a=this.D.src;this.D.src="";this.Ja(a)}else this.jb(this.de(),WidgetMessages.SIV_INVALID_URL,this.W.src)};w_M.prototype.hitch=function(a,b){return function(){b.apply(a,arguments)}};w_M.prototype.Ja=function(a){this.re();this.D.src=a};
w_M.prototype.nd=function(a){var b=a||window.event;if(window.event){b.returnValue=w_d;b.cancelBubble=w_b}else{b.preventDefault();b.stopPropagation()}this.W.style.display="none";this.bc.style.display="none";this.xc.style.display="";this.p.disabled=w_d;this.Cb.value="";this.ne();this.me=w_b;this.Hg&&this.Hg.call({})};w_M.prototype.ae=function(){this.Bg.checked="true";this.Cb.value="";this.re();this.Og();this.Xf=w_b;try{this.F.submit()}catch(a){this.jb(w_b,WidgetMessages.SIV_INVALID_URL,this.F.value)}this.Ng()};
w_M.prototype.Qa=function(){var a=this.yf.document.result;a||this.jb(w_b,WidgetMessages.SIV_INVALID_URL,this.p.value);if(a.hasErrors)a.errors.length>0?this.jb(w_b,a.errors[0].message,this.p.value,a.Rh):this.jb(w_b,WidgetMessages.SIV_INVALID_URL,this.p.value,a.Rh);else{var b=Math.max(a.origWidth,a.origHeight),c=this.Td();if(this.na!=0&&c!=-1&&b>c){var d=c/b;this.na=Math.round(a.origWidth*d);this.Ga=Math.round(a.origHeight*d)}else{this.na=a.origWidth;this.Ga=a.origHeight}this.Ha=a.mainSrc;this.Ja(a.thumbSrc)}};
w_M.prototype.be=function(a){var b=a||window.event;if(!(b.keyCode==9)){this.Cg.checked="true";this.fe!=w_c&&window.clearTimeout(this.fe);var c=this.hitch(this,function(){if(this.me||this.D.src!=this.Cb.value){this.ne();this.Ja(this.Cb.value)}this.me=w_d});this.fe=window.setTimeout(c,1000)}};w_M.prototype.he=function(a){this.Cg.checked=w_b;this.Cb.value=a;this.Ja(a)};
w_M.prototype.re=function(){this.W.src="img/icon_inprogress.gif";this.W.style.width="200px";this.W.style.height="200px";this.W.style.display="";this.xc.style.display="none";this.bc.style.display="none"};
w_M.prototype.Og=function(){if(!this.F){this.F=document.createElement("form");this.F.action="imageUpload.do";this.F.method="POST";this.F.target=this.yf.name;this.F.encoding="multipart/form-data";this.F.style.display="none";if(this.Cf){var a=document.createElement("input");a.type="hidden";a.name="blogID";a.value=this.Cf;this.F.appendChild(a)}var b=document.createElement("input");b.type="hidden";b.name="sectionWidth";b.id="sectionWidth";this.F.appendChild(b);var c=document.createElement("input");c.type=
"hidden";c.name="photoUploadSecurityToken";c.value=this.mi;this.F.appendChild(c);document.body.appendChild(this.F)}var d=this.Td();if(d==-1)d=1600;document.getElementById("sectionWidth").value=d;this.Wa={parent:this.p.parentNode,nextSibling:this.p.nextSibling};this.p.parentNode.removeChild(this.p);this.F.appendChild(this.p)};w_M.prototype.Ng=function(){this.F.removeChild(this.p);this.Wa&&this.Wa.nextSibling?this.Wa.parent.insertBefore(this.p,this.Wa.nextSibling):this.Wa.parent.appendChild(this.p)};
w_M.prototype.ne=function(){var a=document.createElement("input");a.type="file";a.name=this.p.name;a.id=this.p.id;a.onchange=this.p.onchange;var b=this.p.nextSibling;b==w_c?this.p.parentNode.appendChild(a):this.p.parentNode.insertBefore(a,b);this.p.parentNode.removeChild(this.p);this.p=a};w_M.prototype.Td=function(){return this.gh==-1&&this.Jg?this.Jg():this.gh};function w_N(){this.usiContainers=[]}var w_Ra=new w_N;
w_N.prototype.qd=function(a,b,c,d,e,f,g,h){this.usiContainers[a]=new w_M(a,b,eval(c),eval(d),eval(e),f,eval(g),h);return this.usiContainers[a]};w_N.prototype.vc=function(a){return this.usiContainers[a]};w_N.prototype.Qa=function(a){var b=this.vc(a);b&&b.Xf&&b.Qa()};var _UploadSimpleImage=w_Ra;w_N.prototype._createUsiContainer=w_N.prototype.qd;w_N.prototype._getUsiContainer=w_N.prototype.vc;w_N.prototype._channelResultArrived=w_N.prototype.Qa;w_M.prototype._changeImage=w_M.prototype.nd;
w_M.prototype._imgUrlFileOnChange=w_M.prototype.ae;w_M.prototype._imgUrlTextOnKeyUp=w_M.prototype.be;w_M.prototype._loadInitialUrl=w_M.prototype.he;w_M.prototype._loadImageFromUrl=w_M.prototype.Ja;function _singleImageConfig_successfulUploadCallback(a,b,c,d){window.singleImageConfig_thumbImageUrl=a;window.singleImageConfig_imageUrl=b;window.singleImageConfig_imageWidth=c;window.singleImageConfig_imageHeight=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden"}function _singleImageConfig_resetCallback(){window.singleImageConfig_imageUrl=w_c;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible"}
function _SIV_getScaledContainerWidth(){return document.getElementById("checkShrink").checked?_SIV_getContainerWidth():-1}function _SIV_getContainerWidth(){var a=document.getElementById("sectionId").value,b=150;if(w_A.IsOpenerReachable(window)&&window.opener.document.getElementById(a)&&window.opener.document.getElementById(a).clientWidth>0)b=window.opener.document.getElementById(a).clientWidth;return b}
function _SIV_setConfigurationOptions(){if(window.singleImageConfig_imageUrl==w_c)w_A.N(window,WidgetMessages.SIV_NO_IMAGE,w_A.STATUS_MESSAGE_BAD_CLASS);else{var a=document.forms.config.widgetId.value,b=_SIV_getContainerWidth(),c=document.getElementById("checkShrink").checked,d=window.singleImageConfig_imageWidth,e=window.singleImageConfig_imageHeight;if(c){var f=1;if(d>b){f=b/d;d=b;e=Math.round(e*f)}}var g={originalUrl:window.singleImageConfig_imageUrl,originalWidth:window.singleImageConfig_imageWidth,
originalHeight:window.singleImageConfig_imageHeight,displayUrl:window.singleImageConfig_thumbImageUrl,displayWidth:d,displayHeight:e,sectionWidth:b,shrinkToFit:c,title:document.getElementById("title").value,caption:document.getElementById("imageCaption").value,link:document.getElementById("link").value,securityToken:document.forms.config.securityToken.value};w_A.SaveWidget(g,a,w_L.WIDGET_TYPE_NAME)}};function w_O(a){this.a=a;this.g=a.u()}w_O.successfulUploadCallback=function(a,b,c,d){w_O.vi=a;w_O.Ha=b;w_O.na=c;w_O.Ga=d;var e=document.getElementById("shrinkToFitRow");if(e)e.style.visibility="hidden";if(e=document.getElementById("shrinkToFitMessageRow"))e.style.visibility="hidden"};w_O.resetCallback=function(){w_O.Ha=w_c;var a=document.getElementById("shrinkToFitRow");if(a)a.style.visibility="visible";if(a=document.getElementById("shrinkToFitMessageRow"))a.style.visibility="visible"};
w_O.getScaledContainerWidth=function(){return document.getElementById("checkShrink").checked?w_O.getContainerWidth():-1};w_O.getContainerWidth=function(){var a=document.getElementById("sectionId").value,b=600;if(w_A.IsOpenerReachable(window)&&window.opener.document.getElementById(a))b=window.opener.document.getElementById(a).clientWidth;return b};w_O.WIDGET_TYPE_NAME="Header";w_O.prototype.e=function(){return w_O.WIDGET_TYPE_NAME};w_O.prototype.i=function(){return w_d};w_O.prototype.b=function(){return this.a};
w_O.prototype.d=function(a,b){this.a.m(b)};w_O.FilterMap={title:w_B.GetRequiredStringFilter(),description:w_c,imagePlacement:w_c,useImage:w_c,securityToken:w_c};
w_O.ConfigureWidget=function(){var a=document.forms.config.widgetId.value,b=document.forms.config.widgetType.value,c=w_B.ProcessForm(document.forms.config,w_O.FilterMap),d=w_O.getContainerWidth();if(c.success){if(w_O.Ha){var e=w_O.na,f=w_O.Ga,g=document.getElementById("checkShrink").checked;if(g){var h=1;if(e>d){h=d/e;e=d;f=Math.round(f*h)}}c.values.originalUrl=w_O.Ha;c.values.originalWidth=w_O.na;c.values.originalHeight=w_O.Ga;c.values.displayUrl=w_O.vi;c.values.displayWidth=e;c.values.displayHeight=
f;c.values.sectionWidth=d;c.values.shrinkToFit=g}c.values.securityToken=document.forms.config.securityToken.value;w_A.SaveWidget(c.values,a,b);return w_b}else return w_d};w_O.hideImageOptions=function(){document.getElementById("imageOptions").style.display="none";return w_d};w_O.showImageOptions=function(){document.getElementById("imageOptions").style.display="";return w_d};var _HeaderView=w_O;_HeaderView.prototype=w_O.prototype;_HeaderView._ConfigureWidget=_HeaderView.ConfigureWidget;
_HeaderView._hideImageOptions=_HeaderView.hideImageOptions;_HeaderView._showImageOptions=_HeaderView.showImageOptions;_HeaderView._successfulUploadCallback=_HeaderView.successfulUploadCallback;_HeaderView._resetCallback=_HeaderView.resetCallback;_HeaderView._getScaledContainerWidth=_HeaderView.getScaledContainerWidth;_HeaderView._getContainerWidth=_HeaderView.getContainerWidth;function w_P(a,b){this.a=a;this.g=a.u();this.xi=b}w_P.prototype.b=function(){return this.a};w_P.prototype.e=function(){return this.xi};w_P.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};
w_P.ConfigureWidget=function(a){setFormAndSubmit();var b=document.forms.stuffform.widgetId.value,c=document.forms.stuffform.securityToken.value,d=document.getElementById("textarea"),e=document.getElementById("title"),f=d.value;if(a=="Text")f=f.replace(/\n/g,"<br/>");var g={content:f,title:e.value,securityToken:c};w_A.SaveWidget(g,b,a)};function w_Q(a){w_P.call(this,a,"Text")}w_Q.inherits(w_P);w_Q.ConfigureWidget=function(){w_P.ConfigureWidget("Text")};function w_R(a){w_P.call(this,a,"HTML")}w_R.inherits(w_P);
w_R.ConfigureWidget=function(){w_P.ConfigureWidget("HTML")};var _TextView=w_Q;_TextView.prototype=w_Q.prototype;_TextView._ConfigureWidget=_TextView.ConfigureWidget;var _HTMLView=w_R;_HTMLView.prototype=w_R.prototype;_HTMLView._ConfigureWidget=_HTMLView.ConfigureWidget;function w_S(a){this.a=a}w_S.WIDGET_TYPE_NAME="VideoBar";w_S.prototype.e=function(){return w_S.WIDGET_TYPE_NAME};w_S.prototype.b=function(){return this.a};w_S.prototype.i=function(){return w_d};w_S.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_S.prototype.k=function(){var a=this.b();google.load("search","1",{callback:w_Sa.bind(a)});var b=a.K("bar");w_o(b,"videoBar-container")};
function w_Sa(){var a=this.K("bar"),b=this.n().format,c,d,e=this.n().expression;if(b=="VERTICAL"){c=w_d;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="110px"}else if(b=="HORIZONTAL-SMALL"){c=w_b;d=GSvideoBar.THUMBNAILS_SMALL;a.style.width="232px"}else if(b=="HORIZONTAL-MEDIUM"){c=w_b;d=GSvideoBar.THUMBNAILS_MEDIUM;a.style.width="432px"}var f={largeResultSet:w_d,horizontal:c,autoExecuteList:{cycleTime:GSvideoBar.CYCLE_TIME_LONG,cycleMode:GSvideoBar.CYCLE_MODE_RANDOM,executeList:e.split(/,/)},thumbnailSize:d};
new GSvideoBar(a,GSvideoBar.PLAYER_ROOT_FLOATING,f)}var _VideoBarView=w_S;_VideoBarView._Configure=_VideoBarView.Configure;function w_T(a){this.a=a}w_T.WIDGET_TYPE_NAME="NewsBar";w_T.prototype.e=function(){return w_T.WIDGET_TYPE_NAME};w_T.prototype.b=function(){return this.a};w_T.prototype.i=function(){return w_d};w_T.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_T.prototype.k=function(){var a=this.b();google.load("search","1",{callback:w_Ta.bind(a)});window._uds_nbw_donotrepair=w_b};
function w_Ta(){var a=this.K("bar"),b,c=this.n().format;if(c=="VERTICAL")b=w_d;else if(c=="HORIZONTAL-SMALL")b=w_b;else if(c=="HORIZONTAL-MEDIUM")b=w_b;var d=this.n().expression,e=this.n().linkNewWindow,f;f=e==w_b?GSearch.LINK_TARGET_BLANK:GSearch.LINK_TARGET_SELF;var g={largeResultSet:w_d,horizontal:b,linkTarget:f,title:" ",autoExecuteList:{executeList:d.split(/,/)}};if(b){g.autoExecuteList.cycleTime=GSnewsBar.CYCLE_TIME_MEDIUM;g.autoExecuteList.cycleMode=GSnewsBar.CYCLE_MODE_RANDOM}var h=new GSnewsBar(a,
g);window[a.id]=h}var _NewsBarView=w_T;_NewsBarView._Configure=_NewsBarView.Configure;function w_U(a){this.a=a}w_U.WIDGET_TYPE_NAME="Slideshow";w_U.prototype.e=function(){return w_U.WIDGET_TYPE_NAME};w_U.prototype.b=function(){return this.a};w_U.prototype.i=function(){return w_d};w_U.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_U.prototype.k=function(){var a=this.b();google.load("feeds","1",{callback:w_Ua.bind(a)})};
function w_Ua(){var a=this.K("slideshow"),b=this.n().computedFeed,c=this.n().linkNewWindow,d=c?google.feeds.LINK_TARGET_BLANK:google.feeds.LINK_TARGET_SELF,e={linkTarget:d,scaleImages:w_b,fullControlPanel:w_b,fullControlPanelSmallIcons:w_b,pauseOnHover:w_d,displayTime:this.n().speed};if(b.indexOf("http://api.flickr.com")==0)e.thumbnailUrlResolver=w_U.FlickrThumbResolver;if(this.n().randomizeFeed)e.feedLoadCallback=w_U.FeedRandomizer;new GFslideShow(b,a,e)}
w_U.FlickrThumbResolver=function(a){var b=google.feeds.getElementsByTagNameNS(a.xmlNode,"http://search.yahoo.com/mrss/","thumbnail"),c=w_c;if(b.length){var d=b[0];c=d.getAttribute("url");if(!c)c=d.firstChild.nodeValue;c=c.replace(/^(.*)_[st]\.([a-zA-Z]+)$/,"$1_m.$2")}return c};w_U.FeedRandomizer=function(a){for(var b=a.feed.entries,c=b.length-1;c>0;--c){var d=Math.floor(Math.random()*(c+1)),e=b[c];b[c]=b[d];b[d]=e}};var _SlideshowView=w_U;_SlideshowView._Configure=_SlideshowView.Configure;function w_V(){}w_V.Sh={title:w_c,showStyle:w_c,showPosts:w_c,chronological:w_c,frequency:w_c,yearPattern:w_c,monthPattern:w_c,weekPattern:w_c,showWeekEnd:w_c,dayPattern:w_c,securityToken:w_c};w_V.ACTIVE_PREVIEW_CLASS="active-preview";w_V.PREVIEW_CLASS="preview";w_V._SetConfigurationOptions=function(){w_x.ConfigureWidget(w_V.Sh)};
w_V.UpdateFrequency=function(){var a=w_B.GetFieldValue(document.forms.config.showStyle),b={year:a=="HIERARCHY",week:0,month:0,day:0},c=w_B.GetFieldValue(document.forms.config.frequency);if(c=="WEEKLY")b.week=1;else if(c=="MONTHLY")b.month=1;else if(c=="DAILY"){b.month=a=="HIERARCHY";b.day=1}var d=document.forms.config.showPosts;d.disabled=a=="HIERARCHY"?w_d:w_b;for(var e in b){var f=e+"pattern-wrap";w_sa(document.getElementById(f),b[e])}w_V.SelectPreview()};
w_V._Init=function(a){w_V.dh=a;w_V.gb=document.getElementById("archive-previews");w_V.Ug=w_Va(w_V.gb,w_V.PREVIEW_CLASS);w_V.UpdateFrequency();w_V.Reformat("yearly",document.forms.config.yearPattern);w_V.Reformat("monthly",document.forms.config.monthPattern);w_V.Reformat("weekly",document.forms.config.weekPattern);w_V.Reformat("daily",document.forms.config.dayPattern);w_V.UpdateWeekEnd();w_V.UpdatePreviewPostTitles();document.forms.config.chronological.checked&&w_V.ToggleDirection()};
w_V.SelectPreview=function(){for(var a=w_B.GetFieldValue(document.forms.config.showStyle),b=w_B.GetFieldValue(document.forms.config.frequency),c=0;c<w_V.Ug.length;c++){var d=w_V.Ug[c];if(w_n(d,a)&&w_n(d,b)){w_o(d,w_V.ACTIVE_PREVIEW_CLASS);w_n(d,"MENU")&&w_V.th(d)}else{w_p(d,w_V.ACTIVE_PREVIEW_CLASS);w_n(d,"MENU")&&w_V.sh(d)}}};w_V.sh=function(a){for(var b=a.getElementsByTagName("select"),c=0;c<b.length;c++)b[c].style.display="none"};
w_V.th=function(a){for(var b=a.getElementsByTagName("select"),c=0;c<b.length;c++)b[c].style.display="block"};w_V.Reformat=function(a,b){var c=w_V.dh[a];for(var d in c){var e=c[d][b.selectedIndex];e&&w_V.ReplaceSample(d,e)}a=="weekly"&&w_V.UpdateWeekEnd()};w_V.ReplaceSample=function(a,b){for(var c=w_Va(w_V.gb,a),d=0;d<c.length;d++){var e=c[d];e.innerHTML=b}};
w_V.UpdateWeekEnd=function(){w_Wa(w_V.gb,document.forms.config.showWeekEnd.checked,"weekend");for(var a=w_V.dh.weekly,b=document.getElementById("weekly-menu-select"),c=0,d=document.forms.config.weekPattern.selectedIndex,e=0;e<b.options.length;e++){var f=b.options[e],g=a["weekly"+c][d];c++;var h=a["weekly"+c][d],i=g;if(document.forms.config.showWeekEnd.checked)i=i+" - "+h;f.text=i}};w_V.UpdatePreviewPostTitles=function(){w_Wa(w_V.gb,document.forms.config.showPosts.checked,"preview-posts")};
w_V.ToggleDirection=function(){for(var a=w_V.gb.getElementsByTagName("UL"),b=0;b<a.length;b++){for(var c=a[b],d=c.ownerDocument.createDocumentFragment();c.hasChildNodes();)d.appendChild(c.lastChild);c.appendChild(d)}var e=w_V.gb.getElementsByTagName("SELECT");for(b=0;b<e.length;b++){for(var f=e[b],g=f.options.length,h=0;h<=g/2;h++){var i=f.options[h].innerHTML,j=g-h-1;f.options[h].innerHTML=f.options[j].innerHTML;f.options[j].innerHTML=i}f.options[0].selected=0}};
function w_Wa(a,b,c){for(var d=w_Va(a,c),e=0;e<d.length;e++){var f=d[e];w_m(f,b)}}function w_Va(a,b){var c={};c.select=function(d){return d&&w_n(d,b)};return w_q(a,c)}var _ArchiveConfig=w_V;_ArchiveConfig._UpdateFrequency=_ArchiveConfig.UpdateFrequency;_ArchiveConfig._Reformat=_ArchiveConfig.Reformat;_ArchiveConfig._UpdateWeekEnd=_ArchiveConfig.UpdateWeekEnd;_ArchiveConfig._UpdatePreviewPostTitles=_ArchiveConfig.UpdatePreviewPostTitles;_ArchiveConfig._ToggleDirection=_ArchiveConfig.ToggleDirection;function w_W(a){this.a=a;this.g=a.u()}w_W.WIDGET_TYPE_NAME="Label";w_W.prototype.e=function(){return w_W.WIDGET_TYPE_NAME};w_W.prototype.b=function(){return this.a};w_W.prototype.d=function(a,b){this.a.m(b)};function w_X(){}w_X.Rc={sorting:w_c,display:w_c,title:w_c,showFreqNumbers:w_c,securityToken:w_c};w_X._Configure=function(){w_x.ConfigureWidget(w_X.Rc)};w_X.PREVIEW_ROOT_ID="dynamic-preview";w_X._OnTitleChange=function(a){w_X._UpdateData("title",a);w_X.widgetHelper.wa()};
w_X._OnShowFreqNumbersChange=function(a){w_X._UpdateData("showFreqNumbers",a);w_X.widgetHelper.wa()};w_X._OnSortChange=function(a){w_X._UpdateSortType(a);w_X.widgetHelper.wa()};w_X._UpdateSortType=function(a){w_X.widgetHelper.u().data=a=="alpha"?w_X.labelAlphaData:w_X.labelFreqData};w_X._OnDisplayChange=function(a){w_X._UpdateData("display",a);w_X.widgetHelper.wa()};w_X._UpdateData=function(a,b){w_X.labelAlphaData[a]=b;w_X.labelFreqData[a]=b};
w_X._HookUp=function(a,b,c){w_A._SetDataContext([]);w_A._SetSystemMarkup({quickedit:{varName:"",template:""}});w_X.widgetHelper=w_A.GetWidget(a).b();var d=w_X.widgetHelper.u();d.markups=w_X.labelMarkup;d.ud=w_w.DISPLAY_MODE_FULL;d.rootElement=document.getElementById(w_X.PREVIEW_ROOT_ID);w_X._UpdateData("displayType",c);w_X._UpdateSortType(b);w_X.widgetHelper.wa()};var _LabelView=w_W,_LabelConfig=w_X;function w_Y(a){this.a=a;this.g=a.u()}w_Y.WIDGET_TYPE_NAME="TextList";w_Y.prototype.e=function(){return w_Y.WIDGET_TYPE_NAME};w_Y.prototype.b=function(){return this.a};w_Y.prototype.i=function(){return w_d};w_Y.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};var _TextListView=w_Y;function w_Z(a){this.a=a;this.g=a.u()}w_Z.WIDGET_TYPE_NAME="LinkList";w_Z.prototype.e=function(){return w_Z.WIDGET_TYPE_NAME};w_Z.prototype.i=function(){return w_d};w_Z.prototype.b=function(){return this.a};w_Z.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};var _LinkListView=w_Z;_LinkListView.prototype=w_Z.prototype;function w__(a){this.a=a;this.g=a.u()}w__.prototype.e=function(){return"BloggerButton"};w__.prototype.b=function(){return this.a};w__.prototype.d=function(a,b){this.a.m(b)};var _BloggerButtonView=w__;var w_0=function(a){this.a=a;this.g=a.u()};w_0.prototype.e=function(){return"Poll"};w_0.prototype.b=function(){return this.a};w_0.prototype.d=function(a,b){if(a=="configure"){this.savePending=w_d;this.a.m(b)}};w_0.prototype.ya=function(a,b){if(a=="configure")this.savePending=w_d;w_A.ya(b,window)};
w_0.adjustFrameHeight=function(){for(var a=document.getElementsByTagName("iframe"),b,c=0;b=a[c];c++)if(b.name.indexOf("poll-widget")==0)try{if(window.frames[b.name]&&window.frames[b.name].frames[0]){var d=window.frames[b.name].frames[0].location.hash,e=Number(d.replace("#",""));if(e)b.style.height=e+(document.all?10:0)+"px"}}catch(f){}};window.setInterval(w_0.adjustFrameHeight,500);var _PollView=w_0;function w_1(a){this.a=a;this.g=a.u()}w_1.WIDGET_TYPE_NAME="Navbar";w_1.prototype.e=function(){return w_1.WIDGET_TYPE_NAME};w_1.prototype.b=function(){return this.a};w_1.prototype.i=function(){return w_d};w_1.prototype.d=function(a,b){this.a.m(b)};w_1.FilterMap={navbartype:w_c,securityToken:w_c};w_1.ConfigureWidget=function(){w_x.ConfigureWidget(w_1.FilterMap)};var _NavbarView=w_1;_NavbarView.prototype=w_1.prototype;_NavbarView._ConfigureWidget=_NavbarView.ConfigureWidget;function w_2(a){this.a=a;this.g=a.u()}w_2.WIDGET_TYPE_NAME="Profile";w_2.prototype.i=function(){return w_d};w_2.prototype.e=function(){return w_2.WIDGET_TYPE_NAME};w_2.prototype.b=function(){return this.a};w_2.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_2.prototype.k=function(){this.g.rootElement.style.display=this.a.n().isDisplayable==w_d?"none":""};var _ProfileView=w_2;var w_3=function(a){this.a=a};w_3.prototype.b=function(){return this.a};w_3.prototype.e=function(){return"Feed"};w_3.prototype.d=function(a,b){this.a.m(b)};w_3.prototype.k=function(){if(this.Va=this.a.Y("feedItemListDisplay")){var a=this.b().n(),b=new w_4(a.feedUrl,this.Va,{numItemsShow:a.numItemsShow,showItemAuthor:a.showItemAuthor,showItemDate:a.showItemDate,linkTarget:"_self"});b.Wb()}};
w_3.ph={moduleTitle:w_c,feedUrl:w_B.GetRequiredStringFilter(),numItemsShow:w_B.GetNumberFilter(1,5),showItemDate:w_c,showItemAuthor:w_c,securityToken:w_c};w_3.setConfigurationOptions=function(){w_x.ConfigureWidget(w_3.ph)};var w_4=function(a,b,c){this.xd=a;this.Va=b;this.L=c};w_4.rh=200;w_4.oh="http://ajax.googleapis.com/ajax/services/feed/load";w_4.prototype.Wb=function(){var a=new w_.net.Jsonp(w_4.oh);a.Ic(-1);a.send({q:this.xd,num:this.L.numItemsShow,output:"json",v:"1.0"},w_v(this.bf,this))};
w_4.prototype.bf=function(a){w_.dom.Fb(this.Va);if(a.responseStatus==w_4.rh){var b=w_.dom.createElement("ul");this.Va.appendChild(b);for(var c=0;c<a.responseData.feed.entries.length;c++){var d=a.responseData.feed.entries[c],e=w_.dom.createElement("li");b.appendChild(e);var f=w_.dom.l("a",{href:d.link},d.title);f.target=this.L.linkTarget;e.appendChild(w_.dom.l("span",{"class":"item-title"},f));if(this.L.showItemDate){var g=w_.dom.l("span",{"class":"item-date"},"\u00a0-\u00a0"+(new Date(d.publishedDate)).toLocaleDateString());
e.appendChild(g)}if(this.L.showItemAuthor){var h=w_.dom.l("span",{"class":"item-author"},"\u00a0-\u00a0"+d.author);e.appendChild(h)}}this.md&&this.md(a.responseData.feed)}else{this.Va.appendChild(w_.dom.l("span",w_c,"Error loading feed."));this.Sf&&this.Sf()}};w_4.prototype.ef=function(a){this.md=a};w_4.prototype.Ce=function(){this.md=this.Sf=w_c};w_4.prototype.ed=function(a){this.xd=a};w_4.prototype.cd=function(a){this.L=a};var _FeedView=w_3;_FeedView._setConfigurationOptions=w_3.setConfigurationOptions;var w_5=function(a,b,c){this.Zh=b;this.Ec=c;this.$g=w_d;this.te=new w_C("status-message");this.L={linkTarget:"_blank"};this.ta=new w_4(this.xd,a,this.L)};w_5.nh="moduleTitle";w_5.Di="feedUrl";w_5.Ie="step1";w_5.Je="step2";w_5.Ob="feedUrl";w_5.prototype.Fe=function(a,b){this.te.Oc();w_B.ClearError(w_5.Ob);if(a){var c=document.getElementById(w_5.nh);c.value=b.title;this.Vb(b.title)}this.Re()};w_5.prototype.jf=function(){this.te.Oc();w_B.SetError(w_5.Ob,this.Ec._invalidFeedUrl);this.Rb()};
w_5.prototype.Rb=function(){w_l(document.getElementById(w_5.Ie),w_b);w_l(document.getElementById(w_5.Je),w_d)};w_5.prototype.Re=function(){w_l(document.getElementById(w_5.Ie),w_d);w_l(document.getElementById(w_5.Je),w_b)};w_5.prototype.Vb=function(a){this.Zh.innerHTML=a};w_5.prototype.gd=function(a){this.L.showItemAuthor=a;this.Xb()};w_5.prototype.hd=function(a){this.L.showItemDate=a;this.Xb()};w_5.prototype.fd=function(a){this.L.numItemsShow=a;this.Xb()};
w_5.prototype.Xb=function(){this.ta.cd(this.L);this.ta.Ce();this.ta.Wb()};w_5.prototype.ad=function(a,b,c,d){if(!a||a=="")w_B.SetError(w_5.Ob,this.Ec._missingFeedUrl);else if(a.length>2083)w_B.SetError(w_5.Ob,this.Ec._feedUrlTooLong);else{this.te.N(this.Ec._retrievingFeed);this.gf(a,b,c);this.$g=d;this.Ee(a,w_v(this.ze,this))}};w_5.prototype.Ee=function(a,b){if(a.indexOf("http://")!=0)a="http://"+a;var c=new w_.net.Jsonp("http://www.google.com/uds/GlookupFeed");c.Ic(-1);c.send({q:a,v:"1.0"},b)};
w_5.prototype.ze=function(a){if(a.responseStatus==200){document.getElementById("feedUrl").value=a.responseData.url;this.ta.ed(a.responseData.url);this.ta.ef(w_v(this.Fe,this,this.$g));this.ta.Wb()}else this.jf()};w_5.prototype.gf=function(a,b){this.L=b;this.ta.ed(a);this.ta.cd(this.L)};w_5.prototype._GoToStep1=w_5.prototype.Rb;w_5.prototype._RetrieveFeedAndGoToStep2=w_5.prototype.ad;w_5.prototype._RefreshModuleTitle=w_5.prototype.Vb;w_5.prototype._SetShowItemAuthor=w_5.prototype.gd;
w_5.prototype._SetShowItemDate=w_5.prototype.hd;w_5.prototype._SetNumItemsShow=w_5.prototype.fd;var _FeedConfig=w_5;function w_6(a){this.a=a;this.g=a.u()}w_6.WIDGET_TYPE_NAME="Followers";w_6.prototype.i=function(){return w_d};w_6.prototype.e=function(){return w_6.WIDGET_TYPE_NAME};w_6.prototype.b=function(){return this.a};w_6.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};w_6._openPopup=function(a){a=a.indexOf("?")>0?a+"&":a+"?";a=a+"loginTemplateDirectory=FOLLOWING";window.open(a,"_blank","height=600, width=640, toolbar=no, menubar=no, scrollbars=yes, resizable=yes, location=no, directories=no, status=no")};
w_6.prototype.za=function(){return w_b};var _FollowersView=w_6;function w_7(a){this.a=a;this.g=a.u()}w_7.prototype.e=function(){return"Gadget"};w_7.prototype.b=function(){return this.a};w_7.prototype.d=function(a,b){this.a.m(b)};w_7.prototype.cf=function(a){var b=document.getElementById(this.f);if(b)b.style.height=a+"px"};w_7.prototype.Zc=function(){gadgets.rpc.register("resize_iframe",this.cf);gadgets.rpc.register("set_pref",function(){})};
w_7.prototype.k=function(){if(!w_7.InitializedRpc&&!window.gadgets){var a=document.createElement("script");a.src="http://blogger.gmodules.com/gadgets/js/rpc.js?c=1&container=blogger";a.type="text/javascript";var b=this;a.onload=function(){b.Zc()};a.onreadystatechange=function(){if(this.readyState=="loaded"||this.readyState=="complete")b.Zc()};document.getElementsByTagName("body")[0].appendChild(a);w_7.InitializedRpc=function(){}}};w_7.prototype.za=function(){return w_b};var _GadgetView=w_7;function _SW_toggleReaderList(a,b){var c=document.getElementById("SW_READER_LIST_"+b),d=document.getElementById("SW_READER_LIST_CLOSED_"+b);if(!a)a=window.event;a.cancelBubble=w_b;a.stopPropagation&&a.stopPropagation();var e=document.onclick;if(window.oldSubscribePopup&&window.oldSubscribePopup!=c){window.oldSubscribePopup.style.display="none";window.oldSubscribePopupUnder.style.visibility="visible"}if(c.style.display=="none"){c.style.display="";window.oldSubscribePopup=c;window.oldSubscribePopupUnder=
d;d.style.visibility="hidden";document.onclick=function(){c.style.display="none";d.style.visibility="visible";if(e)document.onclick=e}}else{c.style.display="none";d.style.visibility="visible";if(e)document.onclick=e}return w_d}function _SW_hideReaderList(a){var b=document.getElementById("SW_READER_LIST_"+a),c=document.getElementById("SW_READER_LIST_UNDER"+a);b.style.display="none";c.style.visibility="visible"}function w_8(a){this.a=a;this.g=a.u()}w_8.WIDGET_TYPE_NAME="Subscribe";w_8.prototype.i=function(){return w_d};
w_8.prototype.e=function(){return w_8.WIDGET_TYPE_NAME};w_8.prototype.b=function(){return this.a};w_8.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};var _SubscribeView=w_8;function w_9(){}w_9.Rc={title:w_c,adLocation:w_c,publisherId:w_c,securityToken:w_c};w_9.Configure=function(){w_x.ConfigureWidget(w_9.Rc)};w_9.toggleAdLocation=function(a){var b=document.getElementById("publisher-id-note");b.style.display=a.value!="ReSearchAdLocation.NONE"?"block":"none"};var _ReSearchConfig=w_9;_ReSearchConfig._Configure=_ReSearchConfig.Configure;_ReSearchConfig._toggleAdLocation=_ReSearchConfig.toggleAdLocation;w_G.research={};w_G.research.SearchEngineInfo=function(a,b,c){this.$h=a;this.ia=b;this.gi=c};w_G.research.SearchEngineInfo.prototype.yb=function(){return this.$h};w_G.research.SearchEngineInfo.prototype.ka=function(){return this.ia};w_G.research.SearchEngineInfo.prototype.mg=function(){return this.gi};w_G.research.ParsedReferrer=function(a){this.Zg=new w_.Uri(a);this.Gb=w_c;this.Vg="";this.yc()};w_G.research.ParsedReferrer.SearchEngineInfos=[new w_G.research.SearchEngineInfo("AOL","search.aol.com","query"),new w_G.research.SearchEngineInfo("Ask","www.ask.com","q"),new w_G.research.SearchEngineInfo("Bing","www.bing.com","q"),new w_G.research.SearchEngineInfo("Google","www.google.com","q"),new w_G.research.SearchEngineInfo("Yahoo","search.yahoo.com","p")];
w_G.research.ParsedReferrer.prototype.Tg=function(){var a=this.Gb.mg(),b=this.Zg.lg(a);return this.Zf(b?b:"")};w_G.research.ParsedReferrer.prototype.Zf=function(a){return a.replace("+"," ")};w_G.research.ParsedReferrer.prototype.yc=function(){for(var a=w_G.research.ParsedReferrer.SearchEngineInfos.length,b=0;b<a;b++){var c=w_G.research.ParsedReferrer.SearchEngineInfos[b];if(this.Zg.ka().indexOf(c.ka())!=-1){this.Gb=c;this.Vg=this.Tg();break}}};
w_G.research.ParsedReferrer.prototype.Eg=function(){return this.Gb!=w_c};w_G.research.ParsedReferrer.prototype.yb=function(){return this.Gb!=w_c?this.Gb.yb():""};w_G.research.ParsedReferrer.prototype.Ab=function(){return this.Vg};w_G.research.ReSearch=function(a,b,c,d,e,f,g,h){this.Yb=a;this.xh=b;this.rf=c;this.uh=d;this.Fc=new w_G.research.ParsedReferrer(e);this.ei=f;this.sa=w_.dom.Nc(g);this.fh=h};w_G.research.ReSearch.MAX_RESULTS=3;w_G.research.ReSearch.AdLocation={NONE:"NONE",LEFT:"LEFT",RIGHT:"RIGHT"};w_G.research.ReSearch.prototype.Yf=function(a){a=a.replace("&amp;"," & ");return a=a.replace("&#39;","'")};
w_G.research.ReSearch.prototype.ih=function(){for(var a=w_.dom.X(w_.dom.TagName.UL,"re-search-posts",this.sa)[0],b=w_.dom.X(w_.dom.TagName.LI,w_c,a),c=0;c<b.length;c++){var d=b[c];d.style.display="list-item"}w_.dom.X(w_.dom.TagName.A,"show-more-link",this.sa)[0];var e=w_.dom.X(w_.dom.TagName.DIV,"re-search-ad",this.sa)[0];if(e){var f=w_.dom.X(w_.dom.TagName.DIV,"re-search-results",this.sa)[0],g=f.offsetHeight+5+"px",h=w_.dom.X(w_.dom.TagName.DIV,"re-search",this.sa)[0];h.style.height=g;e.style.height=
g}};
w_G.research.ReSearch.prototype.Pf=function(){var a=this.Yb.results;if(a&&a.length>0){var b=w_c;if(this.rf!=w_G.research.ReSearch.AdLocation.NONE){var c=w_.dom.l(w_.dom.TagName.IFRAME,{src:this.uh,width:"125",height:"125",scrolling:"no",frameborder:"0",marginheight:"0",marginwidth:"0"}),d,e="float: none;";switch(this.rf){case w_G.research.ReSearch.AdLocation.LEFT:d="float: left;";e="float: right;";if(this.fh=="main")e=e+"padding-left: 15px;";break;case w_G.research.ReSearch.AdLocation.RIGHT:d="float: right;";
e="float: left;";break;default:w_a(Error("Unsupported ad location."))}b=w_.dom.l(w_.dom.TagName.DIV,{"class":"re-search-ad",style:d},c)}var f="You searched "+(this.Fc.yb()+(' for <span>"'+(this.Fc.Ab()+'"</span>. Here are some other posts that might be relevant:'))),g=w_.dom.l(w_.dom.TagName.DIV,{"class":"re-search-message"});g.innerHTML=f;for(var h=w_d,i=w_.dom.l(w_.dom.TagName.UL,{"class":"re-search-posts"}),j=0,k=0;j<a.length;j++){var l=a[j],m=this.Yf(String(l.titleNoFormatting));if(!(m.indexOf(this.ei)!=
-1)){var n=l.postUrl,o=w_.dom.l(w_.dom.TagName.A,{href:n,target:"_blank"},m),r=w_.dom.l(w_.dom.TagName.LI,{"class":"re-search-post-item"},o);if(k>=w_G.research.ReSearch.MAX_RESULTS){r.style.display="none";h=w_b}else k++;w_.dom.appendChild(i,r)}}var p=w_.dom.l(w_.dom.TagName.DIV,{"class":"re-search-results",style:e},g,i);if(h){var q=w_.dom.l(w_.dom.TagName.A,{"class":"show-more-link",href:"javascript:void(0)",onclick:this.ih},"Show more results..");w_.dom.appendChild(p,q)}var s=w_.dom.X(w_.dom.TagName.DIV,
"re-search",this.sa)[0];w_.dom.appendChild(s,p);b!=w_c&&w_.dom.zc(b,s.firstChild);var t=w_.dom.X(w_.dom.TagName.DIV,"re-search-container",this.sa)[0];t.style.display="block";if(b!=w_c&&this.fh=="main"){p=w_.dom.X(w_.dom.TagName.DIV,"re-search-results",this.sa)[0];var u=p.offsetWidth,v=u-140+"px";p.style.width=v}}};w_G.research.ReSearch.prototype.eh=function(){this.Yb.setSiteRestriction(this.xh);this.Yb.setSearchCompleteCallback(this,this.Pf,w_c);this.Yb.execute(this.Fc.Ab())};
w_G.research.ReSearch.prototype.run=function(){this.Fc.Eg()&&this.eh()};function w_$(a){this.a=a}w_$.WIDGET_TYPE_NAME="ReSearch";w_$.prototype.e=function(){return w_$.WIDGET_TYPE_NAME};w_$.prototype.b=function(){return this.a};w_$.prototype.i=function(){return w_d};w_$.prototype.d=function(a,b){a=="configure"&&this.a.m(b)};function w_Xa(){var a=this.n(),b=new google.search.BlogSearch,c=a.blogHomepageUrl,d=a.adLocation,e=a.adCodeUri,f=document.referrer,g=a.postTitleFilter,h=this.u().instanceId,i=this.u().sectionId,j=new w_G.research.ReSearch(b,c,d,e,f,g,h,i);j.run()}
w_$.prototype.k=function(){var a=this.b();google.load("search","1");google.setOnLoadCallback(w_Xa.bind(a))};var _ReSearchView=w_$;_ReSearchView._Configure=_ReSearchView.Configure;if(window.jstiming){window.jstiming.Af={};window.jstiming.ki=1;function w_Ya(a,b,c){var d=a.t[b];if(!d)return undefined;d=a.t[b][0];if(c!=undefined)var e=c;else e=a.t.start[0];return d-e}window.jstiming.report=function(a,b,c){var d="";if(window.jstiming.pt){d+="&srt="+window.jstiming.pt;delete window.jstiming.pt}try{if(window.external&&window.external.tran)d+="&tran="+window.external.tran}catch(e){}if(a.Eh)d+="&"+a.Eh;var f=a.t,g=f.start,h=[],i=[];for(var j in f)if(!(j=="start"))if(!(j.indexOf("_")==
0)){var k=f[j][1];if(k)f[k]&&i.push(j+"."+w_Ya(a,j,f[k][0]));else g&&h.push(j+"."+w_Ya(a,j))}delete f.start;if(b)for(var l in b)d+="&"+l+"="+b[l];var m=[c?c:"http://csi.gstatic.com/csi","?v=3","&s="+(window.jstiming.sn?window.jstiming.sn:"blogger")+"&action=",a.name,i.length?"&it="+i.join(",")+d:d,"&rt=",h.join(",")].join(""),n=new Image,o=window.jstiming.ki++;window.jstiming.Af[o]=n;n.onload=n.onerror=function(){delete window.jstiming.Af[o]};n.src=m;n=w_c;return m}};w_.debug={};w_.debug.errorHandlerWeakDep={protectEntryPoint:function(a){return a}};w_.Disposable=function(){};w_.Disposable.prototype.wd=w_d;w_.Disposable.prototype.dispose=function(){if(!this.wd){this.wd=w_b;this.M()}};w_.Disposable.prototype.M=function(){};w_.dispose=function(a){a&&typeof a.dispose=="function"&&a.dispose()};w_.structs.SimplePool=function(a,b){w_.Disposable.call(this);this.Mg=b;this.Da=[];this.Kf(a)};w_.inherits(w_.structs.SimplePool,w_.Disposable);w_.structs.SimplePool.prototype.cc=w_c;w_.structs.SimplePool.prototype.fc=w_c;w_.structs.SimplePool.prototype.hb=function(a){this.cc=a};w_.structs.SimplePool.prototype.oe=function(a){this.fc=a};w_.structs.SimplePool.prototype.ma=function(){if(this.Da.length)return this.Da.pop();return this.pd()};
w_.structs.SimplePool.prototype.Na=function(a){this.Da.length<this.Mg?this.Da.push(a):this.vd(a)};w_.structs.SimplePool.prototype.Kf=function(a){if(a>this.Mg)w_a(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.Da.push(this.pd())};w_.structs.SimplePool.prototype.pd=function(){return this.cc?this.cc():{}};w_.structs.SimplePool.prototype.vd=function(a){if(this.fc)this.fc(a);else if(w_.isFunction(a.dispose))a.dispose();else for(var b in a)delete a[b]};
w_.structs.SimplePool.prototype.M=function(){w_.structs.SimplePool.Kc.M.call(this);for(var a=this.Da;a.length;)this.vd(a.pop());delete this.Da};w_.events={};w_.events.Event=function(a,b){this.type=a;this.currentTarget=this.target=b};w_.inherits(w_.events.Event,w_.Disposable);w_.events.Event.prototype.M=function(){delete this.type;delete this.target;delete this.currentTarget};w_.events.Event.prototype.oa=w_d;w_.events.Event.prototype.Oa=w_b;w_.events.Event.prototype.stopPropagation=function(){this.oa=w_b};w_.events.Event.prototype.preventDefault=function(){this.Oa=w_d};w_.events.BrowserEvent=function(a,b){a&&this.init(a,b)};w_.inherits(w_.events.BrowserEvent,w_.events.Event);w_.events.BrowserEvent.MouseButton={LEFT:0,MIDDLE:1,RIGHT:2};w_.events.BrowserEvent.Ei=[1,4,2];w_.events.BrowserEvent.prototype.type=w_c;w_.events.BrowserEvent.prototype.target=w_c;w_.events.BrowserEvent.prototype.relatedTarget=w_c;w_.events.BrowserEvent.prototype.offsetX=0;w_.events.BrowserEvent.prototype.offsetY=0;w_.events.BrowserEvent.prototype.clientX=0;
w_.events.BrowserEvent.prototype.clientY=0;w_.events.BrowserEvent.prototype.screenX=0;w_.events.BrowserEvent.prototype.screenY=0;w_.events.BrowserEvent.prototype.button=0;w_.events.BrowserEvent.prototype.keyCode=0;w_.events.BrowserEvent.prototype.charCode=0;w_.events.BrowserEvent.prototype.ctrlKey=w_d;w_.events.BrowserEvent.prototype.altKey=w_d;w_.events.BrowserEvent.prototype.shiftKey=w_d;w_.events.BrowserEvent.prototype.metaKey=w_d;w_.events.BrowserEvent.prototype.da=w_c;
w_.events.BrowserEvent.prototype.init=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type==w_.events.EventType.MOUSEOVER?a.fromElement:this.type==w_.events.EventType.MOUSEOUT?a.toElement:w_c;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a.clientX=="number"?a.clientX:a.pageX;this.clientY=typeof a.clientY=="number"?
a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(this.type==w_.events.EventType.KEYPRESS?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.da=a;delete this.Oa;delete this.oa};w_.events.BrowserEvent.prototype.stopPropagation=function(){this.oa=w_b;if(this.da.stopPropagation)this.da.stopPropagation();else this.da.cancelBubble=w_b};
w_.events.BrowserEvent.prototype.preventDefault=function(){this.Oa=w_d;if(this.da.preventDefault)this.da.preventDefault();else{this.da.returnValue=w_d;try{this.da.keyCode=-1}catch(a){}}};w_.events.BrowserEvent.prototype.M=function(){w_.events.BrowserEvent.Kc.M.call(this);this.da=w_c};w_.events.Listener=function(){};w_.events.Listener.Ah=0;w_.events.Listener.prototype.Bc=w_c;w_.events.Listener.prototype.listener=w_c;w_.events.Listener.prototype.proxy=w_c;w_.events.Listener.prototype.src=w_c;w_.events.Listener.prototype.type=w_c;w_.events.Listener.prototype.capture=w_c;w_.events.Listener.prototype.handler=w_c;w_.events.Listener.prototype.key=0;w_.events.Listener.prototype.removed=w_d;w_.events.Listener.prototype.ac=w_d;
w_.events.Listener.prototype.init=function(a,b,c,d,e,f){if(w_.isFunction(a))this.Bc=w_b;else if(a&&a.handleEvent&&w_.isFunction(a.handleEvent))this.Bc=w_d;else w_a(Error("Invalid listener argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.handler=f;this.ac=w_d;this.key=++w_.events.Listener.Ah;this.removed=w_d};
w_.events.Listener.prototype.handleEvent=function(a){if(this.Bc)return this.listener.call(this.handler||this.src,a);return this.listener.handleEvent.call(this.listener,a)};w_.events.ra={};w_.events.C={};w_.events.fa={};w_.events.OBJECT_POOL_INITIAL_COUNT=0;w_.events.OBJECT_POOL_MAX_COUNT=600;w_.events.fb=new w_.structs.SimplePool(w_.events.OBJECT_POOL_INITIAL_COUNT,w_.events.OBJECT_POOL_MAX_COUNT);w_.events.fb.hb(function(){return{h:0,ba:0}});w_.events.fb.oe(function(a){a.h=0});w_.events.ARRAY_POOL_INITIAL_COUNT=0;w_.events.ARRAY_POOL_MAX_COUNT=600;w_.events.Aa=new w_.structs.SimplePool(w_.events.ARRAY_POOL_INITIAL_COUNT,w_.events.ARRAY_POOL_MAX_COUNT);w_.events.Aa.hb(function(){return[]});
w_.events.Aa.oe(function(a){a.length=0;delete a.Db;delete a.ie});w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT=0;w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT=600;w_.events.sg=new w_.structs.SimplePool(w_.events.HANDLE_EVENT_PROXY_POOL_INITIAL_COUNT,w_.events.HANDLE_EVENT_PROXY_POOL_MAX_COUNT);w_.events.sg.hb(function(){var a=function(b){return w_.events.Wd.call(a.src,a.key,b)};return a});w_.events.LISTENER_POOL_INITIAL_COUNT=0;w_.events.LISTENER_POOL_MAX_COUNT=600;w_.events.Dh=function(){return new w_.events.Listener};
w_.events.ge=new w_.structs.SimplePool(w_.events.LISTENER_POOL_INITIAL_COUNT,w_.events.LISTENER_POOL_MAX_COUNT);w_.events.ge.hb(w_.events.Dh);w_.events.EVENT_POOL_INITIAL_COUNT=0;w_.events.EVENT_POOL_MAX_COUNT=600;w_.events.Bh=function(){return new w_.events.BrowserEvent};w_.events.Ch=function(){var a=w_c;if(w_.userAgent.IE){a=new w_.structs.SimplePool(w_.events.EVENT_POOL_INITIAL_COUNT,w_.events.EVENT_POOL_MAX_COUNT);a.hb(w_.events.Bh)}return a};w_.events.Tf=w_.events.Ch();w_.events.ci="on";
w_.events.je={};w_.events.Hi="_";
w_.events.listen=function(a,b,c,d,e){if(b)if(w_.isArray(b)){for(var f=0;f<b.length;f++)w_.events.listen(a,b[f],c,d,e);return w_c}else{var g=!!d,h=w_.events.C;b in h||(h[b]=w_.events.fb.ma());h=h[b];if(!(g in h)){h[g]=w_.events.fb.ma();h.h++}h=h[g];var i=w_.getHashCode(a),j,k;h.ba++;if(h[i]){j=h[i];for(f=0;f<j.length;f++){k=j[f];if(k.listener==c&&k.handler==e){if(k.removed)break;return j[f].key}}}else{j=h[i]=w_.events.Aa.ma();h.h++}var l=w_.events.sg.ma();l.src=a;k=w_.events.ge.ma();k.init(c,l,a,b,
g,e);var m=k.key;l.key=m;j.push(k);w_.events.ra[m]=k;w_.events.fa[i]||(w_.events.fa[i]=w_.events.Aa.ma());w_.events.fa[i].push(k);if(a.addEventListener){if(a==w_.global||!a.sd)a.addEventListener(b,l,g)}else a.attachEvent(w_.events.kg(b),l);return m}else w_a(Error("Invalid event type"))};w_.events.listenOnce=function(a,b,c,d,e){if(w_.isArray(b)){for(var f=0;f<b.length;f++)w_.events.listenOnce(a,b[f],c,d,e);return w_c}var g=w_.events.listen(a,b,c,d,e),h=w_.events.ra[g];h.ac=w_b;return g};
w_.events.unlisten=function(a,b,c,d,e){if(w_.isArray(b)){for(var f=0;f<b.length;f++)w_.events.unlisten(a,b[f],c,d,e);return w_c}var g=!!d,h=w_.events.Kd(a,b,g);if(!h)return w_d;for(f=0;f<h.length;f++)if(h[f].listener==c&&h[f].capture==g&&h[f].handler==e)return w_.events.unlistenByKey(h[f].key);return w_d};
w_.events.unlistenByKey=function(a){if(!w_.events.ra[a])return w_d;var b=w_.events.ra[a];if(b.removed)return w_d;var c=b.src,d=b.type,e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==w_.global||!c.sd)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(w_.events.kg(d),e);var g=w_.getHashCode(c),h=w_.events.C[d][f][g];if(w_.events.fa[g]){var i=w_.events.fa[g];w_.array.remove(i,b);i.length==0&&delete w_.events.fa[g]}b.removed=w_b;h.ie=w_b;w_.events.Ff(d,f,g,h);delete w_.events.ra[a];
return w_b};w_.events.Ff=function(a,b,c,d){if(!d.Db)if(d.ie){for(var e=0,f=0;e<d.length;e++)if(d[e].removed)w_.events.ge.Na(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.ie=w_d;if(f==0){w_.events.Aa.Na(d);delete w_.events.C[a][b][c];w_.events.C[a][b].h--;if(w_.events.C[a][b].h==0){w_.events.fb.Na(w_.events.C[a][b]);delete w_.events.C[a][b];w_.events.C[a].h--}if(w_.events.C[a].h==0){w_.events.fb.Na(w_.events.C[a]);delete w_.events.C[a]}}}};
w_.events.removeAll=function(a,b,c){var d=0,e=a==w_c,f=b==w_c,g=c==w_c;c=!!c;if(e)w_.object.forEach(w_.events.fa,function(l){for(var m=l.length-1;m>=0;m--){var n=l[m];if((f||b==n.type)&&(g||c==n.capture)){w_.events.unlistenByKey(n.key);d++}}});else{var h=w_.getHashCode(a);if(w_.events.fa[h])for(var i=w_.events.fa[h],j=i.length-1;j>=0;j--){var k=i[j];if((f||b==k.type)&&(g||c==k.capture)){w_.events.unlistenByKey(k.key);d++}}}return d};
w_.events.getListeners=function(a,b,c){return w_.events.Kd(a,b,c)||[]};w_.events.Kd=function(a,b,c){var d=w_.events.C;if(b in d){d=d[b];if(c in d){d=d[c];var e=w_.getHashCode(a);if(d[e])return d[e]}}return w_c};w_.events.getListener=function(a,b,c,d,e){var f=!!d,g=w_.events.Kd(a,b,f);if(g)for(var h=0;h<g.length;h++)if(g[h].listener==c&&g[h].capture==f&&g[h].handler==e)return g[h];return w_c};
w_.events.hasListener=function(a,b,c){var d=w_.getHashCode(a),e=w_.events.fa[d];if(e){var f=w_.isDef(b),g=w_.isDef(c);if(f&&g){var h=w_.events.C[b];return!!h&&!!h[c]&&d in h[c]}else return f||g?w_.array.some(e,function(i){return f&&i.type==b||g&&i.capture==c}):w_b}return w_d};w_.events.expose=function(a){var b=[];for(var c in a)a[c]&&a[c].id?b.push(c+" = "+a[c]+" ("+a[c].id+")"):b.push(c+" = "+a[c]);return b.join("\n")};
w_.events.EventType={CLICK:"click",DBLCLICK:"dblclick",MOUSEDOWN:"mousedown",MOUSEUP:"mouseup",MOUSEOVER:"mouseover",MOUSEOUT:"mouseout",MOUSEMOVE:"mousemove",SELECTSTART:"selectstart",KEYPRESS:"keypress",KEYDOWN:"keydown",KEYUP:"keyup",BLUR:"blur",FOCUS:"focus",DEACTIVATE:"deactivate",FOCUSIN:w_.userAgent.IE?"focusin":"DOMFocusIn",FOCUSOUT:w_.userAgent.IE?"focusout":"DOMFocusOut",CHANGE:"change",SELECT:"select",SUBMIT:"submit",LOAD:"load",UNLOAD:"unload",ERROR:"error",HELP:"help",RESIZE:"resize",
SCROLL:"scroll",READYSTATECHANGE:"readystatechange",CONTEXTMENU:"contextmenu"};w_.events.kg=function(a){if(a in w_.events.je)return w_.events.je[a];return w_.events.je[a]=w_.events.ci+a};w_.events.fireListeners=function(a,b,c,d){var e=w_.events.C;if(b in e){e=e[b];if(c in e)return w_.events.Xa(e[c],a,b,c,d)}return w_b};
w_.events.Xa=function(a,b,c,d,e){var f=1,g=w_.getHashCode(b);if(a[g]){a.ba--;var h=a[g];if(h.Db)h.Db++;else h.Db=1;try{for(var i=h.length,j=0;j<i;j++){var k=h[j];if(k&&!k.removed)f&=w_.events.fireListener(k,e)!==w_d}}finally{h.Db--;w_.events.Ff(c,d,g,h)}}return Boolean(f)};w_.events.fireListener=function(a,b){var c=a.handleEvent(b);a.ac&&w_.events.unlistenByKey(a.key);return c};w_.events.getTotalListenerCount=function(){return w_.object.T(w_.events.ra)};
w_.events.dispatchEvent=function(a,b){if(w_.isString(b))b=new w_.events.Event(b,a);else if(b instanceof w_.events.Event)b.target=b.target||a;else{var c=b;b=new w_.events.Event(b.type,a);w_.object.extend(b,c)}var d=1,e,f=b.type,g=w_.events.C;if(!(f in g))return w_b;g=g[f];var h=w_b in g,i;if(h){e=[];for(var j=a;j;j=j.Od())e.push(j);i=g[w_b];i.ba=i.h;for(var k=e.length-1;!b.oa&&k>=0&&i.ba;k--){b.currentTarget=e[k];d&=w_.events.Xa(i,e[k],b.type,w_b,b)&&b.Oa!=w_d}}var l=w_d in g;if(l){i=g[w_d];i.ba=i.h;
if(h)for(k=0;!b.oa&&k<e.length&&i.ba;k++){b.currentTarget=e[k];d&=w_.events.Xa(i,e[k],b.type,w_d,b)&&b.Oa!=w_d}else for(var m=a;!b.oa&&m&&i.ba;m=m.Od()){b.currentTarget=m;d&=w_.events.Xa(i,m,b.type,w_d,b)&&b.Oa!=w_d}}return Boolean(d)};w_.events.protectBrowserEventEntryPoint=function(a,b){w_.events.Wd=a.protectEntryPoint(w_.events.Wd,b)};
w_.events.Wd=function(a,b){if(!w_.events.ra[a])return w_b;var c=w_.events.ra[a],d=c.type,e=w_.events.C;if(!(d in e))return w_b;e=e[d];var f,g;if(w_.userAgent.IE){var h=b||w_.getObjectByName("window.event"),i=w_b in e,j=w_d in e;if(i){if(w_.events.Wh(h))return w_b;w_.events.Yh(h)}var k=w_.events.Tf.ma();k.init(h,this);f=w_b;try{if(i){for(var l=w_.events.Aa.ma(),m=k.currentTarget;m;m=m.parentNode)l.push(m);g=e[w_b];g.ba=g.h;for(var n=l.length-1;!k.oa&&n>=0&&g.ba;n--){k.currentTarget=l[n];f&=w_.events.Xa(g,
l[n],d,w_b,k)}if(j){g=e[w_d];g.ba=g.h;for(n=0;!k.oa&&n<l.length&&g.ba;n++){k.currentTarget=l[n];f&=w_.events.Xa(g,l[n],d,w_d,k)}}}else f=w_.events.fireListener(c,k)}finally{if(l){l.length=0;w_.events.Aa.Na(l)}k.dispose();w_.events.Tf.Na(k)}return f}var o=new w_.events.BrowserEvent(b,this);try{f=w_.events.fireListener(c,o)}finally{o.dispose()}return f};w_.events.Yh=function(a){var b=w_d;if(a.keyCode==0)try{a.keyCode=-1;return}catch(c){b=w_b}if(b||a.returnValue==undefined)a.returnValue=w_b};
w_.events.Wh=function(a){return a.keyCode<0||a.returnValue!=undefined};w_.events.Ai=0;w_.events.getUniqueId=function(a){return a+"_"+w_.events.Ai++};w_.events.EventTarget=function(){};w_.inherits(w_.events.EventTarget,w_.Disposable);w_.events.EventTarget.prototype.sd=w_b;w_.events.EventTarget.prototype.le=w_c;w_.events.EventTarget.prototype.Od=function(){return this.le};w_.events.EventTarget.prototype.addEventListener=function(a,b,c,d){w_.events.listen(this,a,b,c,d)};w_.events.EventTarget.prototype.removeEventListener=function(a,b,c,d){w_.events.unlisten(this,a,b,c,d)};
w_.events.EventTarget.prototype.dispatchEvent=function(a){return w_.events.dispatchEvent(this,a)};w_.events.EventTarget.prototype.M=function(){w_.events.EventTarget.Kc.M.call(this);w_.events.removeAll(this);this.le=w_c};w_G.util={};w_G.util.logging={};w_G.util.logging.PROD_BLOGGER_HOST_URL="www.blogger.com";w_G.util.logging.yg=w_G.util.logging.PROD_BLOGGER_HOST_URL;w_G.util.logging.setHostPort=function(a){w_G.util.logging.yg=a};w_G.util.logging.Kg="/nc";w_G.util.logging.setLoggingPath=function(a){w_G.util.logging.Kg=a};w_G.util.logging.ParamKey={EVENT_TYPE:"e",SOURCE_PAGE:"pg",DURATION:"dur"};w_G.util.logging.EventType={UNLOAD_PAGE:"u",CLICK:"c"};w_G.util.logging.SourcePage={EXPLORE:"be",BLOG:"blog",POST:"post"};
w_G.util.logging.formatId=function(a,b){if(a)return b?a+":"+b:a;return""};w_G.util.logging.Yg=w_d;w_G.util.logging.setReferredFromExplore=function(a){w_G.util.logging.Yg=a};w_G.util.logging.isReferredFromExplore=function(){return w_G.util.logging.Yg};w_G.util.logging.Xh=function(a,b,c){if(a){var d=w_.Uri.parse(a),e=d.ka().toLowerCase(),f=d.Ea();if(f==c){if(e==w_G.util.logging.PROD_BLOGGER_HOST_URL)return w_b;if(b.indexOf(w_G.util.logging.PROD_BLOGGER_HOST_URL)<0)return w_b}}return w_d};
w_G.util.logging.log=function(a){var b=w_G.util.logging.yg+w_G.util.logging.Kg,c=w_.Uri.parse(b),d=w_d;for(var e in a){d=w_b;c.Gc(e,a[e])}if(d){(new Image).src=c.toString();return c}return w_c};w_G.util.logging.logWithParameterMap=function(a){if(!w_G.util.logging.Ka[a])return w_c;return w_G.util.logging.log(w_G.util.logging.Ka[a])};w_G.util.logging.Ka={};
w_G.util.logging.addParametersToMap=function(a,b){var c=w_G.util.logging.Ka[a];if(c)for(var d in b){if(c[d])return w_c}else{c={};w_G.util.logging.Ka[a]=c}for(d in b)c[d]=b[d];return w_G.util.logging.Ka[a]};w_G.util.logging.clearParameterMap=function(a){delete w_G.util.logging.Ka[a]};w_G.util.logging.Tb="paramMapPageUnload_InternalUseOnly";w_G.util.logging.addToPageUnloadParameterMap=function(a){return w_G.util.logging.addParametersToMap(w_G.util.logging.Tb,a)};w_G.util.logging.Ta={};
w_G.util.logging.registerEvent=function(a){if(w_G.util.logging.Ta[a])return-1;w_G.util.logging.Ta[a]=w_.now();return w_G.util.logging.Ta[a]};w_G.util.logging.getEventElapse=function(a){if(!w_G.util.logging.Ta[a])return-1;return w_.now()-w_G.util.logging.Ta[a]};w_G.util.logging.clearEvent=function(a){delete w_G.util.logging.Ta[a]};w_G.util.logging.Pc="eventPageLoading_InternalUseOnly";w_G.util.logging.getDurationMillis=function(){return w_G.util.logging.getEventElapse(w_G.util.logging.Pc)};
w_G.util.logging.pageOnBeforeUnload=function(){if(w_G.util.logging.Ka[w_G.util.logging.Tb]==undefined)return w_c;var a={};a[w_G.util.logging.ParamKey.DURATION]=w_G.util.logging.getDurationMillis();w_G.util.logging.addToPageUnloadParameterMap(a);return w_G.util.logging.logWithParameterMap(w_G.util.logging.Tb)};
w_G.util.logging.initialize=function(a,b,c){w_G.util.logging.setHostPort(a);w_G.util.logging.setReferredFromExplore(w_G.util.logging.Xh(b,a,"/explore"));w_G.util.logging.clearEvent(w_G.util.logging.Pc);w_G.util.logging.registerEvent(w_G.util.logging.Pc);w_G.util.logging.clearParameterMap(w_G.util.logging.Tb);c&&w_.events.listen(window,"beforeunload",function(){w_G.util.logging.pageOnBeforeUnload()})};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,46 @@
/*
-----------------------------------------------
Quick Edit and Delete Comment Icons
----------------------------------------------- */
/* Hide it now, show it later with dynamically-generated CSS */
.item-control {
display:none;
}
.item-control a, .item-action a {
text-decoration:none !important;
}
.widget-item-control {
float: right;
}
.icon-action {
border-style: none !important;
margin: 0 0 -5px 0.5em !important;
}
.delete-comment-icon {
background: url("/img/icon_delete13.gif") no-repeat left;
/* makes a 14x14 box */
padding:7px;
}
/* Mobile video tags shown on handhelds only.
All others get regular video tags. */
@media all {
.BLOG_mobile_video_class {
display:none;
}
}
@media handheld {
.BLOG_mobile_video_class {
display:inline;
}
.BLOG_video_class {
display:none;
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 1006 B

View File

@ -0,0 +1,10 @@
(function(){
var c=window;function d(a,b){return a.onmouseover=b}function e(a,b){return a.display=b}var f="length",g="style",h;
function i(a){this.B=a.adsContainer;this.A=a.nextAdIndex||0;this.J=a.linksContainer;this.b=a.previousLink;this.a=a.nextLink;this.t=a.linkActiveBgColor;this.v=a.linkInactiveBgColor;this.u=a.linkActiveCursor;this.w=a.linkInactiveCursor;this.z=a.loading;this.g=a.requestToken;this.P=a.renderAds;this.F=a.getNextAdRequestUrl;this.O=a.maxAds;this.H=a.handlerUrl;this.R=a.requestUrl;this.D=a.formatParams;this.d=a.pages;this.c=0;this.f=false;this.T();e(this.J[g],"block")}h=i.prototype;
h.N=function(a){this.I();if(a.ads[f]==0){this.g=null;this.c=0;this.i()}else{this.g=a.token&&a.token[f]>0?a.token:null;var b=0;for(;b<a.ads[f];++b){a.ads[b].id=this.A;++this.A}this.K(a.ads)}this.k();this.f=false};h.q=function(){var a=0;for(;a<this.d[f];++a)e(this.d[a][g],"none")};h.U=function(){this.q();e(this.z[g],"")};h.I=function(){e(this.z[g],"none")};h.n=function(a){if(a==0&&this.c>0)this.M();else if(a==1&&(this.g||this.c<this.d[f]-1))this.L()};h.o=function(a){this.j(a)};
h.p=function(a){if(a==0&&this.c>0||a==1&&(this.g||this.c<this.d[f]-1))this.S(a)};h.K=function(a){var b=this.P(this.c,a,this.D);this.d.push(b);this.B.appendChild(b)};h.L=function(){if(!this.f){this.f=true;++this.c;if(this.c==this.d[f]){this.U();this.Q()}else{this.i();this.k();this.f=false}}};h.M=function(){if(!this.f){this.f=true;--this.c;this.i();this.k();this.f=false}};h.i=function(){this.q();e(this.d[this.c][g],"")};h.Q=function(){var a=this.C();document.getElementsByTagName("head")[0].appendChild(a)};
h.C=function(){var a=this.G(),b=document.createElement("script");b.setAttribute("src",a);return b};h.G=function(){return this.F({handlerUrl:this.H,maxAds:this.O,requestToken:this.g,requestUrl:this.R})};h.S=function(a){var b=a==0?this.b:this.a;b[g].backgroundColor=b.l;b[g].cursor=b.m};h.j=function(a){var b=a==0?this.b:this.a;b[g].backgroundColor=b.r;b[g].cursor=b.s};
h.k=function(){if(this.c>0)d(this.b,this.b.h);else{d(this.b,null);this.j(0)}if(this.g||this.c<this.d[f]-1)d(this.a,this.a.h);else{d(this.a,null);this.j(1)}};
h.T=function(){this.b.l=this.t;this.b.r=this.v;this.b.e=this;this.b.m=this.u;this.b.s=this.w;this.b.onmousedown=function(){this.e.n(0)};this.b.h=function(){this.e.p(0)};this.b.onmouseout=function(){this.e.o(0)};d(this.b,this.b.h);this.b.onmouseout();this.a.l=this.t;this.a.r=this.v;this.a.e=this;this.a.m=this.u;this.a.s=this.w;this.a.onmousedown=function(){this.e.n(1)};this.a.h=function(){this.e.p(1)};this.a.onmouseout=function(){this.e.o(1)};d(this.a,this.a.h);this.a.onmouseout()};
if(!Array.prototype.indexOf)Array.prototype.indexOf=function(a){var b=0;for(;b<this[f];b++)if(this[b]==a)return b;return-1};if(c.sma){c.smaSlotManager=new i(c.sma);c.handleAdsRequestDone=function(a){c.smaSlotManager.N(a)}};
})();

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 B

View File

@ -0,0 +1,25 @@
var ap_instances = new Array();
function ap_stopAll(playerID) {
for(var i = 0;i<ap_instances.length;i++) {
try {
if(ap_instances[i] != playerID) document.getElementById("audioplayer" + ap_instances[i].toString()).SetVariable("closePlayer", 1);
else document.getElementById("audioplayer" + ap_instances[i].toString()).SetVariable("closePlayer", 0);
} catch( errorObject ) {
// stop any errors
}
}
}
function ap_registerPlayers() {
var objectID;
var objectTags = document.getElementsByTagName("object");
for(var i=0;i<objectTags.length;i++) {
objectID = objectTags[i].id;
if(objectID.indexOf("audioplayer") == 0) {
ap_instances[i] = objectID.substring(11, objectID.length);
}
}
}
var ap_clearID = setInterval( ap_registerPlayers, 100 );

Binary file not shown.

After

Width:  |  Height:  |  Size: 692 B

View File

@ -0,0 +1,220 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Blogger: blogggggg.ahfr.org - Post a Comment</title>
<link href="comment-iframe_data/3182438014-cmtfp.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="comment-iframe_data/2609704013-cmt.js"></script>
<script type="text/javascript">
if (!window.google || !google.friendconnect) {
document.write('<script type="text/javascript"' +
'src="http://www.google.com/friendconnect/script/friendconnect.js">' +
'</scr' + 'ipt>');
}
</script><script type="text/javascript" src="comment-iframe_data/friendconnect.js"></script>
<script type="text/javascript">
if (!window.registeredBloggerCallbacks) {
window.registeredBloggerCallbacks = true;
var registeredGadgets = [];
gadgets.rpc.register('registerGadgetForRpcs', function(gadgetDomain, iframeName) {
// Trim the gadget domain from a random url (w/ query params)
// down to just a top level domain.
// TODO(henrywong): There must be a slicker way to do this
var startIndex = 0;
var protocolMarker = "://";
// Find the start of the host name
if (gadgetDomain.indexOf(protocolMarker) != -1) {
startIndex = gadgetDomain.indexOf(protocolMarker) + protocolMarker.length;
}
// Now find the start of the path
var pathIndex = gadgetDomain.indexOf("/", startIndex);
// Now extract just the hostname
if (pathIndex != -1) {
gadgetDomain = gadgetDomain.substring(0, pathIndex);
}
// TODO(jpanzer): Presumably this is a no-op now? Should we remove this?
gadgets.rpc.setRelayUrl(iframeName, gadgetDomain + "/ps/rpc_relay.html");
// Just return some random stuff so the gadget can tell when
// we're done.
return "callback";
});
gadgets.rpc.register('getBlogUrls', function() {
var holder = {};
holder.currentPost = "http://www.blogger.com/feeds/3943397105358047332/posts/default/2742838784193321545";
holder.currentComments = "http://www.blogger.com/feeds/3943397105358047332/2742838784193321545/comments/default";
holder.postFeed = "http://www.blogger.com/feeds/3943397105358047332/posts/default";
holder.commentFeed = "http://www.blogger.com/feeds/3943397105358047332/comments/default";
return holder;
});
gadgets.rpc.register('requestReload', function() {
document.location.reload();
});
gadgets.rpc.register('requestSignOut', function(siteId) {
google.friendconnect.container.openSocialSiteId = siteId;
google.friendconnect.requestSignOut();
});
}
</script>
<script type="text/javascript">
var token = "6945156";
// Set the path to rpc_relay.html. ".." is a magic key that means
// the parent window
gadgets.rpc.setRelayUrl("..", "http://blog.ahfr.org/rpc_relay.html");
var callback = function callback(arg) {
if (arg == null) {
// If there was no cookie, just wait a second and re-poll. This
// allows us to handle the case where the user logged in to FC
// (and got a cookie).
var callAgain = function() {
gadgets.rpc.call(null, 'fcViewer', callback, token);
}
window.setTimeout(callAgain, 3000);
} else {
BLOG_xhr.send("/get-public-person.g?fcAuthToken=" + encodeURIComponent(arg)
+ "&communityId=" + '76562331850063987',
function() {
if (this.isSuccess()) {
var data = this.getResponseJson();
// We're using the trogedit convention for ajax calls...
if (data.type == "ok") {
var person = data.details;
// The FC identity is just a pair of the label and the cookie
BLOG_CMT_addAndSelectIdentity(new BLOG_CMT_FriendConnectIdentity(
person.displayName + " (" + person.profileSource + ")",
arg,
person.settingsLink));
}
}
});
}
}
gadgets.rpc.call(null, 'fcViewer', callback, token);
</script><style>body { color: rgb(76, 76, 76);
font-family: Georgia,Serif;}
a:link, a:visited, a:active, a:hover { color: rgb(85, 136, 170);}
</style></head><body onload="BLOG_CMT_init(false, false);" class="null lang_en"><div id="setupLogic" style="display: none;"></div>
<div id="allHolder"><form action="/comment-iframe.do" method="POST" name="commentForm" id="commentForm" target="_top" onsubmit="return false"><input name="security_token" value="AOuZoY6zwTAlkmWIeSfz4w7DyfNe6A05kA:1249590779196" type="hidden"><div class="errorbox-good"><input name="securityToken" value="905ztUEiLnBw3By_DSU0oejjuUs:1249590779218" type="hidden">
</div>
<input name="blogID" value="3943397105358047332" type="hidden">
<input name="postID" value="2742838784193321545" type="hidden">
<input name="encodedIds" id="encodedIds" type="hidden">
<input name="encodedSelectedId" id="encodedSelectedId" type="hidden">
<input name="showPreview" id="showPreview" value="false" type="hidden">
<div id="commentsHolder"><div id="identityHolder"><input name="fcAuthToken" id="fcAuthToken" type="hidden">
<div class="dialog" id="openIdIdentityHolder"><div class="top"><img class="close" onclick="BLOG_CMT_onCancel()" src="comment-iframe_data/close.gif" alt="Close">
<h3>Edit profile</h3>
<div class="group"><label id="openIdUsernameLabel" for="openIdUserNameField"></label><br>
<input class="dialogField" id="openIdUserNameField" type="text">
<div class="shown-openid-url"><span id="openIdUriDisplayPrefix" dir="ltr"></span><span id="openIdUriDisplayUsername" dir="ltr"></span><span id="openIdUriDisplaySuffix" dir="ltr"></span></div></div>
<div class="group"><input onclick="BLOG_CMT_onContinue()" value="Continue" type="button">
<span id="openIdDialogErrorHolder"></span></div></div>
<div class="bottom"></div></div>
<div class="dialog" id="genericOpenIdIdentityHolder"><div class="top"><img class="close" onclick="BLOG_CMT_onCancel()" src="comment-iframe_data/close.gif" alt="Close">
<h3>Edit profile</h3>
<div class="group"><label for="openIdUrlField">OpenID URL:</label><br>
<input class="dialogField" name="openIdUri" id="openIdUriField" dir="ltr" type="text"></div>
<div class="group"><input onclick="BLOG_CMT_onContinue()" value="Continue" type="button">
<span id="genericOpenIdDialogErrorHolder"></span></div></div>
<div class="bottom"></div></div>
<div class="dialog" id="nameUrlIdentityHolder"><div class="top"><img class="close" onclick="BLOG_CMT_onCancel()" src="comment-iframe_data/close.gif" alt="Close">
<h3>Edit profile</h3>
<div class="group"><label for="anonNameField">Name:</label><br>
<input class="dialogField" name="anonName" id="anonNameField" type="text"><br>
<label for="anonUrlField">URL:</label><br>
<input class="dialogField" name="anonURL" id="anonUrlField" dir="ltr" type="text"></div>
<div class="group"><input onclick="BLOG_CMT_onContinue()" value="Continue" type="button">
<span id="nameUrlDialogErrorHolder"></span></div></div>
<div class="bottom"></div></div></div>
<textarea name="commentBody" rows="8" cols="60" id="commentBodyField" onkeypress="BLOG_CMT_onCommentBodyChange()"></textarea><br>
<div id="identityControlsHolder"><label id="commentSelectorLabel" for="identityMenu">Comment as:</label>
<select id="identityMenu" name="identityMenu" dir="ltr" onchange="BLOG_CMT_onSelectorChange()"><option selected="selected" disabled="disabled" value="NONE">Select profile...</option><option disabled="disabled" value="NONE"> </option><option value="GOOGLE">Google Account</option><option value="NONE">LiveJournal</option><option value="NONE">WordPress</option><option value="NONE">TypePad</option><option value="NONE">AIM</option><option value="OPENID">OpenID</option><option disabled="disabled" value="NONE"> </option><option value="NAMEURL">Name/URL</option><option value="ANON">Anonymous</option></select>
<span id="editButton"><a href="javascript:void(0)" onclick="BLOG_CMT_onEdit()">Edit</a></span>
<span id="settingsButton"><a href="javascript:void(0)" onclick="BLOG_CMT_onEdit()">Settings</a></span>
<span id="signoutLink" style="display: none;"><span id="commentDash"></span>
<a target="_top" href="http://www.blogger.com/logout-redirect.g?blogID=3943397105358047332&amp;postID=2742838784193321545" onclick="gadgets.rpc.call(null, 'requestSignOut', function(){}, &quot;07481442473544171001&quot;);">Sign out</a></span>
<div id="id-error"></div></div></div>
<div id="postCommentButtonHolder" class="postCommentButtonHolder"><div style="display: none;" id="subscribeButtonHolder"><a href="javascript:BLOG_CMT_subscription.toggle()" id="subscribeButton"></a></div>
<input id="postCommentSubmit" name="postCommentSubmit" onclick="BLOG_CMT_onPost()" value="Post Comment" type="button">
<input id="postCommentPreview" name="postCommentPreview" onclick="return BLOG_CMT_onPreview()" value="Preview" type="button">
<span id="empty-error"></span><span id="body-error"></span></div>
</form>
<div id="main-error-holder"><table class="status-msg error" cellpadding="0" cellspacing="0"><tbody><tr class="top"><td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td>
<td class="msgcolor stretch"></td>
<td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td></tr>
<tr><td class="msgcolor"></td>
<td id="main-error" class="msgcolor"></td>
<td class="msgcolor"></td></tr>
<tr class="bottom"><td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td>
<td class="msgcolor stretch"></td>
<td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td></tr></tbody></table></div>
<div id="main-status-holder"><table class="status-msg status" cellpadding="0" cellspacing="0"><tbody><tr class="top"><td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td>
<td class="msgcolor stretch"></td>
<td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td></tr>
<tr><td class="msgcolor"></td>
<td id="main-status" class="msgcolor"></td>
<td class="msgcolor"></td></tr>
<tr class="bottom"><td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td>
<td class="msgcolor stretch"></td>
<td class="corner"><img alt="" src="navbar_data/blank.gif" width="1" height="1"></td></tr></tbody></table></div></div>
<script type="text/javascript">
BLOG_CMT_addNotLoggedInGaiaIdentity();
BLOG_CMT_addOpenIdIdentityFactories();
BLOG_CMT_addNameUrlIdentityFactory();
BLOG_CMT_addAnonIdentity();
</script>
<script src="comment-iframe_data/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct="UA-18003-7";
_uanchor=1;
_ufsc=false;
_usample = 10;
urchinTracker();
_uff=0;
</script></body></html>

View File

@ -0,0 +1,75 @@
/* Copyright 2007-8 Google. */ (function() {
function e(a){throw a;}
var i=true,k=null,l=false,n,aa=aa||{},q=this,ba=".",ca="var ",t=function(a,b,c){var d=a.split(ba),f=c||q;!(d[0]in f)&&f.execScript&&f.execScript(ca+d[0]);for(var g;d.length&&(g=d.shift());)if(!d.length&&b!==undefined)f[g]=b;else f=f[g]?f[g]:(f[g]={})},da=function(a,b){for(var c=a.split(ba),d=b||q,f;f=c.shift();)if(d[f])d=d[f];else return k;return d},ea=function(){},ga=function(){return arguments[0]},ha="object",ia="[object Array]",u="number",ja="splice",ka="array",la="[object Function]",ma="call",
v="function",na="null",oa=function(a){var b=typeof a;if(b==ha)if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)==ia||typeof a.length==u&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable(ja))return ka;if(!(a instanceof Object)&&(Object.prototype.toString.call(a)==la||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable(ma)))return v}else return na;else if(b==v&&typeof a.call==
"undefined")return ha;return b},w=function(a){return oa(a)==ka},pa=function(a){var b=oa(a);return b==ka||b==ha&&typeof a.length==u},qa="string",x=function(a){return typeof a==qa},ra=function(a){return oa(a)==v},sa=function(a){var b=oa(a);return b==ha||b==ka||b==v},z=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(ta))return a[ta];a[ta]||(a[ta]=++ua);return a[ta]},ta="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),ua=0,va=function(a){var b=oa(a);if(b==ha||b==ka){if(a.D)return a.D.call(a);
var c=b==ka?[]:{};for(var d in a)c[d]=va(a[d]);return c}return a},A=function(a,b){var c=a.$b;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.bc||b;a=a.ac||a;var f,g=b||q;f=c?function(){var h=Array.prototype.slice.call(arguments);h.unshift.apply(h,c);return a.apply(g,h)}:function(){return a.apply(g,arguments)};f.$b=c;f.bc=b;f.ac=a;return f},wa=function(a){var b=Array.prototype.slice.call(arguments,1);b.unshift(a,k);return A.apply(k,b)},xa=Date.now||
function(){return(new Date).getTime()},ya=function(a,b){function c(){}c.prototype=b.prototype;a.l=b.prototype;a.prototype=new c;a.prototype.constructor=a};Function.prototype.Zb=function(a){if(arguments.length>1){var b=Array.prototype.slice.call(arguments,1);b.unshift(this,a);return A.apply(k,b)}else return A(this,a)};Function.prototype.c=function(a){ya(this,a)};var za=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var d=c==k?0:c<0?Math.max(0,a.length+c):c;d<a.length;d++)if(d in a&&a[d]===b)return d;return-1},B="",Aa=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,f=x(a)?a.split(B):a,g=0;g<d;g++)g in f&&b.call(c,f[g],g,a)},Ba=function(a,b){if(a.contains)return a.contains(b);return za(a,b)>-1},Ca=function(a,b){var c=za(a,b),d;if(d=c!=-1)Array.prototype.splice.call(a,
c,1).length==1;return d},Da=function(a){if(w(a))return a.concat();else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}},Ea=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(pa(c)){c=w(c)?c.concat():Da(c);a.push.apply(a,c)}else a.push(c)}},Ga=function(a){return Array.prototype.splice.apply(a,Fa(arguments,1))},Fa=function(a,b,c){return arguments.length<=2?Array.prototype.slice.call(a,b):Array.prototype.slice.call(a,b,c)};var Ha=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)},Ia=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},Ja=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b},Ka=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],La=function(a){for(var b,c,d=1;d<arguments.length;d++){c=arguments[d];for(b in c)a[b]=c[b];for(var f=0;f<Ka.length;f++){b=Ka[f];if(Object.prototype.hasOwnProperty.call(c,b))a[b]=c[b]}}};var Ma=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,B)},Na=/^[a-zA-Z0-9\-_.!~*'()]*$/,Oa=function(a){a=String(a);if(!Na.test(a))return encodeURIComponent(a);return a},Pa="&amp;",Qa="&lt;",Ra="&gt;",Sa="&quot;",C="&",Ta="<",Ua=">",Va='"',ab=function(a,b){if(b)return a.replace(Wa,Pa).replace(Xa,Qa).replace(Ya,Ra).replace(Za,Sa);else{if(!$a.test(a))return a;if(a.indexOf(C)!=-1)a=a.replace(Wa,Pa);if(a.indexOf(Ta)!=-1)a=a.replace(Xa,Qa);if(a.indexOf(Ua)!=-1)a=a.replace(Ya,Ra);if(a.indexOf(Va)!=
-1)a=a.replace(Za,Sa);return a}},Wa=/&/g,Xa=/</g,Ya=/>/g,Za=/\"/g,$a=/[&<>\"]/,bb=function(a,b){return a.indexOf(b)!=-1},cb="(\\d*)(\\D*)",db="g",fb=function(a,b){for(var c=0,d=Ma(String(a)).split(ba),f=Ma(String(b)).split(ba),g=Math.max(d.length,f.length),h=0;c==0&&h<g;h++){var j=d[h]||B,m=f[h]||B,o=new RegExp(cb,db),p=new RegExp(cb,db);do{var r=o.exec(j)||[B,B,B],s=p.exec(m)||[B,B,B];if(r[0].length==0&&s[0].length==0)break;var y=r[1].length==0?0:parseInt(r[1],10),fa=s[1].length==0?0:parseInt(s[1],
10);c=eb(y,fa)||eb(r[2].length==0,s[2].length==0)||eb(r[2],s[2])}while(c==0)}return c},eb=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};xa();var gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb=function(){return q.navigator?q.navigator.userAgent:k},rb=function(){return q.navigator},sb="Opera",tb="MSIE",ub="WebKit",vb="Mobile",wb="Gecko",xb="Camino";(function(){lb=kb=jb=ib=hb=gb=l;var a;if(a=qb()){var b=rb();gb=a.indexOf(sb)==0;hb=!gb&&a.indexOf(tb)!=-1;jb=(ib=!gb&&a.indexOf(ub)!=-1)&&a.indexOf(vb)!=-1;lb=(kb=!gb&&!ib&&b.product==wb)&&b.vendor==xb}})();
var yb=gb,D=hb,E=kb,zb=ib,Ab=function(){var a=rb();return a&&a.platform||B}(),Bb="Mac",Cb="Win",Db="Linux",Eb="X11";(function(){mb=bb(Ab,Bb);nb=bb(Ab,Cb);ob=bb(Ab,Db);pb=!!rb()&&bb(rb().appVersion||B,Eb)})();var Fb=function(){var a=B,b;if(yb&&q.opera){var c=q.opera.version;a=typeof c==v?c():c}else{if(E)b=/rv\:([^\);]+)(\)|;)/;else if(D)b=/MSIE\s+([^\);]+)(\)|;)/;else if(zb)b=/WebKit\/(\S+)/;if(b){var d=b.exec(qb());a=d?d[1]:B}}return a}(),Gb={},Hb=function(a){return Gb[a]||(Gb[a]=fb(Fb,a)>=0)};var Ib,F=" ",Jb=function(a){var b=a.className;return b&&typeof b.split==v?b.split(F):[]},Kb=function(a){for(var b=Jb(a),c=Fa(arguments,1),d,f=0,g=0;g<c.length;g++)if(!Ba(b,c[g])){b.push(c[g]);f++}d=f==c.length;a.className=b.join(F);return d},Lb=function(a){for(var b=Jb(a),c=Fa(arguments,1),d,f=0,g=0;g<b.length;g++)if(Ba(c,b[g])){Ga(b,g--,1);f++}d=f==c.length;a.className=b.join(F);return d};var G=function(a){return x(a)?document.getElementById(a):a},Mb="style",Nb="class",Ob="for",Qb=function(a,b){Ha(b,function(c,d){if(d==Mb)a.style.cssText=c;else if(d==Nb)a.className=c;else if(d==Ob)a.htmlFor=c;else if(d in Pb)a.setAttribute(Pb[d],c);else a[d]=c})},Pb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},Rb=' name="',Sb=' type="',Ub=function(a,b){var c=
b[0],d=b[1];if(D&&d&&(d.name||d.type)){var f=[Ta,c];d.name&&f.push(Rb,ab(d.name),Va);if(d.type){f.push(Sb,ab(d.type),Va);d=va(d);delete d.type}f.push(Ua);c=f.join(B)}var g=a.createElement(c);if(d)if(x(d))g.className=d;else Qb(g,d);if(b.length>2){function h(o){if(o)g.appendChild(x(o)?a.createTextNode(o):o)}for(var j=2;j<b.length;j++){var m=b[j];pa(m)&&!(sa(m)&&m.nodeType>0)?Aa(Tb(m)?Da(m):m,h):h(m)}}return g},Vb=function(a,b){a.appendChild(b)},Wb=zb&&Hb("522"),Xb=function(a,b){if(typeof a.contains!=
"undefined"&&!Wb&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Tb=function(a){if(a&&typeof a.length==u)if(sa(a))return typeof a.item==v||typeof a.item==qa;else if(ra(a))return typeof a.item==v;return l},Yb=function(a){this.ia=a||q.document||document};n=Yb.prototype;var Zb="*",$b="CSS1Compat",ac="528";
n.yb=function(a,b,c){var d;a:{var f=this.ia,g=c||f,h=a&&a!=Zb?a.toLowerCase():B;if(g.querySelectorAll&&(h||b)&&(!zb||f.compatMode==$b||Hb(ac)))d=g.querySelectorAll(h+(b?ba+b:B));else{if(b&&g.getElementsByClassName){var j=g.getElementsByClassName(b);if(h){for(var m={},o=0,p=0,r;r=j[p];p++)if(h==r.nodeName.toLowerCase())m[o++]=r;m.length=o;d=m;break a}else{d=j;break a}}j=g.getElementsByTagName(h||Zb);if(b){m={};for(p=o=0;r=j[p];p++){var s=r.className;if(typeof s.split==v&&Ba(s.split(F),b))m[o++]=r}m.length=
o;d=m}else d=j}}return d};n.nb=function(){return Ub(this.ia,arguments)};n.createElement=function(a){return this.ia.createElement(a)};n.createTextNode=function(a){return this.ia.createTextNode(a)};n.appendChild=Vb;n.contains=Xb;if("StopIteration"in q)var bc=q.StopIteration;else bc=Error("StopIteration");var cc=function(){};cc.prototype.vc=function(){e(bc)};cc.prototype.Ub=function(){return this};var dc=function(a){if(typeof a.R==v)return a.R();if(x(a))return a.split(B);if(pa(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return Ia(a)},ec=function(a){if(typeof a.W==v)return a.W();if(typeof a.R==v)return undefined;if(pa(a)||x(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return Ja(a)},fc=function(a,b,c){if(typeof a.forEach==v)a.forEach(b,c);else if(pa(a)||x(a))Aa(a,b,c);else for(var d=ec(a),f=dc(a),g=f.length,h=0;h<g;h++)b.call(c,f[h],d&&d[h],a)};var gc=function(a){this.t={};this.i=[];var b=arguments.length;if(b>1){if(b%2)e(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.J(arguments[c],arguments[c+1])}else a&&this.Vb(a)};n=gc.prototype;n.b=0;n.Na=0;n.R=function(){this.ya();for(var a=[],b=0;b<this.i.length;b++)a.push(this.t[this.i[b]]);return a};n.W=function(){this.ya();return this.i.concat()};n.F=function(a){return hc(this.t,a)};
n.remove=function(a){if(hc(this.t,a)){delete this.t[a];this.b--;this.Na++;this.i.length>2*this.b&&this.ya();return i}return l};n.ya=function(){if(this.b!=this.i.length){for(var a=0,b=0;a<this.i.length;){var c=this.i[a];if(hc(this.t,c))this.i[b++]=c;a++}this.i.length=b}if(this.b!=this.i.length){var d={};for(b=a=0;a<this.i.length;){c=this.i[a];if(!hc(d,c)){this.i[b++]=c;d[c]=1}a++}this.i.length=b}};n.P=function(a,b){if(hc(this.t,a))return this.t[a];return b};
n.J=function(a,b){if(!hc(this.t,a)){this.b++;this.i.push(a);this.Na++}this.t[a]=b};n.Vb=function(a){var b,c;if(a instanceof gc){b=a.W();c=a.R()}else{b=Ja(a);c=Ia(a)}for(var d=0;d<b.length;d++)this.J(b[d],c[d])};n.D=function(){return new gc(this)};n.Ub=function(a){this.ya();var b=0,c=this.i,d=this.t,f=this.Na,g=this,h=new cc;h.vc=function(){for(;1;){if(f!=g.Na)e(Error("The map has changed since the iterator was created"));if(b>=c.length)e(bc);var j=c[b++];return a?j:d[j]}};return h};
var hc=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var H=function(){};H.prototype.tb=l;H.prototype.ha=function(){if(!this.tb){this.tb=i;this.q()}};H.prototype.q=function(){};var I=function(a,b){H.call(this);this.Db=b;this.O=[];this.dc(a)};ya(I,H);n=I.prototype;n.Ta=k;n.Va=k;n.sa=function(a){this.Ta=a};n.Nb=function(a){this.Va=a};n.H=function(){if(this.O.length)return this.O.pop();return this.ob()};n.aa=function(a){this.O.length<this.Db?this.O.push(a):this.sb(a)};n.dc=function(a){if(a>this.Db)e(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.O.push(this.ob())};n.ob=function(){return this.Ta?this.Ta():{}};
n.sb=function(a){if(this.Va)this.Va(a);else if(ra(a.ha))a.ha();else for(var b in a)delete a[b]};n.q=function(){I.l.q.call(this);for(var a=this.O;a.length;)this.sb(a.pop());delete this.O};var J=function(a,b){this.type=a;this.currentTarget=this.target=b};ya(J,H);J.prototype.q=function(){delete this.type;delete this.target;delete this.currentTarget};J.prototype.$=l;J.prototype.Ia=i;var ic=function(a,b){a&&this.Da(a,b)};ya(ic,J);n=ic.prototype;n.type=k;n.target=k;n.relatedTarget=k;n.offsetX=0;n.offsetY=0;n.clientX=0;n.clientY=0;n.screenX=0;n.screenY=0;n.button=0;n.keyCode=0;n.charCode=0;n.ctrlKey=l;n.altKey=l;n.shiftKey=l;n.metaKey=l;n.wb=k;var jc="mouseover",kc="mouseout",lc="keypress";
n.Da=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type==jc?a.fromElement:this.type==kc?a.toElement:k;this.offsetX=typeof a.layerX==u?a.layerX:a.offsetX;this.offsetY=typeof a.layerY==u?a.layerY:a.offsetY;this.clientX=typeof a.clientX==u?a.clientX:a.pageX;this.clientY=typeof a.clientY==u?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||0;this.button=a.button;this.keyCode=a.keyCode||0;
this.charCode=a.charCode||(this.type==lc?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.wb=a;delete this.Ia;delete this.$};n.q=function(){ic.l.q.call(this);this.wb=k};var mc=function(){},nc=0;n=mc.prototype;n.$a=k;n.X=k;n.Kb=k;n.src=k;n.type=k;n.ga=k;n.Aa=k;n.A=0;n.ba=l;n.mb=l;n.Da=function(a,b,c,d,f,g){if(ra(a))this.$a=i;else if(a&&a.handleEvent&&ra(a.handleEvent))this.$a=l;else e(Error("Invalid listener argument"));this.X=a;this.Kb=b;this.src=c;this.type=d;this.ga=!!f;this.Aa=g;this.mb=l;this.A=++nc;this.ba=l};n.handleEvent=function(a){if(this.$a)return this.X.call(this.Aa||this.src,a);return this.X.handleEvent.call(this.X,a)};var oc={},K={},L={},pc=new I(0,600);pc.sa(function(){return{b:0,o:0}});pc.Nb(function(a){a.b=0});var N=new I(0,600);N.sa(function(){return[]});N.Nb(function(a){a.length=0;delete a.na;delete a.bb});var qc=new I(0,600);qc.sa(function(){var a=function(b){return rc.call(a.src,a.A,b)};return a});var sc=function(){return new mc},tc=new I(0,600);tc.sa(sc);
var uc=function(){return new ic},wc=function(){var a=k;if(D){a=new I(0,600);a.sa(uc)}return a}(),xc={},yc=function(a,b,c,d,f){if(b)if(w(b)){for(var g=0;g<b.length;g++)yc(a,b[g],c,d,f);return k}else{var h=!!d,j=K;b in j||(j[b]=pc.H());j=j[b];if(!(h in j)){j[h]=pc.H();j.b++}j=j[h];var m=z(a),o,p;j.o++;if(j[m]){o=j[m];for(g=0;g<o.length;g++){p=o[g];if(p.X==c&&p.Aa==f){if(p.ba)break;return o[g].A}}}else{o=j[m]=N.H();j.b++}var r=qc.H();r.src=a;p=tc.H();p.Da(c,r,a,b,h,f);var s=p.A;r.A=s;o.push(p);oc[s]=
p;L[m]||(L[m]=N.H());L[m].push(p);if(a.addEventListener){if(a==q||!a.pb)a.addEventListener(b,r,h)}else a.attachEvent(zc(b),r);return s}else e(Error("Invalid event type"))},Ac=function(a,b,c,d,f){if(w(b)){for(var g=0;g<b.length;g++)Ac(a,b[g],c,d,f);return k}var h=!!d,j;a:{var m=K;if(b in m){m=m[b];if(h in m){m=m[h];var o=z(a);if(m[o]){j=m[o];break a}}}j=k}if(!j)return l;for(g=0;g<j.length;g++)if(j[g].X==c&&j[g].ga==h&&j[g].Aa==f)return Bc(j[g].A);return l},Bc=function(a){if(!oc[a])return l;var b=oc[a];
if(b.ba)return l;var c=b.src,d=b.type,f=b.Kb,g=b.ga;if(c.removeEventListener){if(c==q||!c.pb)c.removeEventListener(d,f,g)}else c.detachEvent&&c.detachEvent(zc(d),f);var h=z(c),j=K[d][g][h];if(L[h]){var m=L[h];Ca(m,b);m.length==0&&delete L[h]}b.ba=i;j.bb=i;Cc(d,g,h,j);delete oc[a];return i},Cc=function(a,b,c,d){if(!d.na)if(d.bb){for(var f=0,g=0;f<d.length;f++)if(d[f].ba)tc.aa(d[f]);else{if(f!=g)d[g]=d[f];g++}d.length=g;d.bb=l;if(g==0){N.aa(d);delete K[a][b][c];K[a][b].b--;if(K[a][b].b==0){pc.aa(K[a][b]);
delete K[a][b];K[a].b--}if(K[a].b==0){pc.aa(K[a]);delete K[a]}}}},Dc=function(a,b,c){var d=0,f=a==k,g=b==k,h=c==k;c=!!c;if(f)Ha(L,function(r){for(var s=r.length-1;s>=0;s--){var y=r[s];if((g||b==y.type)&&(h||c==y.ga)){Bc(y.A);d++}}});else{var j=z(a);if(L[j])for(var m=L[j],o=m.length-1;o>=0;o--){var p=m[o];if((g||b==p.type)&&(h||c==p.ga)){Bc(p.A);d++}}}return d},Ec="on",zc=function(a){if(a in xc)return xc[a];return xc[a]=Ec+a},Gc=function(a,b,c,d,f){var g=1,h=z(b);if(a[h]){a.o--;var j=a[h];if(j.na)j.na++;
else j.na=1;try{for(var m=j.length,o=0;o<m;o++){var p=j[o];if(p&&!p.ba)g&=Fc(p,f)!==l}}finally{j.na--;Cc(c,d,h,j)}}return Boolean(g)},Fc=function(a,b){var c=a.handleEvent(b);a.mb&&Bc(a.A);return c},Hc="window.event",rc=function(a,b){if(!oc[a])return i;var c=oc[a],d=c.type,f=K;if(!(d in f))return i;f=f[d];var g,h;if(D){var j=b||da(Hc),m=i in f,o=l in f;if(m){if(j.keyCode<0||j.returnValue!=undefined)return i;a:{var p=l;if(j.keyCode==0)try{j.keyCode=-1;break a}catch(r){p=i}if(p||j.returnValue==undefined)j.returnValue=
i}}var s=wc.H();s.Da(j,this);g=i;try{if(m){for(var y=N.H(),fa=s.currentTarget;fa;fa=fa.parentNode)y.push(fa);h=f[i];h.o=h.b;for(var M=y.length-1;!s.$&&M>=0&&h.o;M--){s.currentTarget=y[M];g&=Gc(h,y[M],d,i,s)}if(o){h=f[l];h.o=h.b;for(M=0;!s.$&&M<y.length&&h.o;M++){s.currentTarget=y[M];g&=Gc(h,y[M],d,l,s)}}}else g=Fc(c,s)}finally{if(y){y.length=0;N.aa(y)}s.ha();wc.aa(s)}return g}var vc=new ic(b,this);try{g=Fc(c,vc)}finally{vc.ha()}return g};var Ic=function(){};ya(Ic,H);n=Ic.prototype;n.pb=i;n.cb=k;n.addEventListener=function(a,b,c,d){yc(this,a,b,c,d)};n.removeEventListener=function(a,b,c,d){Ac(this,a,b,c,d)};
n.dispatchEvent=function(a){var b;{var c=a;if(x(c))c=new J(c,this);else if(c instanceof J)c.target=c.target||this;else{var d=c;c=new J(c.type,this);La(c,d)}var f=1,g,h=c.type,j=K;if(h in j){j=j[h];var m=i in j,o;if(m){g=[];for(var p=this;p;p=p.cb)g.push(p);o=j[i];o.o=o.b;for(var r=g.length-1;!c.$&&r>=0&&o.o;r--){c.currentTarget=g[r];f&=Gc(o,g[r],c.type,i,c)&&c.Ia!=l}}if(l in j){o=j[l];o.o=o.b;if(m)for(r=0;!c.$&&r<g.length&&o.o;r++){c.currentTarget=g[r];f&=Gc(o,g[r],c.type,l,c)&&c.Ia!=l}else for(var s=
this;!c.$&&s&&o.o;s=s.cb){c.currentTarget=s;f&=Gc(o,s,c.type,l,c)&&c.Ia!=l}}b=Boolean(f)}else b=i}return b};n.q=function(){Ic.l.q.call(this);Dc(this);this.cb=k};var Jc="@",Kc="]",Lc="(",Mc=")",Nc=function(a){var b=String(a),c;c=/^\s*$/.test(b)?l:/^[\],:{}\s\u2028\u2029]*$/.test(b.replace(/\\["\\\/bfnrtu]/g,Jc).replace(/"[^"\\\n\r\u2028\u2029\x00-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,Kc).replace(/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,B));if(c)try{return eval(Lc+b+Mc)}catch(d){}e(Error("Invalid JSON string: "+b))};/\uffff/.test("\uffff");var Oc=q.window;var Pc=function(){if(E){this.L={};this.Pa={};this.Ka=[]}};n=Pc.prototype;n.Lb=function(a){E&&this.Ka.push(x(a)?a:sa(a)?z(a):B)};n.Jb=function(){E&&this.Ic(this.Ka.pop())};n.uc=function(a){if(E)for(var b=z(a),c=0;c<this.Ka.length;c++){var d=this.Ka[c];this.va(this.L,d,b);this.va(this.Pa,b,d)}};n.tc=function(a){if(E){var b=z(a);delete this.Pa[b];for(var c in this.L){Ca(this.L[c],b);this.L[c].length==0&&delete this.L[c]}}};
n.Ic=function(a){var b=this.Pa[a],c=this.L[a];b&&c&&Aa(b,function(d){Aa(c,function(f){this.va(this.L,d,f);this.va(this.Pa,f,d)},this)},this)};n.va=function(a,b,c){a[b]||(a[b]=[]);Ba(a[b],c)||a[b].push(c)};var Qc=new Pc;var Sc=function(){return Rc()},Rc=k,Tc=k,Uc=k;(function(a,b){Rc=a;Tc=b;Uc=k})(function(){var a=Vc();return a?new ActiveXObject(a):new XMLHttpRequest},function(){var a={};if(Vc()){a[0]=i;a[1]=i}return a});var Wc=k,Xc="MSXML2.XMLHTTP.6.0",Yc="MSXML2.XMLHTTP.3.0",Zc="MSXML2.XMLHTTP",$c="Microsoft.XMLHTTP",Vc=function(){if(!Wc&&typeof XMLHttpRequest=="undefined"&&typeof ActiveXObject!="undefined"){for(var a=[Xc,Yc,Zc,$c],b=0;b<a.length;b++){var c=a[b];try{new ActiveXObject(c);return Wc=c}catch(d){}}e(Error("Could not create ActiveXObject. ActiveX might be disabled, or MSXML might not be installed"))}return Wc};var O=function(){Ic.call(this);this.headers=new gc};ya(O,Ic);var ad=[],bd="complete",cd="ready",ed=function(a,b,c,d,f,g){var h=new O;ad.push(h);b&&yc(h,bd,b);yc(h,cd,wa(dd,h));g&&h.Ec(g);h.send(a,c,d,f)},dd=function(a){a.ha();Ca(ad,a)};n=O.prototype;n.C=l;n.a=k;n.Oa=k;n.sc=B;n.rc=B;n.ma=0;n.Ha=B;n.Wa=l;n.Ba=l;n.Za=l;n.T=l;n.La=0;n.U=k;n.Ec=function(a){this.La=Math.max(0,a)};var fd="GET",gd="POST",hd="Content-Type",id="application/x-www-form-urlencoded;charset=utf-8";
n.send=function(a,b,c,d){if(this.C)e(Error("[goog.net.XhrIo] Object is active with another request"));var f=b||fd;this.sc=a;this.Ha=B;this.ma=0;this.rc=f;this.Wa=l;this.C=i;this.a=new Sc;this.Oa=Uc||(Uc=Tc());Qc.uc(this.a);this.a.onreadystatechange=A(this.Hb,this);try{this.Za=i;this.a.open(f,a,i);this.Za=l}catch(g){this.vb(5,g);return}var h=c||B,j=this.headers.D();d&&fc(d,function(o,p){j.J(p,o)});f==gd&&!j.F(hd)&&j.J(hd,id);fc(j,function(o,p){this.a.setRequestHeader(p,o)},this);try{if(this.U){Oc.clearTimeout(this.U);
this.U=k}if(this.La>0)this.U=Oc.setTimeout(A(this.Hc,this),this.La);this.Ba=i;this.a.send(h);this.Ba=l}catch(m){this.vb(5,m)}};n.dispatchEvent=function(a){if(this.a){Qc.Lb(this.a);try{O.l.dispatchEvent.call(this,a)}finally{Qc.Jb()}}else O.l.dispatchEvent.call(this,a)};var jd="Timed out after ",kd="ms, aborting",ld="timeout";n.Hc=function(){if(!(typeof aa=="undefined"))if(this.a){this.Ha=jd+this.La+kd;this.ma=8;this.dispatchEvent(ld);this.abort(8)}};
n.vb=function(a,b){this.C=l;if(this.a){this.T=i;this.a.abort();this.T=l}this.Ha=b;this.ma=a;this.rb();this.xa()};var md="error";n.rb=function(){if(!this.Wa){this.Wa=i;this.dispatchEvent(bd);this.dispatchEvent(md)}};var nd="abort";n.abort=function(a){if(this.a){this.C=l;this.T=i;this.a.abort();this.T=l;this.ma=a||7;this.dispatchEvent(bd);this.dispatchEvent(nd);this.xa()}};n.q=function(){if(this.a){if(this.C){this.C=l;this.T=i;this.a.abort();this.T=l}this.xa(i)}O.l.q.call(this)};
n.Hb=function(){!this.Za&&!this.Ba&&!this.T?this.Bc():this.Gb()};n.Bc=function(){this.Gb()};var od="readystatechange",pd="success",qd=" [";n.Gb=function(){if(this.C)if(!(typeof aa=="undefined"))if(!(this.Oa[1]&&this.ka()==4&&this.Xa()==2))if(this.Ba&&this.ka()==4)Oc.setTimeout(A(this.Hb,this),0);else{this.dispatchEvent(od);if(this.oc()){this.C=l;if(this.ab()){this.dispatchEvent(bd);this.dispatchEvent(pd)}else{this.ma=6;this.Ha=this.jc()+qd+this.Xa()+Kc;this.rb()}this.xa()}}};
n.xa=function(a){if(this.a){this.a.onreadystatechange=this.Oa[0]?ea:k;var b=this.a;this.Oa=this.a=k;if(this.U){Oc.clearTimeout(this.U);this.U=k}if(!a){Qc.Lb(b);this.dispatchEvent(cd);Qc.Jb()}Qc.tc(b)}};n.oc=function(){return this.ka()==4};n.ab=function(){switch(this.Xa()){case 0:case 200:case 204:case 304:return i;default:return l}};n.ka=function(){return this.a?this.a.readyState:0};n.Xa=function(){try{return this.ka()>2?this.a.status:-1}catch(a){return-1}};
n.jc=function(){try{return this.ka()>2?this.a.statusText:B}catch(a){return B}};n.Bb=function(){return this.a?Nc(this.a.responseText):undefined};var P=function(){},rd="NONE";P.prototype.n=function(){return rd};P.prototype.k=function(){return k};var sd=function(a){this.label=a};sd.c(P);sd.prototype.g=function(){return this.label};var Q=function(a,b){P.call(this);this.label=b;this.value=a.n();this.r=a};Q.c(P);Q.prototype.g=function(){return this.label};Q.prototype.n=function(){return this.value};var R="=";Q.prototype.f=function(){return this.r.f()+R};Q.prototype.k=function(){return new S(this)};var T=function(){P.call(this)};T.c(P);T.prototype.f=function(){return encodeURIComponent(this.n())};T.prototype.k=function(){return k};var td=function(a){Q.call(this,a,a.g())};td.c(Q);var ud=function(){T.call(this)};ud.c(T);var vd="Anonymous";ud.prototype.g=function(){return vd};var wd="ANON";ud.prototype.n=function(){return wd};ud.prototype.M=function(){return new td(this)};var xd="span",yd="img",zd="a",Ad="input",Bd="select",Cd="inline",Dd="block",U=function(a){var b=G(a),c=b.nodeName.toLowerCase();b.style.display=c==xd||c==yd||c==zd||c==Ad||c==Bd?Cd:Dd},Ed="none",V=function(a){G(a).style.display=Ed};var Fd="main-status-holder",Gd="captcha-error",Hd="id-error",Id="main-error",Jd="main-error-holder",Kd="nameUrlDialogErrorHolder",Ld="openIdDialogErrorHolder",Md="genericOpenIdDialogErrorHolder",Nd=function(a,b,c){var d,f;c&&V(Fd);switch(a){case 0:d=f=Gd;break;case 1:d=f=Hd;break;case 2:case 3:case 4:d=Id;f=Jd;break;case 5:d=f=Kd;break;case 6:d=f=Ld;break;case 7:d=f=Md;break;default:e(new Error("internal error in show message"))}if(c){G(d).innerHTML=b;U(f)}else{G(d).innerHTML=B;V(f)}},W=function(a,
b){Nd(a,b,i)},Od=function(a){Nd(a,k,l)},Pd="main-status",Qd=function(a){Od(3);G(Pd).innerHTML=a;U(Fd)},Rd=function(a){W(4,a)};var Sd,Td,Ud=function(a){if(Sd.closed){Sd=k;window.clearTimeout(Td);a()}else{var b=A(Ud,{},a);Td=window.setTimeout(b,1000)}};var Vd=function(){},Wd="identityMenu",Xd="commentBodyField",Yd="postCommentSubmit";Vd.prototype.Gc=function(){V(Wd);G(Xd).disabled=i;G(Yd).disabled=i};Vd.prototype.mc=function(){U(Wd);G(Xd).disabled=l;G(Yd).disabled=l};var S=function(a){Vd.call(this);this.h=a};S.c(Vd);n=S.prototype;n.z=function(){return l};var Zd="identityHolder";n.u=function(){if(!this.z())e(new Error("Trying to show a non-editable identity"));this.Gc();U(Zd)};var $d="menubar=no,location=no,resizable=no,scrollbars=no,status=no,height=550,width=800",ae="requestReload";n.Rb=function(a){Sd=window.open(a,B,$d);Ud(function(){gadgets.rpc.call(k,ae)})};n.Ga=function(){return i};var be="editButton";
n.Ja=function(){if(!this.z())e(new Error("Trying to show edit button for a non-editable identity"));U(be)};n.Y=function(){};n.ra=function(){};var ce="settingsButton",de="commentDash",ee="subscribeButtonHolder";n.w=function(){V(Zd);V(be);V(ce);V(de);V(ee);this.mc()};var fe=function(){};fe.prototype.send=function(a,b,c,d,f,g){ed(a,b,c,d,f,g)};var ge=new fe;var he="fieldset",ie="file",je="submit",ke="reset",le="button",me="select-multiple",ne="image",oe=".x",pe="0",qe=".y",te=function(a){for(var b=[],c=a.elements,d,f=0;d=c[f];f++)if(!(d.disabled||d.tagName.toLowerCase()==he)){var g=d.name;switch(d.type.toLowerCase()){case ie:case je:case ke:case le:break;case me:var h=re(d);if(h!=k)for(var j,m=0;j=h[m];m++)se(b,g,j);break;default:j=re(d);j!=k&&se(b,g,j)}}var o=a.getElementsByTagName(Ad),p;for(f=0;p=o[f];f++)if(p.form==a&&p.type.toLowerCase()==ne){g=
p.name;se(b,g,p.value);se(b,g+oe,pe);se(b,g+qe,pe)}return b.join(C)},se=function(a,b,c){a.push(encodeURIComponent(b)+R+encodeURIComponent(c))},ue="checkbox",ve="radio",we="select-one",re=function(a){var b=a.type;if(!(b!==undefined))return k;switch(b.toLowerCase()){case ue:case ve:return a.checked?a.value:k;case we:var c,d=a.selectedIndex;return c=d>=0?a.options[d].value:k;case me:for(var f,g=[],h,j=0;h=a.options[j];j++)h.selected&&g.push(h.value);return f=g.length?g:k;default:return a.value!==undefined?
a.value:k}};var xe=l,ye=l,ze=l,Ae="subscribeButton",Be="Unsubscribe",Ce="Subscribe by email",De="ajaxAction",Ee="UnsubscribeByEmail",Fe="SubscribeByEmail",Ge=function(a,b){ye=a;ze=b;if(a||b){G(Ae).innerHTML=b?Be:Ce;U(ee);G(De).value=b?Ee:Fe}else V(ee)},He="commentSubscriptionForm",Ie="An error occurred while contacting the server.",Je=function(){if(!xe){xe=i;var a=G(He);ge.send(a.action,function(){xe=l;if(this.ab()){var b=this.Bb();b.errorMessage!=k?W(3,b.errorMessage):Qd(b.statusMessage);Ge(b.can_subscribe,
b.is_subscribed)}else W(3,Ie)},gd,te(a))}};var Le=function(a,b,c){Q.call(this,new Ke,a);this.xb=b;this.za=c};Le.c(Q);Le.prototype.f=function(){return this.r.f()+R+this.label+R+this.xb};Le.prototype.g=function(){return this.label};Le.prototype.k=function(){return new Me(this)};var Ke=function(){T.call(this)};Ke.c(T);Ke.prototype.g=function(){return B};var Ne="FRIENDCONNECT";Ke.prototype.n=function(){return Ne};Ke.prototype.M=function(a){return new Le(a[1],a[2])};var Oe="internal error";Ke.prototype.k=function(){e(new Error(Oe))};
var Me=function(a){S.call(this,a)};Me.c(S);Me.prototype.z=function(){return i};var Pe="signoutLink";Me.prototype.Ja=function(){U(ce);U(Pe);U(de)};Me.prototype.u=function(){this.Rb(this.h.za)};var Qe="fcAuthToken";Me.prototype.Y=function(){G(Qe).value=this.h.xb};var Se=function(a,b,c,d){Q.call(this,new Re,a);this.ic=b;this.Eb=c;this.za=d};Se.c(Q);Se.prototype.f=function(){return this.r.f()+R+this.label+R+this.ic};var Te=" (",Ue=" (Google)";Se.prototype.g=function(){return this.Eb?this.label+Te+this.Eb+Mc:this.label+Ue};Se.prototype.k=function(){return new Ve(this)};var Re=function(){T.call(this)};Re.c(T);Re.prototype.g=function(){return B};var We="CURRENT";Re.prototype.n=function(){return We};Re.prototype.M=function(a){return new Se(a[1],a[2])};
Re.prototype.k=function(){e(new Error(Oe))};var Ve=function(a){S.call(this,a)};Ve.c(S);Ve.prototype.z=function(){return i};Ve.prototype.Ja=function(){if(ye||ze)U(ee);if(this.h.za){U(ce);U(Pe);U(de)}};Ve.prototype.u=function(){this.Rb(this.h.za)};var Xe=function(a){Q.call(this,a,a.g())};Xe.c(Q);var X=function(){T.call(this)};X.c(T);var Ye="Google Account";X.prototype.g=function(){return Ye};var Ze="GOOGLE";X.prototype.n=function(){return Ze};X.prototype.M=function(){return this.Ab()};
X.prototype.Ab=function(){return new Xe(this)};var $e=function(a,b,c){Q.call(this,a,k);this.name=b;this.Ma=c};$e.c(Q);$e.prototype.g=function(){return this.name+Te+this.Ma+Mc};$e.prototype.f=function(){return this.r.f()+R+encodeURIComponent(this.name)+R+encodeURIComponent(this.Ma)};$e.prototype.k=function(){return new Y(this)};var af=function(){T.call(this)};af.c(T);var bf="Name/URL";af.prototype.g=function(){return bf};var cf="NAMEURL";af.prototype.n=function(){return cf};af.prototype.k=function(){return new Y(new $e(this,B,B))};
af.prototype.M=function(a){return new $e(this,a[1],a[2])};var Y=function(a){S.call(this,a)};Y.c(S);n=Y.prototype;n.z=function(){return i};var df="nameUrlIdentityHolder";n.u=function(){Y.l.u.call(this);U(df)};n.w=function(){Y.l.w.call(this);V(df);Od(5);this.Ob(B);this.Qb(B)};n.Y=function(){this.Ob(this.h.name);this.Qb(this.h.Ma)};n.ra=function(){Y.l.ra.call(this);this.h.name=this.zb();this.h.Ma=this.lc();this.Ja()};var ef="Name should not be empty";n.Ga=function(){if(this.zb()==B){W(5,ef);return l}return i};
var ff="anonNameField";n.zb=function(){return G(ff).value};n.Ob=function(a){G(ff).value=a};var gf="anonUrlField";n.lc=function(){return G(gf).value};n.Qb=function(a){G(gf).value=a};var hf=function(){this.S=[];this.oa=[];this.fa=[];this.Ca=[];this.e=this.j=k;this.m=[]};n=hf.prototype;n.Ea=function(a,b,c,d){for(var f=0;f<this.m.length;f++)if(a==this.m[f])return d(a);var g=a.f();for(f=0;f<this.m.length;f++)if(this.m[f].f()==g)return c(this.m[f]);return b(a)};n.nc=function(a){return this.Ea(a,A(function(b){return this.m[this.m.length]=b},this),ga,ga)};n.pc=function(a){function b(){return i}function c(){return l}return this.Ea(a,b,c,c)};
n.la=function(a){function b(){e(new Error("item should have been unique"))}this.Ea(a,ea,b,b);return this.nc(a)};n.Qa=function(a){return this.Ea(a,A(function(b){this.m[this.m.length]=b;return this.S[this.S.length]=b},this),ga,ga)};n.lb=function(a){this.j=this.Qa(a);this.qa();this.ea();this.wa(l);return this.j};n.K=function(a){this.la(a);this.oa[this.oa.length]=a};n.Yb=function(){this.K(this.la(new X).Ab())};n.Xb=function(){var a=new af;this.la(a);this.fa[this.fa.length]=a};
n.Wb=function(){var a=this.la(new ud);this.fa[this.fa.length]=this.la(new td(a))};n.ea=function(){var a=this.Ca[G(Wd).selectedIndex];if(a.constructor==sd)this.qa();else{Od(1);this.e=a.k();this.e!=k&&this.e.Y()}};n.wa=function(a){if(this.e!=k){var b=this.e.h;if(a&&this.e.z()&&this.pc(b)||!this.e.Ga()){this.e.u();return k}else{this.e.ra();this.e.w();this.e.z()&&this.e.Ja();this.e=k;return b}}return k};var jf="encodedIds",kf="encodedSelectedId";
n.Cc=function(){this.ec(G(jf).value);this.j=this.qb(G(kf).value);if(this.j==k&&this.S.length>0)this.j=this.S[0];if(this.j==k&&this.oa.length==1)this.j=this.oa[0];this.qa();if(this.j!=k){this.ea();this.wa(l)}};var lf="option";n.Ra=function(a,b){this.Ca[this.Ca.length]=b;var c=document.createElement(lf);c.text=b.g();c.value=b.n();try{a.add(c,k)}catch(d){a.add(c)}if(this.j==b)c.selected=i;return c};var mf="disabled";
n.Sa=function(a,b){if(b.length>0)this.Ra(a,new sd(F)).disabled=mf;for(var c=0;c<b.length;c++)this.Ra(a,b[c])};var nf="Select profile...";n.qa=function(){for(var a=G(Wd);a.options.length!=0;)a.remove(0);this.Ca=[];this.Ra(a,new sd(nf)).disabled=mf;this.Sa(a,this.S);this.Sa(a,this.oa);this.Sa(a,this.fa)};n.gc=function(){for(var a=[],b=0;b<this.S.length;b++)a[a.length]=this.S[b].f();return a.join(C)};n.ec=function(a){if(!(a==B))for(var b=a.split(C),c=0;c<b.length;c++)this.qb(b[c])};
n.qb=function(a){if(a==B)return k;for(var b=a.split(R),c=0;c<b.length;c++)b[c]=decodeURIComponent(b[c]);var d=this.hc(b[0]);if(d!=k)return this.Qa(d.M(b));return k};n.hc=function(a){for(var b=0;b<this.m.length;b++)if(this.m[b].f()==a)return this.m[b];return k};var of="Comment should not be empty",pf="Content length exceeds 1MB. Please abridge.";n.Tb=function(){var a=G(Xd).value;if(a==B){W(2,of);return l}if(a.length>1000000){W(2,pf);return l}Od(2);return i};
n.Fb=function(){this.e!=k&&this.e.w();this.ea();var a=this.wa(i);if(a!=k)this.j=a};n.xc=function(){var a=this.wa(l);a!=k&&this.lb(a)};n.wc=function(){if(this.e!=k){this.e.w();this.e=k}this.qa();this.Fb()};var qf="Please choose a profile";n.Ib=function(){if(this.j==k||this.j.n()==rd){W(1,qf);return l}if(this.e!=k)return l;G(jf).value=this.gc();G(kf).value=this.j.f();return i};n.yc=function(){if(this.j){this.ea();this.e.u()}};n.zc=function(){this.Tb()&&this.Ib()&&this.ub(l)};
n.Ac=function(){this.Tb()&&this.Ib()&&this.ub(i)};var rf="showPreview",sf="true",tf="false",uf="commentForm";n.ub=function(a){if(a)G(rf).value=sf;else G(rf).value=tf;this.ea();var b=G(uf);b.onsubmit=B;b.submit()};var vf,wf,xf,yf,zf,Af,Bf="Firefox",Cf="iPhone",Df="iPod",Ef="Android",Ff="Chrome",Gf="Safari";(function(){Af=zf=yf=xf=wf=vf=l;var a=qb();if(a)if(a.indexOf(Bf)!=-1)vf=i;else if(a.indexOf(xb)!=-1)wf=i;else if(a.indexOf(Cf)!=-1||a.indexOf(Df)!=-1)xf=i;else if(a.indexOf(Ef)!=-1)yf=i;else if(a.indexOf(Ff)!=-1)zf=i;else if(a.indexOf(Gf)!=-1)Af=i})();var Hf="innerText",If="innerHTML",Jf=function(a,b){if(D)a.cssText=b;else a[zb?Hf:If]=b};E&&Hb("1.9");var Kf=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,Lf=function(a){return a.match(Kf)};var Mf=function(a,b){var c;if(a instanceof Mf){this.ca(b==k?a.s:b);this.ib(a.I);this.jb(a.ta);this.db(a.ja);this.gb(a.Z);this.fb(a.pa);this.hb(a.B.D());this.eb(a.V)}else if(a&&(c=Lf(String(a)))){this.ca(!!b);this.ib(c[1]||B,i);this.jb(c[2]||B,i);this.db(c[3]||B,i);this.gb(c[4]);this.fb(c[5]||B,i);this.Dc(c[6]||B,i);this.eb(c[7]||B,i)}else{this.ca(!!b);this.B=new Nf(k,this,this.s)}};n=Mf.prototype;n.I=B;n.ta=B;n.ja=B;n.Z=k;n.pa=B;n.V=B;n.qc=l;n.s=l;var Of=":",Pf="//",Qf="?",Rf="#";
n.toString=function(){if(this.p)return this.p;var a=[];this.I&&a.push(Sf(this.I,Tf),Of);if(this.ja){a.push(Pf);this.ta&&a.push(Sf(this.ta,Tf),Jc);a.push(Uf(this.ja));this.Z!=k&&a.push(Of,String(this.Z))}this.pa&&a.push(Sf(this.pa,Vf));var b=String(this.B);b&&a.push(Qf,b);this.V&&a.push(Rf,Sf(this.V,Wf));return this.p=a.join(B)};
n.D=function(){var a,b=this.I,c=this.ta,d=this.ja,f=this.Z,g=this.pa,h=this.B.D(),j=this.V,m=new Mf(k,this.s);b&&m.ib(b);c&&m.jb(c);d&&m.db(d);f&&m.gb(f);g&&m.fb(g);h&&m.hb(h);j&&m.eb(j);return a=m};n.ib=function(a,b){this.N();delete this.p;if(this.I=b?a?decodeURIComponent(a):B:a)this.I=this.I.replace(/:$/,B);return this};n.jb=function(a,b){this.N();delete this.p;this.ta=b?a?decodeURIComponent(a):B:a;return this};n.db=function(a,b){this.N();delete this.p;this.ja=b?a?decodeURIComponent(a):B:a;return this};
n.gb=function(a){this.N();delete this.p;if(a){a=Number(a);if(isNaN(a)||a<0)e(Error("Bad port number "+a));this.Z=a}else this.Z=k;return this};n.fb=function(a,b){this.N();delete this.p;this.pa=b?a?decodeURIComponent(a):B:a;return this};n.hb=function(a,b){this.N();delete this.p;if(a instanceof Nf){this.B=a;this.B.kb=this;this.B.ca(this.s)}else{b||(a=Sf(a,Xf));this.B=new Nf(a,this,this.s)}return this};n.Dc=function(a,b){return this.hb(a,b)};
n.eb=function(a,b){this.N();delete this.p;this.V=b?a?decodeURIComponent(a):B:a;return this};n.N=function(){if(this.qc)e(Error("Tried to modify a read-only Uri"))};n.ca=function(a){this.s=a;this.B&&this.B.ca(a)};
var Uf=function(a){if(x(a))return encodeURIComponent(a);return k},Yf=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,Sf=function(a,b){var c=k;if(x(a)){c=a;Yf.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,Zf)}return c},$f="%",Zf=function(a){var b=a.charCodeAt(0);return $f+(b>>4&15).toString(16)+(b&15).toString(16)},Tf=/[#\/\?@]/g,Vf=/[\#\?]/g,Xf=/[\#\?@]/g,Wf=/#/g,Nf=function(a,b,c){this.v=a||k;this.kb=b||k;this.s=!!c};n=Nf.prototype;
n.G=function(){if(!this.d){this.d=new gc;if(this.v)for(var a=this.v.split(C),b=0;b<a.length;b++){var c=a[b].indexOf(R),d=k,f=k;if(c>=0){d=a[b].substring(0,c);f=a[b].substring(c+1)}else d=a[b];d=decodeURIComponent(d.replace(/\+/g,F));d=this.Q(d);this.add(d,f?decodeURIComponent(f.replace(/\+/g,F)):B)}}};n.d=k;n.b=k;n.add=function(a,b){this.G();this.Fa();a=this.Q(a);if(this.F(a)){var c=this.d.P(a);w(c)?c.push(b):this.d.J(a,[c,b])}else this.d.J(a,b);this.b++;return this};
n.remove=function(a){this.G();a=this.Q(a);if(this.d.F(a)){this.Fa();var b=this.d.P(a);if(w(b))this.b-=b.length;else this.b--;return this.d.remove(a)}return l};n.F=function(a){this.G();a=this.Q(a);return this.d.F(a)};n.W=function(){this.G();for(var a=this.d.R(),b=this.d.W(),c=[],d=0;d<b.length;d++){var f=a[d];if(w(f))for(var g=0;g<f.length;g++)c.push(b[d]);else c.push(b[d])}return c};
n.R=function(a){this.G();var b;if(a){var c=this.Q(a);if(this.F(c)){var d=this.d.P(c);if(w(d))return d;else{b=[];b.push(d)}}else b=[]}else{var f=this.d.R();b=[];for(var g=0;g<f.length;g++){var h=f[g];w(h)?Ea(b,h):b.push(h)}}return b};n.J=function(a,b){this.G();this.Fa();a=this.Q(a);if(this.F(a)){var c=this.d.P(a);if(w(c))this.b-=c.length;else this.b--}this.d.J(a,b);this.b++;return this};n.P=function(a,b){this.G();a=this.Q(a);if(this.F(a)){var c=this.d.P(a);return w(c)?c[0]:c}else return b};
n.toString=function(){if(this.v)return this.v;if(!this.d)return B;for(var a=[],b=0,c=this.d.W(),d=0;d<c.length;d++){var f=c[d],g=Oa(f),h=this.d.P(f);if(w(h))for(var j=0;j<h.length;j++){b>0&&a.push(C);a.push(g,R,Oa(h[j]));b++}else{b>0&&a.push(C);a.push(g,R,Oa(h));b++}}return this.v=a.join(B)};n.Fa=function(){delete this.Ua;delete this.v;this.kb&&delete this.kb.p};n.D=function(){var a=new Nf;if(this.Ua)a.Ua=this.Ua;if(this.v)a.v=this.v;if(this.d)a.d=this.d.D();return a};
n.Q=function(a){var b=String(a);if(this.s)b=b.toLowerCase();return b};n.ca=function(a){if(a&&!this.s){this.G();this.Fa();fc(this.d,function(b,c){var d=c.toLowerCase();if(c!=d){this.remove(c);this.add(d,b)}},this)}this.s=a};var ag=function(a){return/^[A-Za-z0-9]+$/.test(a)||/^#[0-9A-Fa-f]{3}$/.test(a)||/^#[0-9A-Fa-f]{6}$/.test(a)||/^rgb *\( *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *\)$/.test(a)||/^rgba *\( *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *, *\d{1,3}%? *\)$/.test(a)},bg=",",cg=function(a){for(var b=a.split(bg),c=0;c<b.length;c++){var d=b[c];d=Ma(d);if(!(/^[- A-Za-z0-9]*$/.test(d)||/^"[- A-Za-z0-9]*"$/.test(d)||/^'[- A-Za-z0-9]*'$/.test(d)))return l}return i},dg=function(a){var b;return b=a.replace(/(\r\n|\r|\n)+/g,
F).replace(/\xa0|[ \t]+/g,F)};var eg=function(a,b,c,d){T.call(this);this.fc=a;this.Sb=b;this.name=c;this.Jc=d};eg.c(T);n=eg.prototype;n.g=function(){return this.name};n.f=function(){return encodeURIComponent(this.fc)};n.cc=function(a){return this.Sb.replace(/{username}/,encodeURIComponent(a))};var fg="{username}";n.kc=function(){return this.Sb.split(fg)};n.k=function(){return new gg(new hg(this,B,B))};n.M=function(a){return new hg(this,a[1],a[2])};
var ig="OPENID",hg=function(a,b,c){Q.call(this,a,b);this.ua=c;this.da=b;this.value=ig};hg.c(Q);hg.prototype.g=function(){return this.ua+Te+this.r.g()+Mc};hg.prototype.f=function(){return this.r.f()+R+encodeURIComponent(this.da)+R+encodeURIComponent(this.ua)};hg.prototype.k=function(){return new gg(this)};var gg=function(a){S.call(this,a)};gg.c(S);n=gg.prototype;n.z=function(){return i};
var jg="openIdIdentityHolder",kg="openIdUsernameLabel",lg="openIdUserNameField",mg="change",ng="keydown",og="keyup",pg="blur",qg="focus";n.u=function(){gg.l.u.call(this);U(jg);G(kg).innerHTML=this.h.r.Jc;for(var a=G(lg),b=function(){this.Mb()}.Zb(this),c=[mg,lc,ng,og,pg,qg],d=0;d<c.length;d++)yc(a,c[d],b)};var rg="openIdUriField";n.w=function(){gg.l.w.call(this);Dc(G(lg));V(jg);Od(6);G(rg).value=B};n.Y=function(){this.Fc(this.h.ua);G(rg).value=this.h.r.cc(this.h.ua)};
n.ra=function(){this.h.ua=this.Ya();this.Y()};var sg="The username should not be empty";n.Ga=function(){if(this.Ya()==B){W(6,sg);return l}return i};var tg="username",ug="openIdUriDisplayPrefix",vg="openIdUriDisplayUsername",wg="openIdUriDisplaySuffix";n.Mb=function(){var a=this.h.r.kc(),b=this.Ya();b=b==B?tg:encodeURIComponent(b);G(ug).innerHTML=a[0];G(vg).innerHTML=b;G(wg).innerHTML=a[1]};n.Ya=function(){return G(lg).value};n.Fc=function(a){G(lg).value=a;this.Mb()};var xg=function(){T.call(this)};
xg.c(T);var yg="OpenID";xg.prototype.g=function(){return yg};xg.prototype.n=function(){return ig};xg.prototype.M=function(a){return new zg(this,a[1])};xg.prototype.k=function(){return new Ag(new zg(this,B))};var zg=function(a,b){Q.call(this,a,b);this.da=b;this.value=ig};zg.c(Q);zg.prototype.g=function(){return this.da};zg.prototype.f=function(){return this.r.f()+R+encodeURIComponent(this.da)};zg.prototype.k=function(){return new Ag(this)};var Ag=function(a){S.call(this,a)};Ag.c(S);n=Ag.prototype;
n.z=function(){return i};var Bg="genericOpenIdIdentityHolder";n.u=function(){Ag.l.u.call(this);U(Bg)};n.w=function(){Ag.l.w.call(this);V(Bg);Od(7);this.Pb(B)};n.Y=function(){this.Pb(this.h.da)};n.ra=function(){this.h.da=this.Cb()};var Cg="The URL should not be empty";n.Ga=function(){if(this.Cb()==B){W(7,Cg);return l}return i};n.Cb=function(){return G(rg).value};n.Pb=function(a){G(rg).value=a};var Dg="allHolder",Eg="previewMode",Fg=function(){Lb(G(Dg),Eg);return i};var Z=new hf;t("BLOG_CMT_OpenIdIdentityFactory",eg,undefined);t("BLOG_CMT_LoggedInGaiaIdentity",Se,undefined);t("BLOG_CMT_FriendConnectIdentity",Le,undefined);t("BLOG_CMT_NotLoggedInGaiaIdentityFactory",X,undefined);t("BLOG_CMT_GenericOpenIdIdentityFactory",xg,undefined);t("BLOG_CMT_NameUrlIdentityFactory",af,undefined);t("BLOG_CMT_AnonymousIdentityFactory",ud,undefined);t("BLOG_CMT_onPost",function(){Fg();return Z.zc()},undefined);t("BLOG_CMT_onPreview",function(){return Z.Ac()},undefined);
t("BLOG_CMT_onCommentBodyChange",function(){return void 0},undefined);t("BLOG_CMT_onCancel",function(){return Z.wc()},undefined);t("BLOG_CMT_onSelectorChange",function(){return Z.Fb()},undefined);t("BLOG_CMT_onContinue",function(){return Z.xc()},undefined);t("BLOG_CMT_onEdit",function(){return Z.yc()},undefined);t("BLOG_CMT_addIdentity",function(a){return Z.Qa(a)},undefined);t("BLOG_CMT_addAndSelectIdentity",function(a){return Z.lb(a)},undefined);
t("BLOG_CMT_addIdentityFactory",function(a){return Z.K(a)},undefined);t("BLOG_CMT_addNameUrlIdentityFactory",function(){return Z.Xb()},undefined);t("BLOG_CMT_addAnonIdentity",function(){return Z.Wb()},undefined);t("BLOG_CMT_addNotLoggedInGaiaIdentity",function(){return Z.Yb()},undefined);var Gg=".previewMode .postCommentButtonHolder { padding-top: 22px; }\n",Hg="body { color: ",Ig=";\nfont-family: ",Jg=";}\n",Kg="a:link, a:visited, a:active, a:hover { color: ",Lg="head",Mg="body";
t("BLOG_CMT_init",function(a,b){var c=B;if(D)c+=Gg;var d=(new Mf(document.location.href)).V;if(d.length!=0){d=decodeURIComponent(d);var f=Nc(d),g=dg(f.color),h=dg(f.unvisitedLinkColor),j=dg(f.fontFamily);if(ag(g)&&ag(h)&&cg(j)){c+=Hg+g+Ig+j+Jg;c+=Kg+h+Jg}}var m=Ib||(Ib=new Yb),o=k;if(D){o=m.ia.createStyleSheet();Jf(o,c)}else{var p=m.yb(Lg)[0];if(!p){var r=m.yb(Mg)[0];p=m.nb(Lg);r.parentNode.insertBefore(p,r)}o=m.nb(Mb);Jf(o,c);m.appendChild(p,o)}Z.Cc();Ge(a,b);if(G(rf).value==sf){G(rf).value=tf;Kb(G(Dg),
Eg)}return i},undefined);var Ng="LJ",Og="http://{username}.livejournal.com",Pg="LiveJournal",Qg="LiveJournal username:",Rg="WP",Sg="http://{username}.wordpress.com",Tg="WordPress",Ug="WordPress username:",Vg="TP",Wg="http://profile.typekey.com/{username}",Xg="TypePad",Yg="TypePad username:",Zg="AIM",$g="http://openid.aol.com/{username}",ah="AIM username:";
t("BLOG_CMT_addOpenIdIdentityFactories",function(){Z.K(new eg(Ng,Og,Pg,Qg));Z.K(new eg(Rg,Sg,Tg,Ug));Z.K(new eg(Vg,Wg,Xg,Yg));Z.K(new eg(Zg,$g,Zg,ah));Z.K(new xg)},undefined);t("BLOG_CMT_subscription.toggle",Je,undefined);t("BLOG_CMT_showStatusMessage",Qd,undefined);t("BLOG_CMT_showPostErrorMessage",Rd,undefined);t("BLOG_CMT_hidePreview",function(){Fg();Z.qa()},undefined);t("BLOG_xhr",O,undefined);O.send=ed;O.prototype.isSuccess=O.prototype.ab;O.prototype.getResponseJson=O.prototype.Bb;t("$",G,undefined);
})()

View File

@ -0,0 +1,470 @@
/* Copyright 2008, Google Inc. All rights reserved.
Comment from post css.
*/
body {
background: transparent;
font-family: "Trebuchet MS", Verdana, Arial, Sans-serif;
font-size: 13px;
margin: 0;
}
p {
margin: 0;
}
h3 {
margin: 5px 0;
}
label {
font-weight: bold;
}
.postCommentButtonHolder {
margin: .5em 0 0 0;
}
.dialog {
position: absolute;
width: 373px;
color: #000;
}
.dialog h3 {
margin: 5px 0 10px 0;
}
.dialog h4 {
margin: 2px 0;
}
.dialog img {
margin: 2px 0;
}
.dialog input {
margin: 2px 0;
position: relative;
}
.dialogField {
width: 280px;
}
.dialog .group {
margin: 5px 0;
}
.dialog .top {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/cmt/s_top_373.png', sizingMethod='crop');
background: url(/img/cmt/s_top_373.png) top left no-repeat;
_background: none;
font-size: 90%;
padding: 8px 15px 5px 15px;
margin: 0px;
_height: 1px; /* IE6 needs a height. Doesn't matter what it is */
}
.dialog .top h3 {
font-size: 15px;
}
#captchaHolder .top,
#openIdIdentityHolder .top,
#genericOpenIdIdentityHolder .top,
#nameUrlIdentityHolder .top {
height: 200px;
}
.dialog .bottom {
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/cmt/s_bottom_373.png', sizingMethod='crop');
background: url(/img/cmt/s_bottom_373.png) bottom left no-repeat;
_background: none;
height: 8px;
font-size: 8px;
}
.dialog .errorMsg {
padding: 5px 10px;
background: #F99;
color: #600;
}
img.close {
position: relative;
margin: 5px 0;
float: right;
cursor: pointer;
}
img#captcha-img {
border: 1px solid #ddd;
padding: 5px 30px;
background: #fff none repeat scroll 0%;
}
.shown-openid-url {
color: #888;
font-style: italic;
}
#openIdUriDisplayUsername {
color: #000;
}
#postCommentSubmit {
font-weight: bold;
}
#id-error, #empty-error, #captcha-error, #openIdDialogErrorHolder,
#genericOpenIdDialogErrorHolder, #nameUrlDialogErrorHolder {
margin-left: 10px;
color: #f30;
}
div.errormsg {
color: #f30;
display: inline;
}
#commentBodyField {
margin: 5px 0;
/* Allow for the margins which otherwise add a scrollbar */
width: 98%;
}
.extraInfo {
color: #888;
font-size: 80%;
}
#LJLabel, #WPLabel, #TPLabel, #AIMLabel, #edit-profile-error,
#main-status-holder, #main-error-holder, #identityHolder, #captchaHolder,
#identityHolder .dialog {
display: none;
}
#main-status-holder, #main-error-holder {
margin-top: 5px;
}
#editButton, #settingsButton, #commentDash {
display: none;
margin-left: 5px;
}
#info-wrap {
width: 80%;
}
.error div.errormsg {
color: #fff;
display: inline;
}
table {
font-size: 100%;
border-width: 0px;
border-spacing: 0px;
border-style: none;
border-collapse: collapse;
}
table.td {
border-width: 0px;
padding: 0px;
border-style: none;
}
table.status-msg {
margin: auto;
width: auto;
}
table.status-msg td.corner {
height: 1px;
width: 1px;
line-height: 1px;
margin: 0;
background-color: transparent;
}
table.status-msg td.stretch {
height: 2px;
line-height: 2px;
margin: 0;
}
.status-msg a {
text-decoration: underline;
padding-left: .2em;
}
.noInfo {
visibility: hidden;
}
.error .msgcolor {
background-color: #c00;
color: #fff;
visibility: visible;
font-weight: bold;
}
.status .msgcolor {
background-color: #fff1a8;
color: #000;
visibility: visible;
}
table.status-msg img {
display: block;
}
.saved {
padding: 0px 5px;
}
div#info-wrap {
margin-bottom: 4px;
margin-top: 4px;
}
#subscribe {
margin-right: 5px;
}
#allHolder {
width: 98%;
}
#subscribeButtonHolder {
float: right;
margin-top: 5px;
margin-right: 5px;
}
#main-error, #main-status {
padding: 2px 6px 2px 6px;
}
.r {
clear:both;
display:block;
margin:0;
padding:0;
height:1px;
line-height:1px;
font-size:1px;
}
dl {
display: block;
margin-bottom:5px;
}
#comments-block {
color: #000;
background:#FFF;
}
#comments-block dl dt {
width: 318px;
}
#comments-block dl dd {
height: 135px;
overflow: auto;
padding-bottom: 1px;
width: 318px;
}
#preview-actions {
margin-top: 15px;
}
#comments-block a:link, #comments-block a:visited, #comments-block a:active, #comments-block a:hover {
color: blue;
}
#comments-block {
margin:0;
}
#comments-block dd {
padding-bottom:.75em;
}
#comments-block dd, #comments-block dd p {
margin:0 0 .75em;
line-height:140%;
}
#comments-block dt.collapsed {
font-size:100%;
margin:0 0 4px 0;
border-bottom:1px solid #ccc !important;
}
#comments-block dt.collapsed img {
display:none;
}
#comments-block dt.collapsed img.comment-icon {
display:inline;
}
#comments-block dd.collapsed {
display:none;
}
.comment-timestamp {
margin:-.25em 0 1em;
color:#777;
font-size:90%;
}
.deleted-comment {
font-style:italic;
color:gray;
}
#preview-main, #preview-header {
background:transparent;
}
#preview-image {
display:none;
float:none;
margin-bottom:0;
}
#preview-profile {
float:right;
}
#preview-main, #preview-header {
border:1px solid #999;
padding:1em;
}
#preview-main a, #preview-header a {
position:relative;
cursor:pointer;
}
#preview-main {
border-top:0;
padding-top:0;
margin-top:0;
/* Stupid IE collapses margins when floating elements within definition
lists */
_position:relative;
_margin-top:-1px!important;
}
#preview-header {
padding-top:.25em!important;
border-bottom:0;
padding-bottom:0;
margin-bottom:0;
}
#preview-actions {
font-size:95%;
/* Stupid IE collpases margins when floating elements within definition
lists */
_position:relative;
_width:100%;
_margin-top:-1em;
/* to make the shaded yellow area a little smaller */
margin-bottom:0!important;
white-space:nowrap;
}
#preview-actions a {
margin:0;
padding:0;
/* Stupid IE pushes floating links past 100% within our definition
lists */
_border:0px solid #fff;
}
#preview-actions .lnk {
display:block;
width:47%;
margin:0;
}
#preview-actions .left {
float:left;
}
#preview-actions .right {
float:right;
margin-left:.2em;
text-align:right;
}
#preview-body {
padding-top:1em;
border-bottom:0;
}
/* Comment Icons */
.comment-icon {
line-height:16px;
display:inline;
}
#comments-block #preview-header img {
margin-bottom:-2px;
}
/* b16-rounded */
.blogger-comment {
background:no-repeat url("/img/cmt/comment_sprite.gif") -45px -117px;
width: 16px;
height: 16px;
}
/* openid16-rounded */
.openid-comment {
background:no-repeat url("/img/cmt/comment_sprite.gif") -45px -149px;
width: 16px;
height: 16px;
}
/* anon16-rounded */
.anon-comment {
background:no-repeat url("/img/cmt/comment_sprite.gif") -45px -101px;
width: 16px;
height: 16px;
}
/* buttons */
#allHolder.previewMode #postCommentButtonHolder,
#allHolder.previewMode #identityControlsHolder,
#allHolder.previewMode textarea,
#allHolder.previewMode select {
display: none;
}
#allHolder #previewHolder {
display: none;
}
#allHolder.previewMode #previewHolder {
display: block;
}
div.profile-image-container img {
display: none;
}
.editLink {
float:right;
padding:4px 4px 0 0;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 B

View File

@ -0,0 +1,640 @@
window.google = window["google"] || {};google.friendconnect = google.friendconnect_ || {};if (!window['__ps_loaded__']) {var gadgets=gadgets||{};
gadgets.log=function(A){gadgets.log.logAtLevel(gadgets.log.INFO,A)
};
gadgets.warn=function(A){gadgets.log.logAtLevel(gadgets.log.WARNING,A)
};
gadgets.error=function(A){gadgets.log.logAtLevel(gadgets.log.ERROR,A)
};
gadgets.setLogLevel=function(A){gadgets.log.logLevelThreshold_=A
};
gadgets.log.logAtLevel=function(C,B){if(C<gadgets.log.logLevelThreshold_||!window.console){return
}var A=window.console.log;
if(C==gadgets.log.WARNING&&window.console.warn){A=window.console.warn
}else{if(C==gadgets.log.ERROR&&window.console.error){A=window.console.error
}}A(B)
};
gadgets.log.INFO=1;
gadgets.log.WARNING=2;
gadgets.log.ERROR=3;
gadgets.log.NONE=4;
gadgets.log.logLevelThreshold_=gadgets.log.INFO;;
var gadgets=gadgets||{};
gadgets.util=function(){function G(){var L;
var K=document.location.href;
var I=K.indexOf("?");
var J=K.indexOf("#");
if(J===-1){L=K.substr(I+1)
}else{L=[K.substr(I+1,J-I-1),"&",K.substr(J+1)].join("")
}return L.split("&")
}var E=null;
var D={};
var C={};
var F=[];
var A={0:false,10:true,13:true,34:true,39:true,60:true,62:true,92:true,8232:true,8233:true};
function B(I,J){return String.fromCharCode(J)
}function H(I){D=I["core.util"]||{}
}if(gadgets.config){gadgets.config.register("core.util",null,H)
}return{getUrlParameters:function(){if(E!==null){return E
}E={};
var L=G();
var O=window.decodeURIComponent?decodeURIComponent:unescape;
for(var J=0,I=L.length;
J<I;
++J){var N=L[J].indexOf("=");
if(N===-1){continue
}var M=L[J].substring(0,N);
var K=L[J].substring(N+1);
K=K.replace(/\+/g," ");
E[M]=O(K)
}return E
},makeClosure:function(L,N,M){var K=[];
for(var J=2,I=arguments.length;
J<I;
++J){K.push(arguments[J])
}return function(){var O=K.slice();
for(var Q=0,P=arguments.length;
Q<P;
++Q){O.push(arguments[Q])
}return N.apply(L,O)
}
},makeEnum:function(J){var L={};
for(var K=0,I;
(I=J[K]);
++K){L[I]=I
}return L
},getFeatureParameters:function(I){return typeof D[I]==="undefined"?null:D[I]
},hasFeature:function(I){return typeof D[I]!=="undefined"
},getServices:function(){return C
},registerOnLoadHandler:function(I){F.push(I)
},runOnLoadHandlers:function(){for(var J=0,I=F.length;
J<I;
++J){F[J]()
}},escape:function(I,M){if(!I){return I
}else{if(typeof I==="string"){return gadgets.util.escapeString(I)
}else{if(typeof I==="array"){for(var L=0,J=I.length;
L<J;
++L){I[L]=gadgets.util.escape(I[L])
}}else{if(typeof I==="object"&&M){var K={};
for(var N in I){if(I.hasOwnProperty(N)){K[gadgets.util.escapeString(N)]=gadgets.util.escape(I[N],true)
}}return K
}}}}return I
},escapeString:function(M){var J=[],L,N;
for(var K=0,I=M.length;
K<I;
++K){L=M.charCodeAt(K);
N=A[L];
if(N===true){J.push("&#",L,";")
}else{if(N!==false){J.push(M.charAt(K))
}}}return J.join("")
},unescapeString:function(I){return I.replace(/&#([0-9]+);/g,B)
}}
}();
gadgets.util.getUrlParameters();;
var gadgets=gadgets||{};
if(window.JSON){gadgets.json={parse:function(B){try{return window.JSON.parse(B)
}catch(A){return false
}},stringify:function(B){try{return window.JSON.stringify(B)
}catch(A){return null
}}}
}else{gadgets.json=function(){function f(n){return n<10?"0"+n:n
}Date.prototype.toJSON=function(){return[this.getUTCFullYear(),"-",f(this.getUTCMonth()+1),"-",f(this.getUTCDate()),"T",f(this.getUTCHours()),":",f(this.getUTCMinutes()),":",f(this.getUTCSeconds()),"Z"].join("")
};
var m={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};
function stringify(value){var a,i,k,l,r=/["\\\x00-\x1f\x7f-\x9f]/g,v;
switch(typeof value){case"string":return r.test(value)?'"'+value.replace(r,function(a){var c=m[a];
if(c){return c
}c=a.charCodeAt();
return"\\u00"+Math.floor(c/16).toString(16)+(c%16).toString(16)
})+'"':'"'+value+'"';
case"number":return isFinite(value)?String(value):"null";
case"boolean":case"null":return String(value);
case"object":if(!value){return"null"
}a=[];
if(typeof value.length==="number"&&!value.propertyIsEnumerable("length")){l=value.length;
for(i=0;
i<l;
i+=1){a.push(stringify(value[i])||"null")
}return"["+a.join(",")+"]"
}for(k in value){if(value.hasOwnProperty(k)){if(typeof k==="string"){v=stringify(value[k]);
if(v){a.push(stringify(k)+":"+v)
}}}}return"{"+a.join(",")+"}"
}}return{stringify:stringify,parse:function(text){if(/^[\],:{}\s]*$/.test(text.replace(/\\["\\\/b-u]/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){return eval("("+text+")")
}return false
}}
}()
};;
var gadgets=gadgets||{};
gadgets.rpctx=gadgets.rpctx||{};
gadgets.rpctx.wpm=function(){var A;
return{getCode:function(){return"wpm"
},isParentVerifiable:function(){return true
},init:function(B,C){A=C;
var D=function(E){B(gadgets.json.parse(E.data))
};
if(typeof window.addEventListener!="undefined"){window.addEventListener("message",D,false)
}else{if(typeof window.attachEvent!="undefined"){window.attachEvent("onmessage",D)
}}A("..",true);
return true
},setup:function(C,B){if(C===".."){gadgets.rpc.call(C,gadgets.rpc.ACK)
}return true
},call:function(B,F,D){var C=B===".."?parent:window.frames[B];
var E=gadgets.rpc.getRelayUrl(B);
if(E){C.postMessage(gadgets.json.stringify(D),E)
}else{gadgets.error("No relay set, cannot send cross-domain message")
}return true
}}
}();;
var gadgets=gadgets||{};
gadgets.rpctx=gadgets.rpctx||{};
gadgets.rpctx.frameElement=function(){var E="__g2c_rpc";
var B="__c2g_rpc";
var D;
var C;
function A(G,K,J){try{if(K!==".."){var F=window.frameElement;
if(typeof F[E]==="function"){if(typeof F[E][B]!=="function"){F[E][B]=function(L){D(gadgets.json.parse(L))
}
}F[E](gadgets.json.stringify(J));
return
}}else{var I=document.getElementById(G);
if(typeof I[E]==="function"&&typeof I[E][B]==="function"){I[E][B](gadgets.json.stringify(J));
return
}}}catch(H){}return true
}return{getCode:function(){return"fe"
},isParentVerifiable:function(){return false
},init:function(F,G){D=F;
C=G;
return true
},setup:function(J,F){if(J!==".."){try{var I=document.getElementById(J);
I[E]=function(K){D(gadgets.json.parse(K))
}
}catch(H){return false
}}if(J===".."){C("..",true);
var G=function(){window.setTimeout(function(){gadgets.rpc.call(J,gadgets.rpc.ACK)
},500)
};
gadgets.util.registerOnLoadHandler(G)
}return true
},call:function(F,H,G){A(F,H,G)
}}
}();;
var gadgets=gadgets||{};
gadgets.rpctx=gadgets.rpctx||{};
gadgets.rpctx.nix=function(){var C="GRPC____NIXVBS_wrapper";
var D="GRPC____NIXVBS_get_wrapper";
var F="GRPC____NIXVBS_handle_message";
var B="GRPC____NIXVBS_create_channel";
var A=10;
var J=500;
var I={};
var H;
var G=0;
function E(){var L=I[".."];
if(L){return
}if(++G>A){gadgets.warn("Nix transport setup failed, falling back...");
H("..",false);
return
}if(!L&&window.opener&&"GetAuthToken" in window.opener){L=window.opener;
if(L.GetAuthToken()==gadgets.rpc.getAuthToken("..")){var K=gadgets.rpc.getAuthToken("..");
L.CreateChannel(window[D]("..",K),K);
I[".."]=L;
window.opener=null;
H("..",true);
return
}}window.setTimeout(function(){E()
},J)
}return{getCode:function(){return"nix"
},isParentVerifiable:function(){return false
},init:function(L,M){H=M;
if(typeof window[D]!=="unknown"){window[F]=function(O){window.setTimeout(function(){L(gadgets.json.parse(O))
},0)
};
window[B]=function(O,Q,P){if(gadgets.rpc.getAuthToken(O)===P){I[O]=Q;
H(O,true)
}};
var K="Class "+C+"\n Private m_Intended\nPrivate m_Auth\nPublic Sub SetIntendedName(name)\n If isEmpty(m_Intended) Then\nm_Intended = name\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\n If isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Sub SendMessage(data)\n "+F+"(data)\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub CreateChannel(channel, auth)\n Call "+B+"(m_Intended, channel, auth)\nEnd Sub\nEnd Class\nFunction "+D+"(name, auth)\nDim wrap\nSet wrap = New "+C+"\nwrap.SetIntendedName name\nwrap.SetAuth auth\nSet "+D+" = wrap\nEnd Function";
try{window.execScript(K,"vbscript")
}catch(N){return false
}}return true
},setup:function(O,K){if(O===".."){E();
return true
}try{var M=document.getElementById(O);
var N=window[D](O,K);
M.contentWindow.opener=N
}catch(L){return false
}return true
},call:function(K,N,M){try{if(I[K]){I[K].SendMessage(gadgets.json.stringify(M))
}}catch(L){return false
}return true
}}
}();;
var gadgets=gadgets||{};
gadgets.rpctx=gadgets.rpctx||{};
gadgets.rpctx.rmr=function(){var G=500;
var E=10;
var H={};
var B;
var I;
function K(O,M,N){var P=function(){document.body.appendChild(O);
O.src="about:blank";
O.src=M+"#"+N
};
if(document.body){P()
}else{gadgets.util.registerOnLoadHandler(function(){P()
})
}}function C(O){if(typeof H[O]==="object"){return
}var P=document.createElement("iframe");
var M=P.style;
M.position="absolute";
M.top="0px";
M.border="0";
M.opacity="0";
M.width="10px";
M.height="1px";
P.id="rmrtransport-"+O;
P.name=P.id;
var N=gadgets.rpc.getOrigin(gadgets.rpc.getRelayUrl(O))+"/robots.txt";
H[O]={frame:P,receiveWindow:null,relayUri:N,searchCounter:0,width:10,waiting:true,queue:[],sendId:0,recvId:0};
if(O!==".."){K(P,N,A(O))
}D(O)
}function D(N){var O=null;
H[N].searchCounter++;
if(N===".."){O=window.parent.frames["rmrtransport-"+window.name]
}else{O=window.frames[N].frames["rmrtransport-.."]
}var M=false;
if(O){M=F(N,O)
}if(!M){if(H[N].searchCounter>E){return
}setTimeout(function(){D(N)
},G)
}}function J(N,P,T,S){var O=null;
if(T!==".."){O=H[".."]
}else{O=H[N]
}if(O){if(P!==gadgets.rpc.ACK){O.queue.push(S)
}if(O.waiting||(O.queue.length===0&&!(P===gadgets.rpc.ACK&&S&&S.ackAlone===true))){return true
}if(O.queue.length>0){O.waiting=true
}var M=O.relayUri+"#"+A(N);
try{O.frame.contentWindow.location=M;
var Q=O.width==10?20:10;
O.frame.style.width=Q+"px";
O.width=Q
}catch(R){return false
}}return true
}function A(N){var O=H[N];
var M={id:O.sendId};
if(O){M.d=Array.prototype.slice.call(O.queue,0);
M.d.push({s:gadgets.rpc.ACK,id:O.recvId})
}return gadgets.json.stringify(M)
}function L(X){var U=H[X];
var Q=U.receiveWindow.location.hash.substring(1);
var Y=gadgets.json.parse(decodeURIComponent(Q))||{};
var N=Y.d||[];
var O=false;
var T=false;
var V=0;
var M=(U.recvId-Y.id);
for(var P=0;
P<N.length;
++P){var S=N[P];
if(S.s===gadgets.rpc.ACK){I(X,true);
if(U.waiting){T=true
}U.waiting=false;
var R=Math.max(0,S.id-U.sendId);
U.queue.splice(0,R);
U.sendId=Math.max(U.sendId,S.id||0);
continue
}O=true;
if(++V<=M){continue
}++U.recvId;
B(S)
}if(O||(T&&U.queue.length>0)){var W=(X==="..")?window.name:"..";
J(X,gadgets.rpc.ACK,W,{ackAlone:O})
}}function F(P,R){var O=H[P];
try{var N=false;
N="document" in R;
if(!N){return false
}N=typeof R.document=="object";
if(!N){return false
}var Q=R.location.href;
if(Q==="about:blank"){return false
}}catch(M){return false
}O.receiveWindow=R;
R.onresize=function(){L(P)
};
if(P===".."){K(O.frame,O.relayUri,A(P))
}L(P);
return true
}return{getCode:function(){return"rmr"
},isParentVerifiable:function(){return true
},init:function(M,N){B=M;
I=N;
return true
},setup:function(O,M){try{C(O)
}catch(N){gadgets.warn("Caught exception setting up RMR: "+N);
return false
}return true
},call:function(M,O,N){return J(M,N.s,O,N)
}}
}();;
var gadgets=gadgets||{};
gadgets.rpctx=gadgets.rpctx||{};
gadgets.rpctx.ifpc=function(){var E=[];
var D=0;
var C;
function B(H){var F=[];
for(var I=0,G=H.length;
I<G;
++I){F.push(encodeURIComponent(gadgets.json.stringify(H[I])))
}return F.join("&")
}function A(I){var G;
for(var F=E.length-1;
F>=0;
--F){var J=E[F];
try{if(J&&(J.recyclable||J.readyState==="complete")){J.parentNode.removeChild(J);
if(window.ActiveXObject){E[F]=J=null;
E.splice(F,1)
}else{J.recyclable=false;
G=J;
break
}}}catch(H){}}if(!G){G=document.createElement("iframe");
G.style.border=G.style.width=G.style.height="0px";
G.style.visibility="hidden";
G.style.position="absolute";
G.onload=function(){this.recyclable=true
};
E.push(G)
}G.src=I;
setTimeout(function(){document.body.appendChild(G)
},0)
}return{getCode:function(){return"ifpc"
},isParentVerifiable:function(){return true
},init:function(F,G){C=G;
C("..",true);
return true
},setup:function(G,F){C(G,true);
return true
},call:function(F,K,I){var J=gadgets.rpc.getRelayUrl(F);
++D;
if(!J){gadgets.warn("No relay file assigned for IFPC");
return
}var H=null;
if(I.l){var G=I.a;
H=[J,"#",B([K,D,1,0,B([K,I.s,"","",K].concat(G))])].join("")
}else{H=[J,"#",F,"&",K,"@",D,"&1&0&",encodeURIComponent(gadgets.json.stringify(I))].join("")
}A(H);
return true
}}
}();;
var gadgets=gadgets||{};
gadgets.rpc=function(){var O="__cb";
var M="";
var F="__ack";
var L=500;
var G=10;
var B={};
var C={};
var S={};
var H={};
var J=0;
var b={};
var R={};
var D={};
var Z={};
var I={};
var Q={};
var T=(window.top!==window.self);
var a=(function(){function c(d){return function(){gadgets.info("gadgets.rpc."+d+"("+gadgets.json.stringify(arguments)+"): call ignored. [caller: "+document.location+", isGadget: "+T+"]")
}
}return{getCode:function(){return"noop"
},isParentVerifiable:function(){return true
},init:c("init"),setup:c("setup"),call:c("call")}
})();
if(gadgets.util){Z=gadgets.util.getUrlParameters()
}H[".."]=Z.rpctoken||Z.ifpctok||0;
var U=(Z.rpc_earlyq==="1");
function A(){return typeof window.postMessage==="function"?gadgets.rpctx.wpm:typeof window.postMessage==="object"?gadgets.rpctx.wpm:window.ActiveXObject?gadgets.rpctx.nix:navigator.userAgent.indexOf("WebKit")>0?gadgets.rpctx.rmr:navigator.product==="Gecko"?gadgets.rpctx.frameElement:gadgets.rpctx.ifpc
}function W(h,f){var d=X;
if(!f){d=a
}I[h]=d;
var c=Q[h]||[];
for(var e=0;
e<c.length;
++e){var g=c[e];
g.t=gadgets.rpc.getAuthToken(h);
d.call(h,g.f,g)
}Q[h]=[]
}function P(d){if(d&&typeof d.s==="string"&&typeof d.f==="string"&&d.a instanceof Array){if(H[d.f]){if(H[d.f]!==d.t){throw new Error("Invalid auth token. "+H[d.f]+" vs "+d.t)
}}if(d.s===F){window.setTimeout(function(){W(d.f,true)
},0);
return
}if(d.c){d.callback=function(e){gadgets.rpc.call(d.f,O,null,d.c,e)
}
}var c=(B[d.s]||B[M]).apply(d,d.a);
if(d.c&&typeof c!=="undefined"){gadgets.rpc.call(d.f,O,null,d.c,c)
}}}function Y(e){if(!e){return""
}e=e.toLowerCase();
if(e.indexOf("//")==0){e=window.location.protocol+":"+e
}if(e.indexOf("http://")!=0&&e.indexOf("https://")!=0){e=window.location.protocol+"://"+e
}var f=e.substring(e.indexOf("://")+3);
var c=f.indexOf("/");
if(c!=-1){f=f.substring(0,c)
}var h=e.substring(0,e.indexOf("://"));
var g="";
var i=f.indexOf(":");
if(i!=-1){var d=f.substring(i+1);
f=f.substring(0,i);
if((h==="http"&&d!=="80")||(h==="https"&&d!=="443")){g=":"+d
}}return h+"://"+f+g
}var X=A();
B[M]=function(){gadgets.warn("Unknown RPC service: "+this.s)
};
B[O]=function(d,c){var e=b[d];
if(e){delete b[d];
e(c)
}};
function K(e,c){if(R[e]===true){return
}if(typeof R[e]==="undefined"){R[e]=0
}var d=document.getElementById(e);
if(e===".."||d!=null){if(X.setup(e,c)===true){R[e]=true;
return
}}if(R[e]!==true&&R[e]++<G){window.setTimeout(function(){K(e,c)
},L)
}else{X=a;
R[e]=true
}}function E(d,h){if(typeof D[d]==="undefined"){D[d]=false;
var g=gadgets.rpc.getRelayUrl(d);
if(Y(g)!==Y(window.location.href)){return false
}var f=null;
if(d===".."){f=parent
}else{f=frames[d]
}try{D[d]=f.gadgets.rpc.receiveSameDomain
}catch(c){gadgets.error("Same domain call failed: parent= incorrectly set.")
}}if(typeof D[d]==="function"){D[d](h);
return true
}return false
}if(T&&gadgets.config){function V(e){var g=e?e.rpc:{};
var d=g.parentRelayUrl;
if(d.substring(0,7)!=="http://"&&d.substring(0,8)!=="https://"&&d.substring(0,2)!=="//"){if(Z.parent!==""){if(d.substring(0,1)!=="/"){var c=Z.parent.lastIndexOf("/");
d=Z.parent.substring(0,c+1)+d
}else{d=Y(Z.parent)+d
}}}C[".."]=d;
var f=!!g.useLegacyProtocol;
S[".."]=f;
if(f){X=gadgets.rpctx.ifpc;
X.init(P,W)
}if(X.setup("..")===false){X=a
}}var N={parentRelayUrl:gadgets.config.NonEmptyStringValidator};
gadgets.config.register("rpc",N,V)
}return{register:function(d,c){if(d===O||d===F){throw new Error("Cannot overwrite callback/ack service")
}if(d===M){throw new Error("Cannot overwrite default service: use registerDefault")
}B[d]=c
},unregister:function(c){if(c===O||c===F){throw new Error("Cannot delete callback/ack service")
}if(c===M){throw new Error("Cannot delete default service: use unregisterDefault")
}delete B[c]
},registerDefault:function(c){B[M]=c
},unregisterDefault:function(){delete B[M]
},forceParentVerifiable:function(){if(!X.isParentVerifiable()){X=gadgets.rpctx.ifpc
}},call:function(c,d,i,g){c=c||"..";
var h="..";
if(c===".."){h=window.name
}++J;
if(i){b[J]=i
}var f={s:d,f:h,c:i?J:0,a:Array.prototype.slice.call(arguments,3),t:H[c],l:S[c]};
if(E(c,f)){return
}var e=U?I[c]:X;
if(!e){if(!Q[c]){Q[c]=[f]
}else{Q[c].push(f)
}return
}if(S[c]){e=gadgets.rpctx.ifpc
}if(e.call(c,h,f)===false){X=a;
X.call(c,h,f)
}},getRelayUrl:function(d){var c=C[d];
if(c&&c.indexOf("//")==0){c=document.location.protocol+c
}return c
},setRelayUrl:function(d,c,e){C[d]=c;
S[d]=!!e
},setAuthToken:function(c,d){d=d||"";
H[c]=String(d);
K(c,d)
},getAuthToken:function(c){return H[c]
},getRelayChannel:function(){return X.getCode()
},receive:function(c){if(c.length>4){P(gadgets.json.parse(decodeURIComponent(c[c.length-1])))
}},receiveSameDomain:function(c){c.a=Array.prototype.slice.call(c.a);
window.setTimeout(function(){P(c)
},0)
},getOrigin:Y,init:function(){if(X.init(P,W)===false){X=a
}},ACK:F}
}();
gadgets.rpc.init();;
var friendconnect_serverBase = "http://www.google.com";var friendconnect_loginUrl = "https://www.google.com/accounts";var friendconnect_gadgetPrefix = "http://ps.friendconnect.gmodules.com/gadgets";
var friendconnect_serverVersion = "0.419.1";
var friendconnect_imageUrl = "http://www.google.com/friendconnect/scs/images";
function fca(a){throw a;}var fcb=true,fcc=null,fcd=false,fce=gadgets,fcf=friendconnect_serverBase,fcg=encodeURIComponent,fcaa=parseInt,fch=String,fci=window,fcj=Object,fck=document,fcl=Math;function fcba(a,b){return a.toString=b}function fcca(a,b){return a.length=b}function fcm(a,b){return a.width=b}function fcn(a,b){return a.innerHTML=b}function fco(a,b){return a.height=b}
var fcp="appendChild",fcq="push",fcr="length",fcda="propertyIsEnumerable",fcea="stringify",fc="prototype",fcfa="test",fcs="width",fct="round",fcu="replace",fcv="document",fcga="data",fcw="split",fcx="getElementById",fcha="offsetWidth",fcy="location",fcz="getUrlParameters",fcA="indexOf",fcB="style",fcC="left",fcD="call",fcE="match",fcF="options",fcia="random",fcG="createElement",fcja="json",fcka="forEach",fcH="addEventListener",fcI="bottom",fcJ="setAttribute",fcla="href",fcK="util",fcma="type",fcna=
"contains",fcL="apply",fcM="name",fcN="parentNode",fcoa="display",fcO="height",fcpa="offsetHeight",fcP="register",fcqa="join",fcQ="toLowerCase",fcR="right",goog=goog||{},fcS=this,fcsa=function(a,b,c){var d=a[fcw]("."),e=c||fcS;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var h;d[fcr]&&(h=d.shift());)if(!d[fcr]&&fcra(b))e[h]=b;else e=e[h]?e[h]:(e[h]={})},fcta=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof fcj)&&fcj[fc].toString[fcD](a)=="[object Array]"||
typeof a[fcr]=="number"&&typeof a.splice!="undefined"&&typeof a[fcda]!="undefined"&&!a[fcda]("splice"))return"array";if(!(a instanceof fcj)&&(fcj[fc].toString[fcD](a)=="[object Function]"||typeof a[fcD]!="undefined"&&typeof a[fcda]!="undefined"&&!a[fcda]("call")))return"function"}else return"null";else if(b=="function"&&typeof a[fcD]=="undefined")return"object";return b},fcra=function(a){return a!==undefined},fcua=function(a){var b=fcta(a);return b=="array"||b=="object"&&typeof a[fcr]=="number"},
fcva=function(a){return typeof a=="string"},fcwa=function(a){var b=fcta(a);return b=="object"||b=="array"||b=="function"};"closure_hashCode_"+fcl.floor(fcl[fcia]()*2147483648).toString(36);
var fcxa=function(a){var b=fcta(a);if(b=="object"||b=="array"){if(a.clone)return a.clone[fcD](a);var c=b=="array"?[]:{};for(var d in a)c[d]=fcxa(a[d]);return c}return a},fcT=function(a,b){var c=a.Yb;if(arguments[fcr]>2){var d=Array[fc].slice[fcD](arguments,2);c&&d.unshift[fcL](d,c);c=d}b=a.$b||b;a=a.Zb||a;var e,h=b||fcS;e=c?function(){var j=Array[fc].slice[fcD](arguments);j.unshift[fcL](j,c);return a[fcL](h,j)}:function(){return a[fcL](h,arguments)};e.Yb=c;e.$b=b;e.Zb=a;return e},fcya=function(a){var b=
Array[fc].slice[fcD](arguments,1);b.unshift(a,fcc);return fcT[fcL](fcc,b)},fcza=Date.now||function(){return(new Date).getTime()},fcU=function(a,b,c){fcsa(a,b,c)},fcV=function(a,b){function c(){}c.prototype=b[fc];a.gc=b[fc];a.prototype=new c;a[fc].constructor=a};var fcAa=/\s*;\s*/,fcBa=function(a,b,c,d,e){if(/[;=]/[fcfa](a))fca(Error('Invalid cookie name "'+a+'"'));if(/;/[fcfa](b))fca(Error('Invalid cookie value "'+b+'"'));fcra(c)||(c=-1);var h=e?";domain="+e:"",j=d?";path="+d:"",k;if(c<0)k="";else if(c==0){var i=new Date(1970,1,1);k=";expires="+i.toUTCString()}else{var l=new Date((new Date).getTime()+c*1000);k=";expires="+l.toUTCString()}fck.cookie=a+"="+b+h+j+k},fcCa=function(a,b){for(var c=a+"=",d=fch(fck.cookie)[fcw](fcAa),e=0,h;h=d[e];e++)if(h[fcA](c)==
0)return h.substr(c[fcr]);return b},fcDa=function(a,b,c){var d=fcra(fcCa(a));fcBa(a,"",0,b,c);return d};var fcEa=function(a,b,c){if(a[fcA])return a[fcA](b,c);if(Array[fcA])return Array[fcA](a,b,c);for(var d=c==fcc?0:c<0?fcl.max(0,a[fcr]+c):c,e=d;e<a[fcr];e++)if(e in a&&a[e]===b)return e;return-1},fcFa=function(a,b,c){if(a[fcka])a[fcka](b,c);else if(Array[fcka])Array[fcka](a,b,c);else for(var d=a[fcr],e=fcva(a)?a[fcw](""):a,h=0;h<d;h++)h in e&&b[fcD](c,e[h],h,a)},fcGa=function(a,b){if(a[fcna])return a[fcna](b);return fcEa(a,b)>-1},fcHa=function(a){if(fcta(a)=="array")return a.concat();else{for(var b=
[],c=0,d=a[fcr];c<d;c++)b[c]=a[c];return b}};var fcIa=function(a,b){this.x=fcra(a)?a:0;this.y=fcra(b)?b:0};fcIa[fc].clone=function(){return new fcIa(this.x,this.y)};fcba(fcIa[fc],function(){return"("+this.x+", "+this.y+")"});var fcW=function(a,b){fcm(this,a);fco(this,b)};fcW[fc].clone=function(){return new fcW(this[fcs],this[fcO])};fcba(fcW[fc],function(){return"("+this[fcs]+" x "+this[fcO]+")"});fcW[fc].ceil=function(){fcm(this,fcl.ceil(this[fcs]));fco(this,fcl.ceil(this[fcO]));return this};fcW[fc].floor=function(){fcm(this,fcl.floor(this[fcs]));fco(this,fcl.floor(this[fcO]));return this};fcW[fc].round=function(){fcm(this,fcl[fct](this[fcs]));fco(this,fcl[fct](this[fcO]));return this};
fcW[fc].scale=function(a){this.width*=a;this.height*=a;return this};var fcJa=function(a,b,c){for(var d in a)b[fcD](c,a[d],d,a)},fcKa=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},fcLa=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b},fcMa=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],fcNa=function(a){for(var b,c,d=1;d<arguments[fcr];d++){c=arguments[d];for(b in c)a[b]=c[b];for(var e=0;e<fcMa[fcr];e++){b=fcMa[e];if(fcj[fc].hasOwnProperty[fcD](c,b))a[b]=c[b]}}};var fcOa=function(a){return a[fcu](/^[\s\xa0]+|[\s\xa0]+$/g,"")},fcPa=function(a,b){var c=fch(a)[fcQ](),d=fch(b)[fcQ]();return c<d?-1:c==d?0:1},fcVa=function(a,b){if(b)return a[fcu](fcQa,"&amp;")[fcu](fcRa,"&lt;")[fcu](fcSa,"&gt;")[fcu](fcTa,"&quot;");else{if(!fcUa[fcfa](a))return a;if(a[fcA]("&")!=-1)a=a[fcu](fcQa,"&amp;");if(a[fcA]("<")!=-1)a=a[fcu](fcRa,"&lt;");if(a[fcA](">")!=-1)a=a[fcu](fcSa,"&gt;");if(a[fcA]('"')!=-1)a=a[fcu](fcTa,"&quot;");return a}},fcQa=/&/g,fcRa=/</g,fcSa=/>/g,fcTa=/\"/g,
fcUa=/[&<>\"]/,fcWa=function(a,b){return a[fcA](b)!=-1},fcYa=function(a,b){for(var c=0,d=fcOa(fch(a))[fcw]("."),e=fcOa(fch(b))[fcw]("."),h=fcl.max(d[fcr],e[fcr]),j=0;c==0&&j<h;j++){var k=d[j]||"",i=e[j]||"",l=new RegExp("(\\d*)(\\D*)","g"),m=new RegExp("(\\d*)(\\D*)","g");do{var f=l.exec(k)||["","",""],g=m.exec(i)||["","",""];if(f[0][fcr]==0&&g[0][fcr]==0)break;var n=f[1][fcr]==0?0:fcaa(f[1],10),o=g[1][fcr]==0?0:fcaa(g[1],10);c=fcXa(n,o)||fcXa(f[2][fcr]==0,g[2][fcr]==0)||fcXa(f[2],g[2])}while(c==
0)}return c},fcXa=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};fcza();var fcX,fcZa,fc_a,fc0a,fc1a,fc2a,fc3a,fc4a,fc5a,fc6a,fc7a=function(){return fcS.navigator?fcS.navigator.userAgent:fcc},fc8a=function(){return fcS.navigator},fc9a=function(){fc2a=fc1a=fc0a=fc_a=fcZa=fcX=fcd;var a;if(a=fc7a()){var b=fc8a();fcX=a[fcA]("Opera")==0;fcZa=!fcX&&a[fcA]("MSIE")!=-1;fc0a=(fc_a=!fcX&&a[fcA]("WebKit")!=-1)&&a[fcA]("Mobile")!=-1;fc2a=(fc1a=!fcX&&!fc_a&&b.product=="Gecko")&&b.vendor=="Camino"}};fc9a();
var fc$a=fcX,fcY=fcZa,fcab=fc1a,fcbb=fc_a,fccb=function(){var a=fc8a();return a&&a.platform||""},fcdb=fccb(),fceb=function(){fc3a=fcWa(fcdb,"Mac");fc4a=fcWa(fcdb,"Win");fc5a=fcWa(fcdb,"Linux");fc6a=!!fc8a()&&fcWa(fc8a().appVersion||"","X11")};fceb();
var fcfb=function(){var a="",b;if(fc$a&&fcS.opera){var c=fcS.opera.version;a=typeof c=="function"?c():c}else{if(fcab)b=/rv\:([^\);]+)(\)|;)/;else if(fcY)b=/MSIE\s+([^\);]+)(\)|;)/;else if(fcbb)b=/WebKit\/(\S+)/;if(b){var d=b.exec(fc7a());a=d?d[1]:""}}return a},fcgb=fcfb(),fchb={},fcib=function(a){return fchb[a]||(fchb[a]=fcYa(fcgb,a)>=0)};var fcZ=function(a){return fcva(a)?fck[fcx](a):a},fcjb=fcZ,fclb=function(a,b,c){return fckb(fck,a,b,c)},fckb=function(a,b,c,d){var e=d||a,h=b&&b!="*"?b[fcQ]():"";if(e.querySelectorAll&&(h||c)&&(!fcbb||a.compatMode=="CSS1Compat"||fcib("528"))){var j=h+(c?"."+c:"");return e.querySelectorAll(j)}if(c&&e.getElementsByClassName){var k=e.getElementsByClassName(c);if(h){for(var i={},l=0,m=0,f;f=k[m];m++)if(h==f.nodeName[fcQ]())i[l++]=f;fcca(i,l);return i}else return k}k=e.getElementsByTagName(h||"*");if(c){i=
{};for(m=l=0;f=k[m];m++){var g=f.className;if(typeof g[fcw]=="function"&&fcGa(g[fcw](" "),c))i[l++]=f}fcca(i,l);return i}else return k},fcnb=function(a,b){fcJa(b,function(c,d){if(d=="style")a[fcB].cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in fcmb)a[fcJ](fcmb[d],c);else a[d]=c})},fcmb={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",
type:"type"},fc_=function(){return fcob(fck,arguments)},fcob=function(a,b){var c=b[0],d=b[1];if(fcY&&d&&(d[fcM]||d[fcma])){var e=["<",c];d[fcM]&&e[fcq](' name="',fcVa(d[fcM]),'"');if(d[fcma]){e[fcq](' type="',fcVa(d[fcma]),'"');d=fcxa(d);delete d[fcma]}e[fcq](">");c=e[fcqa]("")}var h=a[fcG](c);if(d)if(fcva(d))h.className=d;else fcnb(h,d);if(b[fcr]>2){function j(l){if(l)h[fcp](fcva(l)?a.createTextNode(l):l)}for(var k=2;k<b[fcr];k++){var i=b[k];fcua(i)&&!(fcwa(i)&&i.nodeType>0)?fcFa(fcpb(i)?fcHa(i):
i,j):j(i)}}return h},fcqb=function(a,b){a[fcp](b)},fcrb=function(a){return a&&a[fcN]?a[fcN].removeChild(a):fcc},fcsb=function(a,b){var c=b[fcN];c&&c.replaceChild(a,b)},fctb=fcbb&&fcYa(fcgb,"521")<=0,fcub=function(a,b){if(typeof a[fcna]!="undefined"&&!fctb&&b.nodeType==1)return a==b||a[fcna](b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b[fcN];return b==a},fcpb=function(a){if(a&&typeof a[fcr]=="number")if(fcwa(a))return typeof a.item==
"function"||typeof a.item=="string";else if(fcta(a)=="function")return typeof a.item=="function";return fcd},fc0=function(a){this.Sa=a||fcS[fcv]||fck};fc0[fc].createElement=function(a){return this.Sa[fcG](a)};fc0[fc].createTextNode=function(a){return this.Sa.createTextNode(a)};fc0[fc].appendChild=fcqb;fc0[fc].removeNode=fcrb;fc0[fc].replaceNode=fcsb;fc0[fc].contains=fcub;if("StopIteration"in fcS)var fcvb=fcS.StopIteration;else fcvb=Error("StopIteration");var fcwb=function(){};fcwb[fc].next=function(){fca(fcvb)};fcwb[fc].__iterator__=function(){return this};var fc1=function(a){this.h={};this.d=[];var b=arguments[fcr];if(b>1){if(b%2)fca(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Ha(a)};fc1[fc].n=0;fc1[fc].B=0;fc1[fc].na=function(){return this.n};fc1[fc].S=function(){this.C();for(var a=[],b=0;b<this.d[fcr];b++){var c=this.d[b];a[fcq](this.h[c])}return a};fc1[fc].H=function(){this.C();return this.d.concat()};fc1[fc].Oa=function(a){return fc2(this.h,a)};
fc1[fc].clear=function(){this.h={};fcca(this.d,0);this.B=this.n=0};fc1[fc].remove=function(a){if(fc2(this.h,a)){delete this.h[a];this.n--;this.B++;this.d[fcr]>2*this.n&&this.C();return fcb}return fcd};fc1[fc].C=function(){if(this.n!=this.d[fcr]){for(var a=0,b=0;a<this.d[fcr];){var c=this.d[a];if(fc2(this.h,c))this.d[b++]=c;a++}fcca(this.d,b)}if(this.n!=this.d[fcr]){var d={};for(b=a=0;a<this.d[fcr];){c=this.d[a];if(!fc2(d,c)){this.d[b++]=c;d[c]=1}a++}fcca(this.d,b)}};
fc1[fc].get=function(a,b){if(fc2(this.h,a))return this.h[a];return b};fc1[fc].set=function(a,b){if(!fc2(this.h,a)){this.n++;this.d[fcq](a);this.B++}this.h[a]=b};fc1[fc].Ha=function(a){var b,c;if(a instanceof fc1){b=a.H();c=a.S()}else{b=fcLa(a);c=fcKa(a)}for(var d=0;d<b[fcr];d++)this.set(b[d],c[d])};fc1[fc].clone=function(){return new fc1(this)};
fc1[fc].__iterator__=function(a){this.C();var b=0,c=this.d,d=this.h,e=this.B,h=this,j=new fcwb;j.next=function(){for(;1;){if(e!=h.B)fca(Error("The map has changed since the iterator was created"));if(b>=c[fcr])fca(fcvb);var k=c[b++];return a?k:d[k]}};return j};var fc2=function(a,b){return fcj[fc].hasOwnProperty[fcD](a,b)};var fc3=function(a,b,c,d){this.top=a;this.right=b;this.bottom=c;this.left=d};fc3[fc].clone=function(){return new fc3(this.top,this[fcR],this[fcI],this[fcC])};fcba(fc3[fc],function(){return"("+this.top+"t, "+this[fcR]+"r, "+this[fcI]+"b, "+this[fcC]+"l)"});fc3[fc].contains=function(a){return fcxb(this,a)};fc3[fc].expand=function(a,b,c,d){if(fcwa(a)){this.top-=a.top;this.right+=a[fcR];this.bottom+=a[fcI];this.left-=a[fcC]}else{this.top-=a;this.right+=b;this.bottom+=c;this.left-=d}return this};
var fcxb=function(a,b){if(!a||!b)return fcd;if(b instanceof fc3)return b[fcC]>=a[fcC]&&b[fcR]<=a[fcR]&&b.top>=a.top&&b[fcI]<=a[fcI];return b.x>=a[fcC]&&b.x<=a[fcR]&&b.y>=a.top&&b.y<=a[fcI]};var fcyb=function(a,b,c,d){this.left=a;this.top=b;fcm(this,c);fco(this,d)};fcyb[fc].clone=function(){return new fcyb(this[fcC],this.top,this[fcs],this[fcO])};fcba(fcyb[fc],function(){return"("+this[fcC]+", "+this.top+" - "+this[fcs]+"w x "+this[fcO]+"h)"});fcyb[fc].contains=function(a){return a instanceof fcyb?this[fcC]<=a[fcC]&&this[fcC]+this[fcs]>=a[fcC]+a[fcs]&&this.top<=a.top&&this.top+this[fcO]>=a.top+a[fcO]:a.x>=this[fcC]&&a.x<=this[fcC]+this[fcs]&&a.y>=this.top&&a.y<=this.top+this[fcO]};var fczb,fcAb,fcBb,fcCb,fcDb,fcEb,fcFb=function(){fcEb=fcDb=fcCb=fcBb=fcAb=fczb=fcd;var a=fc7a();if(a)if(a[fcA]("Firefox")!=-1)fczb=fcb;else if(a[fcA]("Camino")!=-1)fcAb=fcb;else if(a[fcA]("iPhone")!=-1||a[fcA]("iPod")!=-1)fcBb=fcb;else if(a[fcA]("Android")!=-1)fcCb=fcb;else if(a[fcA]("Chrome")!=-1)fcDb=fcb;else if(a[fcA]("Safari")!=-1)fcEb=fcb};fcFb();var fcGb=function(a,b){var c=a.nodeType==9?a:a.ownerDocument||a[fcv];if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return fcc},fcHb=function(a,b,c){var d;if(b instanceof fcW){d=b[fcO];b=b[fcs]}else{if(c==undefined)fca(Error("missing height argument"));d=c}fcm(a[fcB],typeof b=="number"?fcl[fct](b)+"px":b);fco(a[fcB],typeof d=="number"?fcl[fct](d)+"px":d)},fcIb=function(a){var b=fc$a&&!fcib("10");if((fcGb(a,"display")||(a.currentStyle?
a.currentStyle[fcoa]:fcc)||a[fcB][fcoa])!="none")return b?new fcW(a[fcha]||a.clientWidth,a[fcpa]||a.clientHeight):new fcW(a[fcha],a[fcpa]);var c=a[fcB],d=c[fcoa],e=c.visibility,h=c.position;c.visibility="hidden";c.position="absolute";c.display="inline";var j,k;if(b){j=a[fcha]||a.clientWidth;k=a[fcpa]||a.clientHeight}else{j=a[fcha];k=a[fcpa]}c.display=d;c.position=h;c.visibility=e;return new fcW(j,k)},fcJb=function(a,b){a[fcB].display=b?"":"none"};fcab&&!fcib("1.9");var fcKb={},fcLb={};var fcMb=function(){return fci.friendconnect_serverBase},fcNb=function(a,b,c,d){b=b||"800";c=c||"550";d=d||"friendconnect";var e=fci.open(a,d,"menubar=no,toolbar=no,dialog=yes,location=yes,alwaysRaised=yes,width="+b+",height="+c+",resizable=yes,scrollbars=1,status=1");fci.focus&&e.focus()},fcOb=function(a,b){var c=fce[fcK][fcz]().psinvite||"",d=fcMb()+"/friendconnect/signin/home?st="+fcg(shindig.auth.getSecurityToken())+"&psinvite="+fcg(c)+(a?"&iframeId="+fcg(a):"")+(b?"&loginProvider="+b:"");fcNb(d)},
fcPb=function(a,b){var c=fce[fcK][fcz]().communityId;fce.rpc[fcD](fcc,"signin",fcc,c,a,b)},fcQb=function(){var a=fce[fcK][fcz]().communityId;fce.rpc[fcD](fcc,"signout",fcc,a)},fcRb=function(a,b){var c=fcMb()+"/friendconnect/invite/friends?&st="+fcg(shindig.auth.getSecurityToken())+(a?"&customMessage="+fcg(a):"")+(b?"&customInviteUrl="+fcg(b):""),d=760;if(fcY)d+=25;fcNb(c,fch(d),"515")},fcSb=function(a,b){var c=fcMb()+"/friendconnect/settings/edit?st="+fcg(shindig.auth.getSecurityToken())+(a?"&iframeId="+
fcg(a):"");if(b)c=c+"&"+b;var d=800,e=510;if(fcY)d+=25;fcNb(c,fch(d),fch(e))},fcTb=function(a,b,c){var d=fcc;if(b=="text"){d=fc_("div",{"class":"gfc-button-text"},fc_("div",{"class":"gfc-icon"},fc_("a",{href:"javascript:void(0);"},c)));a[fcp](d)}else if(b=="long"||b=="standard"){d=fc_("div",{"class":"gfc-inline-block gfc-primaryactionbutton gfc-button-base"},fc_("div",{"class":"gfc-inline-block gfc-button-base-outer-box"},fc_("div",{"class":"gfc-inline-block gfc-button-base-inner-box"},fc_("div",
{"class":"gfc-button-base-pos"},fc_("div",{"class":"gfc-button-base-top-shadow",innerHTML:"&nbsp;"}),fc_("div",{"class":"gfc-button-base-content"},fc_("div",{"class":"gfc-icon"},c))))));a[fcp](d);if(b=="standard"){var e=fc_("div",{"class":"gfc-footer-msg"},"with Google Friend Connect");a[fcp](fc_("br"));a[fcp](e)}}return d},fcUb=function(a,b){if(!a)fca("google.friendconnect.renderJoinButton: missing options");var c=a[fcB]||"standard",d=a.text;if(c=="standard")d=a.text||"Sign in";else if(c=="text"||
c=="long")d=a.text||"Sign in with Friend Connect";var e=a.element;if(!e){var h=a.id;if(!h)fca("google.friendconnect.renderSignInButton: options[id] and options[element] == null");e=fcjb(h);if(!e)fca("google.friendconnect.renderSignInButton: element "+a.id+" not found")}fcn(e,"");var j=fcTb(e,c,d);fci[fcH]?j[fcH]("click",b,fcd):j.attachEvent("onclick",b)},fcVb=function(a,b){b=b||fcT(fcOb,fcc,fcc,fcc);fcUb(a,b)},fcWb=function(a,b){fce.rpc[fcD](fcc,"putReloadViewParam",fcc,a,b);var c=fce.views.getParams();
c[a]=b};fcU("goog.peoplesense.util.getBaseUrl",fcMb);fcU("goog.peoplesense.util.finishSignIn",fcPb);fcU("goog.peoplesense.util.signout",fcQb);fcU("goog.peoplesense.util.signin",fcOb);fcU("goog.peoplesense.util.invite",fcRb);fcU("goog.peoplesense.util.editSettings",fcSb);fcU("goog.peoplesense.util.setStickyViewParamToken",fcWb);fcU("goog.peoplesense.util.openPopup",fcNb);fcU("google.friendconnect.renderSignInButton",fcVb);fcU("goog.peoplesense.util.userAgent.IE",fcY);var fcXb={},fcYb={},fc4=function(a){this.g=new fc1;this.snippetId=a.id;this.site=a.site;var b=a["view-params"],c=b.skin;this.wb=(c?c.POSITION:"top")||"top";this.ac={allowAnonymousPost:b.allowAnonymousPost||fcd,scope:b.scope||"SITE",docId:b.docId||"",features:b.features||"video,comment",startMaximized:"true",disableMinMax:"true",skin:c};this.absoluteBottom=fcY&&!fcib("7");this.fixedIeSizes=fcY;fci[fcH]?fci[fcH]("resize",fcT(this.ya,this),fcd):fci.attachEvent("onresize",fcT(this.ya,this));this.Na()};
fc4[fc].Na=function(){if(!this.site)fca(new Error("Must supply site ID."));if(!this.snippetId)fca(new Error("Must supply a snippet ID."))};fc4[fc].b=10;fc4[fc].ea=1;fc4[fc].m="fc-friendbar-";fc4[fc].p=fc4[fc].m+"outer";fc4[fc].Ba=fc4[fc].p+"-shadow";fc4[fc].render=function(){fck.write(this.Wa());var a=fcZ(this.snippetId);fcn(a,this.F())};fc4[fc].Xa=function(){var a=fcZ(this.p),b=fcIb(a)[fcs];return b};
fc4[fc].ya=function(){for(var a=this.g.H(),b=0;b<a[fcr];b++)this.Kb(a[b]);goog&&fcKb&&fcLb&&fcZb&&fc_b("resize")};fc4[fc].k=function(){return this.wb};fc4[fc].c=function(a){return this.m+"shadow-"+a};fc4[fc].Q=function(a){return this.m+"menus-"+a};fc4[fc].I=function(a){return this.m+a+"Target"};fc4[fc].O=function(a){return this.m+a+"Drawer"};fc4[fc].ra=function(){return this.I("")};fc4[fc].sa=function(){return this.m+"wallpaper"};fc4[fc].oa=function(){return this.O("")};
fc4[fc].Wa=function(){var a=fci.friendconnect_imageUrl+"/",b=a+"shadow_tc.png",c=a+"shadow_bc.png",d=a+"shadow_bl.png",e=a+"shadow_tl.png",h=a+"shadow_tr.png",j=a+"shadow_br.png",k=a+"shadow_cr.png",i=function(n,o){return fcY?'filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+n+'", sizingMethod="scale");':"background-image: url("+n+");background-repeat: "+o+"; "},l="position:absolute; top:";if(this.k()!="top"){l="position:fixed; bottom:";if(this.absoluteBottom)l="position:absolute; bottom:"}var m=
c;if(this.k()!="top")m=b;var f=0,g=[];g[f++]='<style type="text/css">';if(this.k()!="top"&&this.absoluteBottom)g[f++]="html, body {height: 100%; overflow: auto; };";g[f++]="#"+this.p+" {";g[f++]="background:#E0ECFF;";g[f++]="left:0;";g[f++]="height: "+(fcY?"35px;":"36px;");if(this.k()!="top"&&this.absoluteBottom)g[f++]="margin-right: 20px;";g[f++]="padding:0;";g[f++]=l+" 0;";g[f++]="width:100%;";g[f++]="z-index:5000;";g[f++]="}";g[f++]="#"+this.Ba+" {";g[f++]=i(m,"repeat-x");g[f++]="left:0;";g[f++]=
"height:"+this.b+"px;";if(this.k()!="top"&&this.absoluteBottom)g[f++]="margin-right: 20px;";g[f++]="padding:0;";g[f++]=l+(fcY?"35px;":"36px;");g[f++]="width:100%;";g[f++]="z-index:4998;";g[f++]="}";g[f++]="."+this.oa()+" {";g[f++]="display: block;";g[f++]="padding:0;";g[f++]=l+(fcY?"34px;":"35px;");g[f++]="z-index:4999;";g[f++]="}";g[f++]="."+this.sa()+" {";g[f++]="background: white;";g[f++]="height: 100%;";g[f++]="margin-right: "+this.b+"px;";g[f++]="}";g[f++]="."+this.ra()+" {";g[f++]="border: "+
this.ea+"px solid #ccc;";g[f++]="height: 100%;";g[f++]="left: 0;";g[f++]="background-image: url("+fci.friendconnect_imageUrl+"/loading.gif);";g[f++]="background-position: center;";g[f++]="background-repeat: no-repeat;";g[f++]="}";g[f++]="."+this.c("cr")+" {";g[f++]=i(k,"repeat-y");g[f++]="height: 100%;";g[f++]="position:absolute;";g[f++]="right: 0;";g[f++]="top: 0;";g[f++]="width:"+this.b+"px;";g[f++]="}";g[f++]="."+this.c("bl")+" {";g[f++]=i(d,"no-repeat");g[f++]="height: "+this.b+"px;";g[f++]="position:absolute;";
g[f++]="width:"+this.b+"px;";g[f++]="}";g[f++]="."+this.c("tl")+" {";g[f++]=i(e,"no-repeat");g[f++]="height: "+this.b+"px;";g[f++]="position:absolute;";g[f++]="left:0px;";g[f++]="width:"+this.b+"px;";g[f++]="}";g[f++]="."+this.c("bc")+" {";g[f++]=i(c,"repeat-x");g[f++]="height: "+this.b+"px;";g[f++]="left: "+this.b+"px;";g[f++]="position:absolute;";g[f++]="right: "+this.b+"px;";g[f++]="}";g[f++]="."+this.c("tc")+" {";g[f++]=i(b,"repeat-x");g[f++]="height: "+this.b+"px;";g[f++]="left: "+this.b+"px;";
g[f++]="margin-left: "+this.b+"px;";g[f++]="margin-right: "+this.b+"px;";g[f++]="right: "+this.b+"px;";g[f++]="}";g[f++]="."+this.c("br")+" {";g[f++]=i(j,"no-repeat");g[f++]="height: "+this.b+"px;";g[f++]="position:absolute;";g[f++]="right: 0;";g[f++]="width: "+this.b+"px;";g[f++]="}";g[f++]="."+this.c("tr")+" {";g[f++]=i(h,"no-repeat");g[f++]="height: "+this.b+"px;";g[f++]="position:absolute;";g[f++]="right: 0;";g[f++]="top: 0;";g[f++]="width: "+this.b+"px;";g[f++]="}";g[f++]="</style>";return g[fcqa]("")};
fc4[fc].F=function(){var a=['<div id="'+this.p+'"></div>','<div id="'+this.Ba+'"></div>','<div id="'+this.Q(this.g.na())+'"></div>'];return a[fcqa]("")};fc4[fc].Qa=function(a,b,c,d){if(!this.g.Oa(a)){var e=new fc5(this,a,b,c,d),h=this.g.na(),j=fcZ(this.Q(h));fcn(j,e.F()+'<div id="'+this.Q(h+1)+'"></div>');this.g.set(a,e)}};fc4[fc].T=function(a){var b=this.g.get(a);b&&b.drawer&&fcJb(b.drawer,fcd)};fc4[fc].yb=function(a){var b=this.g.get(a);if(b)b.rendered=fcd};
fc4[fc].refresh=function(){for(var a=this.g.H(),b=0;b<a[fcr];b++){var c=a[b];this.T(c);this.yb(c)}};fc4[fc].tb=function(a){for(var b=this.g.S(),c=0;c<b[fcr];c++){var d=b[c];if(d.id==a){d.Wb();break}}};fc4[fc].sb=function(a){for(var b=this.g.S(),c=0;c<b[fcr];c++){var d=b[c];if(d.id==a){d.pb();break}}};fc4[fc].Kb=function(a){var b=this.g.get(a);if(b&&b.drawer&&b.V()){b.M();b.ka();b.da()}};
fc4[fc].Vb=function(a,b){var c=this.g.get(a);if(c){if(!c.drawer){c.drawer=fcZ(this.O(c[fcM]));c.target=fcZ(this.I(c[fcM]));c.sha_bc=fclb("div",this.k()=="top"?this.c("bc"):this.c("tc"),c.drawer)[0];c.sha_cr=fclb("div",this.c("cr"),c.drawer)[0]}for(var d=this.g.H(),e=0;e<d[fcr];e++){var h=d[e];a!=this.g.get()&&this.T(h)}c.M(b);fcJb(c.drawer,fcb);fci.setTimeout(function(){c.da();c.ka();c.render()},0)}};
var fc5=function(a,b,c,d,e){this.id=-1;this.bar=a;this.name=b;this.constraints=d;this.skin=e||{};fco(this,this.skin.HEIGHT||"0");this.url=fci.friendconnect_serverBase+c;this.sha_bc=this.target=this.drawer=fcc;this.loaded=this.rendered=fcd;this.M()};
fc5[fc].M=function(a){fcNa(this.constraints,a||{});fcNa(this.skin,this.constraints);if(this.bar.fixedIeSizes&&this.constraints[fcC]&&this.constraints[fcR]){var b=this.bar.Xa(),c=this.constraints[fcC],d=this.constraints[fcR],e=b-(c+d);if(e%2){e-=1;this.skin.right+=1}fcm(this.skin,e);delete this.skin[fcC]}};
fc5[fc].da=function(){if(this.drawer){if(this.skin[fcs]){var a=this.bar.ea,b=this.bar.b,c=fcY?2:0;fcHb(this.target,this.skin[fcs],"");fcHb(this.sha_bc,this.skin[fcs]-b+2*a-c,"");this.skin.rightShadow?fcHb(this.drawer,this.skin[fcs]+b+2*a-c,""):fcHb(this.drawer,this.skin[fcs]+2*a-c,"")}if(this.skin[fcR])this.drawer[fcB].right=this.skin[fcR]+0+"px"}};
fc5[fc].ka=function(){if(fcY&&this.drawer){var a=fcIb(this.target),b=a[fcs]-this.bar.b,c=a[fcO];if(b<0)b=0;this.sha_bc&&this.sha_bc[fcB]&&fcHb(this.sha_bc,b,"");this.sha_cr&&this.sha_cr[fcB]&&fcHb(this.sha_cr,"",c)}};
fc5[fc].F=function(){var a="display:none;",b="position: relative; ",c="",d="",e="",h="",j=!!this.skin.rightShadow;if(!j){c+="display: none; ";e+="display: none; ";d+="right: 0px; ";h+="margin-right: 0px; "}for(var k in this.skin){var i=Number(this.skin[k]);if(j&&fcPa(k,"width")==0)i=i+this.b;if(fcPa(k,"height")==0)b+=k+": "+i+"px; ";if(k!="rightShadow"){if(fcPa(k,"height")==0)i=i+this.b;if(fcPa(k,"width")==0)i=i+2;a+=k+": "+i+"px; "}if(fcY&&fcPa(k,"width")==0){i=j?i-2*this.b:i-this.b;d+=k+": "+i+
"px; "}}if(fcY&&(this[fcO]|0)>0){var l=(this[fcO]|0)+2;c+="height: "+l+"px; "}var m=0,f=[];f[m++]='<div id="'+this.bar.O(this[fcM])+'"class="'+this.bar.oa()+'"style="'+a+'"> ';if(this.bar.k()=="bottom")f[m++]='<div class="'+this.bar.c("tl")+'"></div> <div class="'+this.bar.c("tc")+'"style="'+d+'"></div> <div class="'+this.bar.c("tr")+'"style="'+e+'"></div> ';f[m++]='<div style="'+b+'"> <div class="'+this.bar.sa()+'"style="'+h+'"><div id="'+this.bar.I(this[fcM])+'"class="'+this.bar.ra()+'"></div> <div class="'+
this.bar.c("cr")+'"style="'+c+'"></div> </div> </div> ';if(this.bar.k()=="top")f[m++]='<div class="'+this.bar.c("bl")+'"></div> <div class="'+this.bar.c("bc")+'"style="'+d+'"></div> <div class="'+this.bar.c("br")+'"style="'+e+'"></div> ';f[m++]="</div> ";return f[fcqa]("")};fc5[fc].Wb=function(){this.rendered=this.V()};fc5[fc].pb=function(){this.loaded=this.V()};fc5[fc].V=function(){return!!this.drawer&&this.drawer[fcB][fcoa]!="none"};
fc5[fc].render=function(){if(this.rendered==fcd){var a={};a.url=this.url;a.id=this.bar.I(this[fcM]);a.site=this.bar.site;a["view-params"]=fcxa(this.bar.ac);if(this[fcM]=="profile")a["view-params"].profileId="VIEWER";this.skin&&fcNa(a["view-params"].skin,this.skin);a["view-params"].menuName=this[fcM];a["view-params"].opaque="true";a["view-params"].menuPosition=this.bar.wb;a.HEIGHT="1px";if(fcXb&&fcYb&&fc6)this.id=fc6.render(a)}};fcU("google.friendconnect.FriendBar",fc4);var fc0b=function(){},fc1b=function(){},fc2b=function(){fc1b[fcD](this)};fcV(fc2b,fc1b);var fc3b=function(a){if(a)for(var b in a)if(a.hasOwnProperty(b))this[b]=a[b];if(this.viewParams)for(var c in this.viewParams)if(/^FC_RELOAD_.*$/[fcfa](c))this.viewParams[c]=fcc};fc3b[fc].render=function(a){var b=this;if(a){b.Xb();this.Za(function(c){fcn(a,c);b.refresh(a,c)})}};fc3b[fc].Za=function(a){return this.db(a)};var fc7=function(a){fc3b[fcD](this,a);this.z="../../"};fcV(fc7,fc3b);fc7[fc].Fa="gfc_iframe_";
fc7[fc].Ga="friendconnect";fc7[fc].la="";fc7[fc].za=fch(fcl[fct](2147483647*fcl[fcia]()));fc7[fc].Lb="rpc_relay.html";fc7[fc].L=function(a){this.z=a};fc7[fc].Xb=function(){return this.la=fch(fcl[fct](2147483647*fcl[fcia]()))};fc7[fc].P=function(){return this.Fa+this.la+"_"+this.id};
fc7[fc].refresh=function(a,b){var c=fc6.ma(this.communityId),d="post",e,h={};h.container=this.Ga;h.mid=this.id;h.nocache=fc6.vb;h.view=this.Ea;h.parent=fc6.J;if(this.debug)h.debug="1";if(this.specUrl)h.url=this.specUrl;if(this.communityId){var j=fce[fcK][fcz]().profileId;h.communityId=this.communityId;var k=fce[fcK][fcz]().psinvite;if(k)h.psinvite=k;if(j)h.profileId=j}h.caller=fc4b();h.rpctoken=this.za;var i=fcd;if(fcbb||!fc6.W[this.specUrl]&&this.viewParams){h["view-params"]=fce[fcja][fcea](this.viewParams);
i=fcb}if(this.prefs)h.prefs=fce[fcja][fcea](this.prefs);if(this.locale)h.locale=this.locale;if(this.secureToken)h.st=this.secureToken;e=this.z+"ifr"+(this.hashData?"&"+this.hashData:"");if(fc6.bc!=1||i||c||this.secureToken){if(c)h.fcauth=c}else d="get";var l=this.P();fc5b(l,e,d,h,a,b,this.za)};var fc8=function(){this.i={};this.J="http://"+fck[fcy].host;this.Ea="default";this.vb=1;this.fc=0;this.cc="US";this.dc="en";this.ec=2147483647};fcV(fc8,fc0b);fc8[fc].q=fc3b;fc8[fc].r=new fc2b;
fc8[fc].Aa=function(a){this.vb=a};fc8[fc].ja=function(a){this.bc=a};fc8[fc].qa=function(a){return"gadget_"+a};fc8[fc].u=function(a){return this.i[this.qa(a)]};fc8[fc].D=function(a){return new this.q(a)};fc8[fc].Ia=function(a){a.id=this.eb();this.i[this.qa(a.id)]=a};fc8[fc].ub=0;fc8[fc].eb=function(){return this.ub++};var fc6b=function(){fc8[fcD](this)};fcV(fc6b,fc8);fc6b[fc].q=fc7;fc6b[fc].K=function(a){a[fcE](/^http[s]?:\/\//)||(a=fck[fcy][fcla][fcE](/^[^?#]+\//)[0]+a);this.J=a};
fc6b[fc].w=function(a){var b=this.r.pa(a);a.render(b)};var fc7b=function(){fc1b[fcD](this);this.Va={}};fcV(fc7b,fc1b);fc7b[fc].Ja=function(a,b){this.Va[a]=b;var c=fck[fcx](b).className;if(!c&&c[fcr]==0)fck[fcx](b).className="gadgets-gadget-container"};fc7b[fc].pa=function(a){var b=this.Va[a.id];return b?fck[fcx](b):fcc};var fc9=function(a){fc7[fcD](this,a);a=a||{};this.Ea=a.view||"profile"};fcV(fc9,fc7);fc9[fc].Ma="canvas.html";fc9[fc].Ta="/friendconnect/embed/";
var fc4b=function(){var a=fce[fcK][fcz]().canvas=="1"||fce[fcK][fcz]().embed=="1",b=fcc;if(a)b=fce[fcK][fcz]().caller;if(!b){var c=fck[fcy],d=c.search[fcu](/([&?]?)psinvite=[^&]*(&?)/,function(e,h,j){return j?h:""});b=c.protocol+"//"+c.hostname+(c.port?":"+c.port:"")+c.pathname+d}return b};fc9[fc].Sb=function(a){this.Ea=a};fc9[fc].getBodyId=function(){return this.P()+"_body"};
fc9[fc].db=function(a){var b=(fc6.W[this.specUrl]||this.z)+this.Lb,c=this.P();fce.rpc.setRelayUrl(c,b);var d='<div id="'+this.getBodyId()+'"><iframe id="'+c+'" name="'+c+'" style="width:100%;';if(this.viewParams.opaque)d+="background-color:white;";d+='"';d+=' frameborder="0" scrolling="no"';this.viewParams.opaque||(d+=' allowtransparency="true"');d+=this[fcO]?' height="'+this[fcO]+'"':"";d+=this[fcs]?' width="'+this[fcs]+'"':"";d+="></iframe>";if(this.showEmbedThis)d+='<a href="javascript:void(0);" onclick="google.friendconnect.container.showEmbedDialog(\''+
this.divId+"'); return false;\">Embed this</a>";d+="</div>";a(d)};
fc9[fc].Ya=function(){var a=fc4b(),b="canvas=1&caller="+fcg(a),c=fce[fcK][fcz]().psinvite;if(c)b+="&psinvite="+fcg(c);b+="&site="+fcg(this.communityId);for(var d=fcxa(this.viewParams),e=["BG_IMAGE","BG_COLOR","FONT_COLOR","BG_POSITION","BG_REPEAT","ANCHOR_COLOR","FONT_FACE","BORDER_COLOR","CONTENT_BG_COLOR","CONTENT_HEADLINE_COLOR","CONTENT_LINK_COLOR","CONTENT_SECONDARY_TEXT_COLOR","CONTENT_SECONDARY_LINK_COLOR","CONTENT_TEXT_COLOR","ENDCAP_BG_COLOR","ENDCAP_LINK_COLOR","ENDCAP_TEXT_COLOR","CONTENT_VISITED_LINK_COLOR",
"ALTERNATE_BG_COLOR"],h=0;h<e[fcr];h++)delete d.skin[e[h]];var j=fcg(fce[fcja][fcea](d));j=j[fcu]("\\","%5C");return fc6.J+this.Ma+"?url="+fcg(this.specUrl)+(b?"&"+b:"")+"&view-params="+j};fc9[fc].t=function(a){a=a||fcf+this.Ta+this.communityId;return this.$a(a,"embed=1")};fc9[fc].s=function(a){return'<iframe src="'+this.t(a)+'" style="height:500px" scrolling="no" allowtransparency="true" border="0" frameborder="0" ></iframe>'};
fc9[fc].$a=function(a,b){var c=fcg(fce[fcja][fcea](this.viewParams));c=c[fcu]("\\","%5C");return a+"?url="+fcg(this.specUrl)+(b?"&"+b:"")+"&view-params="+c};fc9[fc].hb=function(){var a=fce[fcK][fcz]().canvas=="1"||fce[fcK][fcz]().embed=="1",b=fcc;if(a)(b=fce[fcK][fcz]().caller)||(b="javascript:history.go(-1)");return b};fc9[fc].ib=function(a){var b=fcc;if(a=="canvas")b=this.Ya();else if(a=="profile")b=this.hb();return b};
var fc$=function(){fc6b[fcD](this);fce.rpc[fcP]("signin",this.signin);fce.rpc[fcP]("signout",this.signout);fce.rpc[fcP]("resize_iframe",this.Ob);fce.rpc[fcP]("set_title",this.Rb);fce.rpc[fcP]("requestNavigateTo",this.Jb);fce.rpc[fcP]("api_loaded",this.La);fce.rpc[fcP]("createFriendBarMenu",this.Pa);fce.rpc[fcP]("showFriendBarMenu",this.Ub);fce.rpc[fcP]("hideFriendBarMenu",this.mb);fce.rpc[fcP]("putReloadViewParam",this.xb);fce.rpc[fcP]("getViewParams",this.Ra);fce.rpc[fcP]("openLightboxIframe",fc8b);
fce.rpc[fcP]("closeLightboxIframe",fcT(this.ga,this));var a=fc9b;a[fcP]();a.Da(this,"load",this.kb);a.Da(this,"start",this.lb);this.z="../../";this.K("");this.Aa(0);this.ja(0);this.r=new fc7b;this.apiVersion="0.8";this.openSocialSecurityToken=this.openSocialSiteId=fcc;this.ba="";this.ia={};this.ob=this.ha=fcd;this.rb=this.lastLightboxOnCloseCallback=this.lastLightboxDialog=fcc};fcV(fc$,fc6b);fc$[fc].q=fc9;fc$[fc].W={};
var fc$b=function(a,b){var c=b?b:fci.top,d=c.frames;try{if(c.frameElement.id==a)return c}catch(e){}for(var h=0;h<d[fcr];++h){var j=fc$b(a,d[h]);if(j)return j}return fcc},fc5b=function(a,b,c,d,e,h,j){var k="gfc_load_"+a,i="<html><head><style type=\"text/css\">body {background:transparent;}</style></head><body><form onsubmit='return false;' style='margin:0;padding:0;' id='"+k+"' method='"+c+"' ' action='"+b+"'>";for(var l in d)i+="<input type='hidden' name='"+l+"' value='' >";i+="</form></body></html>";
var m=fc$b(a),f;try{f=m[fcv]||m.contentWindow[fcv]}catch(g){if(e&&h){fcn(e,"");fcn(e,h);m=fc$b(a);f=m[fcv]||m.contentWindow[fcv]}}j&&fce.rpc.setAuthToken(a,j);f.open();f.write(i);f.close();var n=f[fcx](k);for(l in d)n[l].value=d[l];n.submit()};fc$[fc].Ua=function(){var a=fce[fcK][fcz]().fcprofile;a&&fc6.Ca(a)};fc$[fc].Nb=function(a,b){this.W[a]=b};fc$[fc].X=function(){fc6.e!=fcc&&fc6.e.refresh();for(var a in fc6.i){var b=fc6.i[a];this.w(b)}};
fc$[fc].K=function(a){a[fcE](/^http[s]?:\/\//)||(a=a&&a[fcr]>0&&a.substring(0,1)=="/"?fck[fcy][fcla][fcE](/^http[s]?:\/\/[^\/]+\//)[0]+a.substring(1):fck[fcy][fcla][fcE](/^[^?#]+\//)[0]+a);this.J=a};fc$[fc].N=function(a){return"fcauth"+a};fc$[fc].R=function(a){return"fcauth"+a+"-s"};fc$[fc].ma=function(a){var b=fcCa(this.N(a))||fcCa(this.R(a))||this.ia[a]||"";return b};fc$[fc].L=function(a){this.z=a};fc$[fc].Qb=function(a){this.ba=a};fc$[fc].D=function(a){var b=new this.q(a);b.L(this.z);return b};
fc$[fc].Pb=function(a){this.rb=a};var fcac=function(a){return fcaa(a[fcE](/_([0-9]+)$/)[1],10)};
fc$[fc].A=function(a,b,c){if(!this.ha){this.ca(fci.friendconnect_serverBase+"/friendconnect/styles/container.css?v="+this.ba);this.ha=fcb}if(!this.ob){this.Ka(fci.friendconnect_serverBase+"/friendconnect/script/lightbox.js?v="+this.ba);this.ob=fcb}b=b||0;if(goog.ui&&goog.ui.Dialog){this.ga();var d=new goog.ui.Dialog(fcc,fcb);d.setDraggable(fcd);d.setDisposeOnHide(fcb);d.setButtonSet(new goog.ui.Dialog.ButtonSet);this.lastLightboxDialog=d;this.lastLightboxOnCloseCallback=c;a(d)}else if(b<5){b++;setTimeout(function(){fc6.A(a,
b,c)},1000)}else fca(Error("lightbox.js failed to load"))};fc$[fc].ga=function(a){if(this.lastLightboxDialog!=fcc){this.lastLightboxDialog.dispose();this.lastLightboxDialog=fcc;if(this.lastLightboxOnCloseCallback){this.lastLightboxOnCloseCallback(a);this.lastLightboxOnCloseCallback=fcc}}};
fc$[fc].Jb=function(a,b){var c=fcac(this.f),d=fc6.u(c);if(d.useLightBoxForCanvas&&a=="canvas")fc6.A(function(j){var k=fck[fcG]("div");k[fcJ]("id","gadget-canvas");j.getContentElement()[fcp](k);j.setVisible(fcb);var i=fcxa(d.originalParams);i.id="gadget-canvas";i.presentation="canvas";fc6.render(i)});else{if(b)d.viewParams=b;var e=d.ib(a);if(e&&fck[fcy][fcla]!=e)if(fce[fcK][fcz]().embed=="1")try{fci.parent.location=e}catch(h){fci.top.location=e}else fck[fcy].href=e}};
fc$[fc].Ub=function(a,b){fc6.e!=fcc&&fc6.e.Vb(a,b)};fc$[fc].mb=function(a){fc6.e!=fcc&&fc6.e.T(a)};var fc8b=function(a,b,c,d,e,h){var j=this;fc6.va(a,b,c,d,e,h,fcc,j.callback)};
fc$[fc].va=function(a,b,c,d,e,h,j,k){var i=fch(fcl[fct](2147483647*fcl[fcia]())),l="gfc_lbox_iframe_"+i;fce.rpc.setAuthToken(l,i);if(!b)b=fc6.openSocialSecurityToken;var m=fc6.openSocialSiteId;fc6.A(function(f){var g="st="+fcg(b)+"&parent="+fcg(fc6.J)+"&rpctoken="+fcg(i),n=fcf+"/friendconnect/lightbox";n+="?"+g;n+="&iframeId="+fcg(l);n+="&iurl="+fcg(a);var o='<iframe id="'+l;h||(o+='" src="'+n);o+='" width="'+c+'" height="'+d+'" frameborder="0" scrolling="auto"></iframe>';f.setContent(o);f.setVisible(fcb);
if(h){h.fcauth=fc6.ma(m);a+="?"+g;fc5b(l,a,"POST",h,fcc,fcc,fcc)}},fcc,k)};fc$[fc].Ra=function(){var a=fcac(this.f),b=fc6.u(a);return b.viewParams};fc$[fc].xb=function(a,b){var c=fcac(this.f),d=fc6.u(c);d.viewParams[a]=b};fc$[fc].kb=function(a,b){fc6.e!=fcc&&fc6.e.sb(b)};fc$[fc].lb=function(a,b){fc6.e!=fcc&&fc6.e.tb(b)};fc$[fc].Pa=function(a,b,c,d){fc6.e!=fcc&&fc6.e.Qa(a,b,c,d)};fc$[fc].w=function(a){var b=this.r.pa(a);a.render(b);this.r.postProcessGadget&&this.r.postProcessGadget(a)};
fc$[fc].signout=function(a){fc6.wa(fc6.N(a));fc6.wa(fc6.R(a));fc6.ia={};fc6.X();return fcd};fc$[fc].wa=function(a){for(var b=fck[fcy].pathname,c=b[fcw]("/"),d=0;d<c[fcr];d++){for(var e=new Array(d+1),h=0;h<d+1;h++)e[h]=c[h];fcDa(a,e[fcqa]("/")+"/")}};fc$[fc].Ob=function(a){var b=fck[fcx](this.f);if(b&&a>0)fco(b[fcB],a+"px");if((b=fck[fcx](this.f+"_body"))&&a>0)fco(b[fcB],a+"px");var c=fcac(this.f),d=fc6.u(c);if(d)if((b=fck[fcx](d.divId))&&a>0)fco(b[fcB],a+"px")};
fc$[fc].Rb=function(a){var b=fcac(this.f),c=fc6.u(b),d=c.titleDivId;if(d)fcn(fck[fcx](d),fce[fcK].escapeString(a))};fc$[fc].signin=function(a,b,c){fcBa(fc6.N(a),b,31104000,c);fcBa(fc6.R(a),b,-1,c);fc6.ia[a]=b;fc6.X()};var fccc=function(a){fcUb(a,fcbc)};fc$[fc].Db=function(a,b){b&&this.j(b,a);var c={};c.url=fcf+"/friendconnect/gadgets/members.xml";this.render(this.o(a,c))};
fc$[fc].Fb=function(a,b){b&&this.j(b,a);var c={};c.url=fcf+"/friendconnect/gadgets/review.xml";c["view-params"]={startMaximized:"true",disableMinMax:"true",features:"review"};this.render(this.o(a,c))};fc$[fc].Y=function(a,b){b&&this.j(b,a);var c={};c.url=fcf+"/friendconnect/gadgets/wall.xml";c["view-params"]={startMaximized:"true",disableMinMax:"true",features:"comment"};this.render(this.o(a,c))};
fc$[fc].Gb=function(a,b){b&&this.j(b,a);var c={};c.url=fcf+"/friendconnect/gadgets/signin.xml";fco(c,32);this.render(this.o(a,c))};fc$[fc].Ab=function(a,b){b&&this.j(b,a);var c={};c.url=fcf+"/friendconnect/gadgets/ads.xml";fco(c,90);this.render(this.o(a,c))};
fc$[fc].aa=function(a,b){if(a.id){b&&this.j(b,a);a["view-params"]=a["view-params"]||{};a["view-params"].opaque="true";this.e=new fc4(a);this.e.render();var c={};c.url=fcf+"/friendconnect/gadgets/friendbar.xml";a.id=this.e.p;fco(a,"1");this.render(this.o(a,c))}};fc$[fc].Cb=fc$[fc].aa;fc$[fc].$=function(a,b){a=a||{};a.url=fcf+"/friendconnect/gadgets/signin.xml";a.site=a.site||fce[fcK][fcz]().site;fco(a,32);this.Z(a,b)};fc$[fc].Bb=fc$[fc].$;fc$[fc].Ib=fc$[fc].Y;
fc$[fc].j=function(a,b){var c=b["view-params"];if(!c){c={};b["view-params"]=c}c.skin=a};fc$[fc].o=function(a,b){var c=this.ua(b,a);if(b["view-params"]){var d=b["view-params"];if(a["view-params"])d=this.ua(d,a["view-params"]);c["view-params"]=d}return c};fc$[fc].Eb=function(a,b){b&&this.j(b,a);this.render(a)};fc$[fc].ua=function(a,b){var c={},d;for(d in b)c[d]=b[d];for(d in a)if(typeof c[d]=="undefined")c[d]=a[d];return c};
fc$[fc].render=function(a){this.openSocialSiteId=a.site;a["view-params"]=a["view-params"]||{};var b=this.D({divId:a.id,specUrl:a.url,communityId:a.site,height:a[fcO],locale:a.locale||this.rb,secureToken:a.securityToken,titleDivId:a.titleDivId,showEmbedThis:a.showEmbedThis,useLightBoxForCanvas:a.useLightBoxForCanvas,viewParams:a["view-params"],prefs:a.prefs,originalParams:a,debug:a.debug});a.presentation&&b.Sb(a.presentation);this.Ia(b);this.r.Ja(b.id,a.id);fc6.w(b);return b.id};
fc$[fc].Hb=function(a,b){a=a||{};a.presentation="canvas";this.xa(a,b)};fc$[fc].xa=function(a,b,c){a=a||{};a.url=fce[fcK][fcz]().url;a.site=fce[fcK][fcz]().site||a.site;var d=fce[fcK][fcz]()["view-params"];if(d)a["view-params"]=fce[fcja].parse(decodeURIComponent(d));if(c){a["view-params"]=a["view-params"]||{};a["view-params"].useFixedHeight=fcb;fco(a["view-params"],c);b=b||{};b.HEIGHT=fch(c)}this.Z(a,b)};
fc$[fc].Z=function(a,b){a=a||{};b&&this.j(b,a);if(fce[fcK][fcz]().canvas=="1")a.presentation="canvas";else if(fce[fcK][fcz]().embed=="1")a.presentation="embed";fc6.render(a)};fc$[fc].jb=function(){var a=fce[fcK][fcz]().caller;if(a&&fck[fcy][fcla]!=a&&a[fcr]>8&&(a.substr(0,7)[fcQ]()=="http://"||a.substr(0,8)[fcQ]()=="https://"))fck[fcy].href=a;else{var b=fce[fcK][fcz]().site;if(b)fck[fcy].href=fcf+"/friendconnect/directory/site?id="+b;else fci.history.go(-1)}};fc$[fc].v="";fc$[fc].fb=function(){return this.v};
fc$[fc].Mb=function(a){this.apiVersion=a};fc$[fc].ca=function(a){var b=fck[fcG]("link");b[fcJ]("rel","stylesheet");b[fcJ]("type","text/css");b[fcJ]("href",a);fck.getElementsByTagName("head")[0][fcp](b)};fc$[fc].Ka=function(a){var b=fck[fcG]("script");b[fcJ]("src",a);b[fcJ]("type","text/javascript");fck.getElementsByTagName("head")[0][fcp](b)};fc$[fc].fa=function(a){if(fck.body)a();else fci[fcH]?fci[fcH]("load",a,fcd):fci.attachEvent("onload",a)};
fc$[fc].U=function(a){if(!a.site)fca("API not loaded, please pass in a 'site'");this.ca(fci.friendconnect_serverBase+"/friendconnect/styles/container.css?v="+this.ba);this.ha=fcb;this.openSocialSiteId=a.site;this.apiLoadedCallback=a.onload;this.fa(fcT(this.ta,this,a,"fc-opensocial-api"))};fc$[fc].qb=fc$[fc].U;fc$[fc].nb=function(a){var b={};b.site=this.openSocialSiteId;b["view-params"]={txnId:a};this.ta(b,"gfc-"+a)};
fc$[fc].zb=function(a){var b={};for(var c in this.i){var d=this.i[c];if(d.viewParams&&d.viewParams.txnId==a)break;else b[c]=d}this.i=b;var e=fck[fcx]("gfc-"+a);e&&e[fcN]&&e[fcN].removeChild&&e[fcN].removeChild(e)};fc$[fc].ab=function(){return"<Templates xmlns:fc='http://www.google.com/friendconnect/makeThisReal'> <Namespace prefix='fc' url='http://www.google.com/friendconnect/makeThisReal'/> <Template tag='fc:signIn'> <div onAttach='google.friendconnect.renderSignInButton({element: this})'></div> </Template></Templates>"};
fc$[fc].gb=function(){return"<Templates xmlns:os='http://ns.opensocial.org/2008/markup'><Namespace prefix='os' url='http://ns.opensocial.org/2008/markup'/><Template tag='os:Name'> <span if='${!My.person.profileUrl}'>${My.person.displayName}</span> <a if='${My.person.profileUrl}' href='${My.person.profileUrl}'> ${My.person.displayName}</a></Template><Template tag='os:Badge'> <div><img if='${My.person.thumbnailUrl}' src='${My.person.thumbnailUrl}'/> <os:Name person='${My.person}'/></div></Template><Template tag='os:PeopleSelector'> <select onchange='google.friendconnect.PeopleSelectorOnChange(this)' name='${My.inputName}' multiple='${My.multiple}' x-var='${My.var}' x-max='${My.max}' x-onselect='${My.onselect}'> <option repeat='${My.group}' value='${Cur.id}' selected='${Cur.id == My.selected}'> ${Cur.displayName} </option> </select></Template></Templates>"};
var fcdc=function(a){var b;if(a.multiple){b=[];for(var c=0;c<a[fcF][fcr];c++)a[fcF][c].selected&&b[fcq](a[fcF][c].value);var d=a.getAttribute("x-max");try{d=1*d}catch(e){d=0}if(d&&b[fcr]>d&&a["x-selected"]){b=a["x-selected"];for(var h=0;h<a[fcF][fcr];h++){a[fcF][h].selected=fcd;for(var j=0;j<b[fcr];j++)if(a[fcF][h].value==b[j]){a[fcF][h].selected=fcb;break}}}}else b=a[fcF][a.selectedIndex].value;a["x-selected"]=b;var k=a.getAttribute("x-var");k&&fci.opensocial[fcga]&&fci.opensocial[fcga].getDataContext().putDataSet(k,
b);var i=a.getAttribute("x-onselect");if(i)if(fci[i]&&typeof fci[i]=="function")fci[i](b);else if(a["x-onselect-fn"])a["x-onselect-fn"][fcL](a);else a["x-onselect-fn"]=new Function(i)};
fc$[fc].ta=function(a,b){fci.opensocial.template.Loader.loadContent(this.gb());fci.opensocial.template.Loader.loadContent(this.ab());fci.opensocial[fcga].processDocumentMarkup();var c=fck[fcG]("div");c.id=b;fco(c[fcB],"0px");fcm(c[fcB],"0px");c[fcB].position="absolute";c[fcB].visibility="hidden";fck.body[fcp](c);var d={};d.url=fcf+"/friendconnect/gadgets/osapi-"+this.apiVersion+".xml";fco(d,0);d.id=c.id;d.site=a.site;d["view-params"]=a["view-params"];this.render(d)};
fc$[fc].La=function(){fc6.v=this.f;fc6.openSocialSecurityToken=this.a[0];var a=fc6.openSocialSecurityToken;fci.opensocial[fcga].executeRequests();fci.opensocial.template.process();if(fc6.apiLoadedCallback){var b=fcya(fc6.apiLoadedCallback,a);setTimeout(b,0)}};fc$[fc].G=function(a){var b=fcc;for(var c in this.i)if(this.i[c].divId==a){b=this.i[c];break}return b};fc$[fc].t=function(a,b){var c=this.G(a),d=fcc;if(c)d=c.t(b);return d};fc$[fc].s=function(a,b){var c=this.G(a),d=fcc;if(c)d=c.s(b);return d};
fc$[fc].Tb=function(a,b){this.A(function(c){var d=fck.createTextNode("Copy & paste this code into your site.");c.getContentElement()[fcp](d);c.getContentElement()[fcp](fck[fcG]("br"));var e=fc6.s(a,b),h=fck[fcG]("textarea");fcn(h,e);h[fcJ]("style","width:500px;");c.getContentElement()[fcp](h);c.setVisible(fcb)})};
fc$[fc].Ca=function(a){this.A(function(b){var c=fck[fcG]("div");c[fcJ]("id","fc-profile-lightbox");b.getContentElement()[fcp](c);var d={id:"fc-profile-lightbox",presentation:"canvas",url:fcf+"/friendconnect/gadgets/members.xml",site:fc6.openSocialSiteId,"view-params":{profileId:a}};fc6.render(d);b.setVisible(fcb)})};fc$[fc].cb=function(a){var b=fcc,c=this.G(a);if(c&&c.secureToken)b=c.secureToken;return b};fc$[fc].bb=function(a){var b=fcc,c=this.G(a);if(c&&c.communityId)b=c.communityId;return b};
var fcbc=function(a){fc6.v&&fcOb(fc6.v,a)},fcec=function(){fc6.signout(fc6.openSocialSiteId)},fcfc=function(){fcSb(fc6.v)},fcgc=function(a,b){fcRb(a,b)},fcZb=function(){this.l={}};fcZb[fc].register=function(){fce.rpc[fcP]("subscribeEventType",fchc);fce.rpc[fcP]("publishEvent",fc_b)};var fchc=function(a){var b=fc9b;b.l[a]=b.l[a]||[];var c=b.l[a];c[c[fcr]]={frameId:this.f}};fcZb[fc].Da=function(a,b,c){var d=this;d.l[b]=d.l[b]||[];var e=d.l[b];e[e[fcr]]={container:a,callback:c}};
var fc_b=function(a){var b=fc9b,c=0;if(this.f)c=fcac(this.f);b.l[a]=b.l[a]||[];for(var d=b.l[a],e=0;e<d[fcr];e++)d[e].container?d[e].callback[fcD](d[e].container,a,c):fce.rpc[fcD](d[e].frameId,a,fcc,a,c)},fc9b=new fcZb,fc6=new fc$;fc6.fa(fc6.Ua);fcU("google.friendconnect.container",fc6);fcU("google.friendconnect.container.refreshGadgets",fc6.X);fcU("google.friendconnect.container.setParentUrl",fc6.K);fcU("google.friendconnect.container.setServerBase",fc6.L);
fcU("google.friendconnect.container.setServerVersion",fc6.Qb);fcU("google.friendconnect.container.createGadget",fc6.D);fcU("google.friendconnect.container.openLightboxIframe",fc6.va);fcU("google.friendconnect.container.renderGadget",fc6.w);fcU("google.friendconnect.container.render",fc6.render);fcU("google.friendconnect.container.goBackToSite",fc6.jb);fcU("google.friendconnect.container.renderMembersGadget",fc6.Db);fcU("google.friendconnect.container.renderReviewGadget",fc6.Fb);
fcU("google.friendconnect.container.renderCommentsGadget",fc6.Y);fcU("google.friendconnect.container.renderSignInGadget",fc6.Gb);fcU("google.friendconnect.container.renderFriendBar",fc6.Cb);fcU("google.friendconnect.container.renderSocialBar",fc6.aa);fcU("google.friendconnect.container.renderCanvasSignInGadget",fc6.Bb);fcU("google.friendconnect.container.renderUrlCanvasGadget",fc6.Hb);fcU("google.friendconnect.container.renderEmbedSignInGadget",fc6.$);
fcU("google.friendconnect.container.renderUrlEmbedGadget",fc6.xa);fcU("google.friendconnect.container.renderEmbedGadget",fc6.Z);fcU("google.friendconnect.container.renderWallGadget",fc6.Ib);fcU("google.friendconnect.container.renderAdsGadget",fc6.Ab);fcU("google.friendconnect.container.renderOpenSocialGadget",fc6.Eb);fcU("google.friendconnect.container.setNoCache",fc6.Aa);fcU("google.friendconnect.container.enableProxy",fc6.ja);fcU("google.friendconnect.container.setDomain",fc6.Nb);
fcU("google.friendconnect.container.setLocale",fc6.Pb);fcU("google.friendconnect.container.loadOpenSocialApi",fc6.qb);fcU("google.friendconnect.container.initOpenSocialApi",fc6.U);fcU("google.friendconnect.container.getOpenSocialApiIframeId",fc6.fb);fcU("google.friendconnect.container.setApiVersion",fc6.Mb);fcU("google.friendconnect.container.getEmbedUrl",fc6.t);fcU("google.friendconnect.container.getEmbedHtml",fc6.s);fcU("google.friendconnect.container.getGadgetSecurityToken",fc6.cb);
fcU("google.friendconnect.container.getGadgetCommunityId",fc6.bb);fcU("google.friendconnect.container.showEmbedDialog",fc6.Tb);fcU("google.friendconnect.container.showMemberProfile",fc6.Ca);fcU("google.friendconnect.requestSignIn",fcbc);fcU("google.friendconnect.requestSignOut",fcec);fcU("google.friendconnect.requestSettings",fcfc);fcU("google.friendconnect.requestInvite",fcgc);fcU("google.friendconnect.renderSignInButton",fccc);fcU("google.friendconnect.container.invokeOpenSocialApiViaIframe",fc6.nb);
fcU("google.friendconnect.container.removeOpenSocialApiViaIframe",fc6.zb);fcU("google.friendconnect.userAgent.WEBKIT",fcbb);fcU("google.friendconnect.userAgent.IE",fcY);fcU("google.friendconnect.PeopleSelectorOnChange",fcdc);
google.friendconnect.container.setServerBase('http://ps.friendconnect.gmodules.com/ps/');google.friendconnect.container.setServerVersion('0.419.1');google.friendconnect.container.setApiVersion('0.8');
google.friendconnect.container.setDomain('http://www.google.com/friendconnect/gadgets/friendbar.xml', 'http://p7rjrrl49ose4gob99eonlvp0drmce3d.friendconnect.gmodules.com/ps/');
google.friendconnect.container.setDomain('http://www.google.com/friendconnect/gadgets/activities.xml', 'http://q8j0igk2u2f6kf7jogh6s66md2d7r154.friendconnect.gmodules.com/ps/');
google.friendconnect.container.setDomain('http://www.google.com/friendconnect/gadgets/members.xml', 'http://r1rk9np7bpcsfoeekl0khkd2juj27q3o.friendconnect.gmodules.com/ps/');
google.friendconnect.container.setDomain('http://www.google.com/friendconnect/gadgets/wall.xml', 'http://o29lt44ell30t7ljcdfr8lq2mjakv2co.friendconnect.gmodules.com/ps/');
google.friendconnect.container.setDomain('http://www.google.com/friendconnect/gadgets/signin.xml', 'http://8fkcem1ves287v3g5lu9gep1j91p3kk1.friendconnect.gmodules.com/ps/');
google.friendconnect.container.setDomain('http://www.google.com/friendconnect/gadgets/osapi-0.8.xml', 'http://mc8tdi0ripmbpds25eboaupdulritrp6.friendconnect.gmodules.com/ps/');
window['__ps_loaded__'] = true;
}google.friendconnect_ = google.friendconnect;

View File

@ -0,0 +1,695 @@
//-- Google Analytics Urchin Module
//-- Copyright 2007 Google, All Rights Reserved.
//-- Urchin On Demand Settings ONLY
var _uacct=""; // set up the Urchin Account
var _userv=1; // service mode (0=local,1=remote,2=both)
//-- UTM User Settings
var _ufsc=1; // set client info flag (1=on|0=off)
var _udn="auto"; // (auto|none|domain) set the domain name for cookies
var _uhash="on"; // (on|off) unique domain hash for cookies
var _utimeout="1800"; // set the inactive session timeout in seconds
var _ugifpath="/__utm.gif"; // set the web path to the __utm.gif file
var _utsp="|"; // transaction field separator
var _uflash=1; // set flash version detect option (1=on|0=off)
var _utitle=1; // set the document title detect option (1=on|0=off)
var _ulink=0; // enable linker functionality (1=on|0=off)
var _uanchor=0; // enable use of anchors for campaign (1=on|0=off)
var _utcp="/"; // the cookie path for tracking
var _usample=100; // The sampling % of visitors to track (1-100).
//-- UTM Campaign Tracking Settings
var _uctm=1; // set campaign tracking module (1=on|0=off)
var _ucto="15768000"; // set timeout in seconds (6 month default)
var _uccn="utm_campaign"; // name
var _ucmd="utm_medium"; // medium (cpc|cpm|link|email|organic)
var _ucsr="utm_source"; // source
var _uctr="utm_term"; // term/keyword
var _ucct="utm_content"; // content
var _ucid="utm_id"; // id number
var _ucno="utm_nooverride"; // don't override
//-- Auto/Organic Sources and Keywords
var _uOsr=new Array();
var _uOkw=new Array();
_uOsr[0]="google"; _uOkw[0]="q";
_uOsr[1]="yahoo"; _uOkw[1]="p";
_uOsr[2]="msn"; _uOkw[2]="q";
_uOsr[3]="aol"; _uOkw[3]="query";
_uOsr[4]="aol"; _uOkw[4]="encquery";
_uOsr[5]="lycos"; _uOkw[5]="query";
_uOsr[6]="ask"; _uOkw[6]="q";
_uOsr[7]="altavista"; _uOkw[7]="q";
_uOsr[8]="netscape"; _uOkw[8]="query";
_uOsr[9]="cnn"; _uOkw[9]="query";
_uOsr[10]="looksmart"; _uOkw[10]="qt";
_uOsr[11]="about"; _uOkw[11]="terms";
_uOsr[12]="mamma"; _uOkw[12]="query";
_uOsr[13]="alltheweb"; _uOkw[13]="q";
_uOsr[14]="gigablast"; _uOkw[14]="q";
_uOsr[15]="voila"; _uOkw[15]="rdata";
_uOsr[16]="virgilio"; _uOkw[16]="qs";
_uOsr[17]="live"; _uOkw[17]="q";
_uOsr[18]="baidu"; _uOkw[18]="wd";
_uOsr[19]="alice"; _uOkw[19]="qs";
_uOsr[20]="yandex"; _uOkw[20]="text";
_uOsr[21]="najdi"; _uOkw[21]="q";
_uOsr[22]="aol"; _uOkw[22]="q";
_uOsr[23]="club-internet"; _uOkw[23]="query";
_uOsr[24]="mama"; _uOkw[24]="query";
_uOsr[25]="seznam"; _uOkw[25]="q";
_uOsr[26]="search"; _uOkw[26]="q";
_uOsr[27]="wp"; _uOkw[27]="szukaj";
_uOsr[28]="onet"; _uOkw[28]="qt";
_uOsr[29]="netsprint"; _uOkw[29]="q";
_uOsr[30]="google.interia"; _uOkw[30]="q";
_uOsr[31]="szukacz"; _uOkw[31]="q";
_uOsr[32]="yam"; _uOkw[32]="k";
_uOsr[33]="pchome"; _uOkw[33]="q";
_uOsr[34]="kvasir"; _uOkw[34]="searchExpr";
_uOsr[35]="sesam"; _uOkw[35]="q";
_uOsr[36]="ozu"; _uOkw[36]="q";
_uOsr[37]="terra"; _uOkw[37]="query";
_uOsr[38]="nostrum"; _uOkw[38]="query";
_uOsr[39]="mynet"; _uOkw[39]="q";
_uOsr[40]="ekolay"; _uOkw[40]="q";
_uOsr[41]="search.ilse"; _uOkw[41]="search_for";
_uOsr[42]="bing"; _uOkw[42]="q";
//-- Auto/Organic Keywords to Ignore
var _uOno=new Array();
//_uOno[0]="urchin";
//_uOno[1]="urchin.com";
//_uOno[2]="www.urchin.com";
//-- Referral domains to Ignore
var _uRno=new Array();
//_uRno[0]=".urchin.com";
//-- **** Don't modify below this point ***
var _uff,_udh,_udt,_ubl=0,_udo="",_uu,_ufns=0,_uns=0,_ur="-",_ufno=0,_ust=0,_ubd=document,_udl=_ubd.location,_udlh="",_uwv="1.3";
var _ugifpath2="http://www.google-analytics.com/__utm.gif";
if (_udl.hash) _udlh=_udl.href.substring(_udl.href.indexOf('#'));
if (_udl.protocol=="https:") _ugifpath2="https://ssl.google-analytics.com/__utm.gif";
if (!_utcp || _utcp=="") _utcp="/";
function urchinTracker(page) {
if (_udl.protocol=="file:") return;
if (_uff && (!page || page=="")) return;
var a,b,c,xx,v,z,k,x="",s="",f=0,nv=0;
var nx=" expires="+_uNx()+";";
var dc=_ubd.cookie;
_udh=_uDomain();
if (!_uVG()) return;
_uu=Math.round(Math.random()*2147483647);
_udt=new Date();
_ust=Math.round(_udt.getTime()/1000);
a=dc.indexOf("__utma="+_udh+".");
b=dc.indexOf("__utmb="+_udh);
c=dc.indexOf("__utmc="+_udh);
if (_udn && _udn!="") { _udo=" domain="+_udn+";"; }
if (_utimeout && _utimeout!="") {
x=new Date(_udt.getTime()+(_utimeout*1000));
x=" expires="+x.toGMTString()+";";
}
if (_ulink) {
if (_uanchor && _udlh && _udlh!="") s=_udlh+"&";
s+=_udl.search;
if(s && s!="" && s.indexOf("__utma=")>=0) {
if (!(_uIN(a=_uGC(s,"__utma=","&")))) a="-";
if (!(_uIN(b=_uGC(s,"__utmb=","&")))) b="-";
if (!(_uIN(c=_uGC(s,"__utmc=","&")))) c="-";
v=_uGC(s,"__utmv=","&");
z=_uGC(s,"__utmz=","&");
k=_uGC(s,"__utmk=","&");
xx=_uGC(s,"__utmx=","&");
if ((k*1) != ((_uHash(a+b+c+xx+z+v)*1)+(_udh*1))) {_ubl=1;a="-";b="-";c="-";xx="-";z="-";v="-";}
if (a!="-" && b!="-" && c!="-") f=1;
else if(a!="-") f=2;
}
}
if(f==1) {
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+b+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+c+"; path="+_utcp+";"+_udo;
} else if (f==2) {
a=_uFixA(s,"&",_ust);
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+_udh+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+_udh+"; path="+_utcp+";"+_udo;
_ufns=1;
} else if (a>=0 && b>=0 && c>=0) {
b = _uGC(dc,"__utmb="+_udh,";");
b = ("-" == b) ? _udh : b;
_ubd.cookie="__utmb="+b+"; path="+_utcp+";"+x+_udo;
} else {
if (a>=0) a=_uFixA(_ubd.cookie,";",_ust);
else {
a=_udh+"."+_uu+"."+_ust+"."+_ust+"."+_ust+".1";
nv=1;
}
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+_udh+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+_udh+"; path="+_utcp+";"+_udo;
_ufns=1;
}
if (_ulink && xx && xx!="" && xx!="-") {
xx=_uUES(xx);
if (xx.indexOf(";")==-1) _ubd.cookie="__utmx="+xx+"; path="+_utcp+";"+nx+_udo;
}
if (_ulink && v && v!="" && v!="-") {
v=_uUES(v);
if (v.indexOf(";")==-1) _ubd.cookie="__utmv="+v+"; path="+_utcp+";"+nx+_udo;
}
var wc=window;
var c=_ubd.cookie;
if(wc && wc.gaGlobal && wc.gaGlobal.dh==_udh){
var g=wc.gaGlobal;
var ua=c.split("__utma="+_udh+".")[1].split(";")[0].split(".");
if(g.sid)ua[3]=g.sid;
if(nv>0){
ua[2]=ua[3];
if(g.vid){
var v=g.vid.split(".");
ua[0]=v[0];
ua[1]=v[1];
}
}
_ubd.cookie="__utma="+_udh+"."+ua.join(".")+"; path="+_utcp+";"+nx+_udo;
}
_uInfo(page);
_ufns=0;
_ufno=0;
if (!page || page=="") _uff=1;
}
function _uGH() {
var hid;
var wc=window;
if (wc && wc.gaGlobal && wc.gaGlobal.hid) {
hid=wc.gaGlobal.hid;
} else {
hid=Math.round(Math.random()*0x7fffffff);
if (!wc.gaGlobal) wc.gaGlobal={};
wc.gaGlobal.hid=hid;
}
return hid;
}
function _uInfo(page) {
var p,s="",dm="",pg=_udl.pathname+_udl.search;
if (page && page!="") pg=_uES(page,1);
_ur=_ubd.referrer;
if (!_ur || _ur=="") { _ur="-"; }
else {
dm=_ubd.domain;
if(_utcp && _utcp!="/") dm+=_utcp;
p=_ur.indexOf(dm);
if ((p>=0) && (p<=8)) { _ur="0"; }
if (_ur.indexOf("[")==0 && _ur.lastIndexOf("]")==(_ur.length-1)) { _ur="-"; }
}
s+="&utmn="+_uu;
if (_ufsc) s+=_uBInfo();
if (_uctm) s+=_uCInfo();
if (_utitle && _ubd.title && _ubd.title!="") s+="&utmdt="+_uES(_ubd.title);
if (_udl.hostname && _udl.hostname!="") s+="&utmhn="+_uES(_udl.hostname);
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
s+="&utmhid="+_uGH();
s+="&utmr="+_ur;
s+="&utmp="+pg;
if ((_userv==0 || _userv==2) && _uSP()) {
var i=new Image(1,1);
i.src=_ugifpath+"?"+"utmwv="+_uwv+s;
i.onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
var i2=new Image(1,1);
i2.src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+_uGCS();
i2.onload=function() { _uVoid(); }
}
return;
}
function _uVoid() { return; }
function _uCInfo() {
if (!_ucto || _ucto=="") { _ucto="15768000"; }
if (!_uVG()) return;
var c="",t="-",t2="-",t3="-",o=0,cs=0,cn=0,i=0,z="-",s="";
if (_uanchor && _udlh && _udlh!="") s=_udlh+"&";
s+=_udl.search;
var x=new Date(_udt.getTime()+(_ucto*1000));
var dc=_ubd.cookie;
x=" expires="+x.toGMTString()+";";
if (_ulink && !_ubl) {
z=_uUES(_uGC(s,"__utmz=","&"));
if (z!="-" && z.indexOf(";")==-1) { _ubd.cookie="__utmz="+z+"; path="+_utcp+";"+x+_udo; return ""; }
}
z=dc.indexOf("__utmz="+_udh+".");
if (z>-1) { z=_uGC(dc,"__utmz="+_udh+".",";"); }
else { z="-"; }
t=_uGC(s,_ucid+"=","&");
t2=_uGC(s,_ucsr+"=","&");
t3=_uGC(s,"gclid=","&");
if ((t!="-" && t!="") || (t2!="-" && t2!="") || (t3!="-" && t3!="")) {
if (t!="-" && t!="") c+="utmcid="+_uEC(t);
if (t2!="-" && t2!="") { if (c != "") c+="|"; c+="utmcsr="+_uEC(t2); }
if (t3!="-" && t3!="") { if (c != "") c+="|"; c+="utmgclid="+_uEC(t3); }
t=_uGC(s,_uccn+"=","&");
if (t!="-" && t!="") c+="|utmccn="+_uEC(t);
else c+="|utmccn=(not+set)";
t=_uGC(s,_ucmd+"=","&");
if (t!="-" && t!="") c+="|utmcmd="+_uEC(t);
else c+="|utmcmd=(not+set)";
t=_uGC(s,_uctr+"=","&");
if (t!="-" && t!="") c+="|utmctr="+_uEC(t);
else { t=_uOrg(1); if (t!="-" && t!="") c+="|utmctr="+_uEC(t); }
t=_uGC(s,_ucct+"=","&");
if (t!="-" && t!="") c+="|utmcct="+_uEC(t);
t=_uGC(s,_ucno+"=","&");
if (t=="1") o=1;
if (z!="-" && o==1) return "";
}
if (c=="-" || c=="") { c=_uOrg(); if (z!="-" && _ufno==1) return ""; }
if (c=="-" || c=="") { if (_ufns==1) c=_uRef(); if (z!="-" && _ufno==1) return ""; }
if (c=="-" || c=="") {
if (z=="-" && _ufns==1) { c="utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)"; }
if (c=="-" || c=="") return "";
}
if (z!="-") {
i=z.indexOf(".");
if (i>-1) i=z.indexOf(".",i+1);
if (i>-1) i=z.indexOf(".",i+1);
if (i>-1) i=z.indexOf(".",i+1);
t=z.substring(i+1,z.length);
if (t.toLowerCase()==c.toLowerCase()) cs=1;
t=z.substring(0,i);
if ((i=t.lastIndexOf(".")) > -1) {
t=t.substring(i+1,t.length);
cn=(t*1);
}
}
if (cs==0 || _ufns==1) {
t=_uGC(dc,"__utma="+_udh+".",";");
if ((i=t.lastIndexOf(".")) > 9) {
_uns=t.substring(i+1,t.length);
_uns=(_uns*1);
}
cn++;
if (_uns==0) _uns=1;
_ubd.cookie="__utmz="+_udh+"."+_ust+"."+_uns+"."+cn+"."+c+"; path="+_utcp+"; "+x+_udo;
}
if (cs==0 || _ufns==1) return "&utmcn=1";
else return "&utmcr=1";
}
function _uRef() {
if (_ur=="0" || _ur=="" || _ur=="-") return "";
var i=0,h,k,n;
if ((i=_ur.indexOf("://"))<0 || _uGCse()) return "";
h=_ur.substring(i+3,_ur.length);
if (h.indexOf("/") > -1) {
k=h.substring(h.indexOf("/"),h.length);
if (k.indexOf("?") > -1) k=k.substring(0,k.indexOf("?"));
h=h.substring(0,h.indexOf("/"));
}
h=h.toLowerCase();
n=h;
if ((i=n.indexOf(":")) > -1) n=n.substring(0,i);
for (var ii=0;ii<_uRno.length;ii++) {
if ((i=n.indexOf(_uRno[ii].toLowerCase())) > -1 && n.length==(i+_uRno[ii].length)) { _ufno=1; break; }
}
if (h.indexOf("www.")==0) h=h.substring(4,h.length);
return "utmccn=(referral)|utmcsr="+_uEC(h)+"|"+"utmcct="+_uEC(k)+"|utmcmd=referral";
}
function _uOrg(t) {
if (_ur=="0" || _ur=="" || _ur=="-") return "";
var i=0,h,k;
if ((i=_ur.indexOf("://"))<0 || _uGCse()) return "";
h=_ur.substring(i+3,_ur.length);
if (h.indexOf("/") > -1) {
h=h.substring(0,h.indexOf("/"));
}
for (var ii=0;ii<_uOsr.length;ii++) {
if (h.toLowerCase().indexOf(_uOsr[ii].toLowerCase()) > -1) {
if ((i=_ur.indexOf("?"+_uOkw[ii]+"=")) > -1 || (i=_ur.indexOf("&"+_uOkw[ii]+"=")) > -1) {
k=_ur.substring(i+_uOkw[ii].length+2,_ur.length);
if ((i=k.indexOf("&")) > -1) k=k.substring(0,i);
for (var yy=0;yy<_uOno.length;yy++) {
if (_uOno[yy].toLowerCase()==k.toLowerCase()) { _ufno=1; break; }
}
if (t) return _uEC(k);
else return "utmccn=(organic)|utmcsr="+_uEC(_uOsr[ii])+"|"+"utmctr="+_uEC(k)+"|utmcmd=organic";
}
}
}
return "";
}
function _uGCse() {
var h,p;
h=p=_ur.split("://")[1];
if(h.indexOf("/")>-1) {
h=h.split("/")[0];
p=p.substring(p.indexOf("/")+1,p.length);
}
if(p.indexOf("?")>-1) {
p=p.split("?")[0];
}
if(h.toLowerCase().indexOf("google")>-1) {
if(_ur.indexOf("?q=")>-1 || _ur.indexOf("&q=")>-1) {
if (p.toLowerCase().indexOf("cse")>-1) {
return true;
}
}
}
}
function _uBInfo() {
var sr="-",sc="-",ul="-",fl="-",cs="-",je=1;
var n=navigator;
if (self.screen) {
sr=screen.width+"x"+screen.height;
sc=screen.colorDepth+"-bit";
} else if (self.java) {
var j=java.awt.Toolkit.getDefaultToolkit();
var s=j.getScreenSize();
sr=s.width+"x"+s.height;
}
if (n.language) { ul=n.language.toLowerCase(); }
else if (n.browserLanguage) { ul=n.browserLanguage.toLowerCase(); }
je=n.javaEnabled()?1:0;
if (_uflash) fl=_uFlash();
if (_ubd.characterSet) cs=_uES(_ubd.characterSet);
else if (_ubd.charset) cs=_uES(_ubd.charset);
return "&utmcs="+cs+"&utmsr="+sr+"&utmsc="+sc+"&utmul="+ul+"&utmje="+je+"&utmfl="+fl;
}
function __utmSetTrans() {
var e;
if (_ubd.getElementById) e=_ubd.getElementById("utmtrans");
else if (_ubd.utmform && _ubd.utmform.utmtrans) e=_ubd.utmform.utmtrans;
if (!e) return;
var l=e.value.split("UTM:");
var i,i2,c;
if (_userv==0 || _userv==2) i=new Array();
if (_userv==1 || _userv==2) { i2=new Array(); c=_uGCS(); }
for (var ii=0;ii<l.length;ii++) {
l[ii]=_uTrim(l[ii]);
if (l[ii].charAt(0)!='T' && l[ii].charAt(0)!='I') continue;
var r=Math.round(Math.random()*2147483647);
if (!_utsp || _utsp=="") _utsp="|";
var f=l[ii].split(_utsp),s="";
if (f[0].charAt(0)=='T') {
s="&utmt=tran"+"&utmn="+r;
f[1]=_uTrim(f[1]); if(f[1]&&f[1]!="") s+="&utmtid="+_uES(f[1]);
f[2]=_uTrim(f[2]); if(f[2]&&f[2]!="") s+="&utmtst="+_uES(f[2]);
f[3]=_uTrim(f[3]); if(f[3]&&f[3]!="") s+="&utmtto="+_uES(f[3]);
f[4]=_uTrim(f[4]); if(f[4]&&f[4]!="") s+="&utmttx="+_uES(f[4]);
f[5]=_uTrim(f[5]); if(f[5]&&f[5]!="") s+="&utmtsp="+_uES(f[5]);
f[6]=_uTrim(f[6]); if(f[6]&&f[6]!="") s+="&utmtci="+_uES(f[6]);
f[7]=_uTrim(f[7]); if(f[7]&&f[7]!="") s+="&utmtrg="+_uES(f[7]);
f[8]=_uTrim(f[8]); if(f[8]&&f[8]!="") s+="&utmtco="+_uES(f[8]);
} else {
s="&utmt=item"+"&utmn="+r;
f[1]=_uTrim(f[1]); if(f[1]&&f[1]!="") s+="&utmtid="+_uES(f[1]);
f[2]=_uTrim(f[2]); if(f[2]&&f[2]!="") s+="&utmipc="+_uES(f[2]);
f[3]=_uTrim(f[3]); if(f[3]&&f[3]!="") s+="&utmipn="+_uES(f[3]);
f[4]=_uTrim(f[4]); if(f[4]&&f[4]!="") s+="&utmiva="+_uES(f[4]);
f[5]=_uTrim(f[5]); if(f[5]&&f[5]!="") s+="&utmipr="+_uES(f[5]);
f[6]=_uTrim(f[6]); if(f[6]&&f[6]!="") s+="&utmiqt="+_uES(f[6]);
}
if (_udl.hostname && _udl.hostname!="") s+="&utmhn="+_uES(_udl.hostname);
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
if ((_userv==0 || _userv==2) && _uSP()) {
i[ii]=new Image(1,1);
i[ii].src=_ugifpath+"?"+"utmwv="+_uwv+s;
i[ii].onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
i2[ii]=new Image(1,1);
i2[ii].src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+c;
i2[ii].onload=function() { _uVoid(); }
}
}
return;
}
function _uFlash() {
var f="-",n=navigator;
if (n.plugins && n.plugins.length) {
for (var ii=0;ii<n.plugins.length;ii++) {
if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {
f=n.plugins[ii].description.split('Shockwave Flash ')[1];
break;
}
}
} else {
var fl;
try {
fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
f = fl.GetVariable("$version");
} catch(e) {}
if (f == "-") {
try {
fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
f = "WIN 6,0,21,0";
fl.AllowScriptAccess = "always";
f = fl.GetVariable("$version");
} catch(e) {}
}
if (f == "-") {
try {
fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
f = fl.GetVariable("$version");
} catch(e) {}
}
if (f != "-") {
f = f.split(" ")[1].split(",");
f = f[0] + "." + f[1] + " r" + f[2];
}
}
return f;
}
function __utmLinkerUrl(l,h) {
var p,k,a="-",b="-",c="-",x="-",z="-",v="-";
var dc=_ubd.cookie;
var iq = l.indexOf("?");
var ih = l.indexOf("#");
var url=l;
if (dc) {
a=_uES(_uGC(dc,"__utma="+_udh+".",";"));
b=_uES(_uGC(dc,"__utmb="+_udh,";"));
c=_uES(_uGC(dc,"__utmc="+_udh,";"));
x=_uES(_uGC(dc,"__utmx="+_udh,";"));
z=_uES(_uGC(dc,"__utmz="+_udh+".",";"));
v=_uES(_uGC(dc,"__utmv="+_udh+".",";"));
k=(_uHash(a+b+c+x+z+v)*1)+(_udh*1);
p="__utma="+a+"&__utmb="+b+"&__utmc="+c+"&__utmx="+x+"&__utmz="+z+"&__utmv="+v+"&__utmk="+k;
}
if (p) {
if (h && ih>-1) return;
if (h) { url=l+"#"+p; }
else {
if (iq==-1 && ih==-1) url=l+"?"+p;
else if (ih==-1) url=l+"&"+p;
else if (iq==-1) url=l.substring(0,ih-1)+"?"+p+l.substring(ih);
else url=l.substring(0,ih-1)+"&"+p+l.substring(ih);
}
}
return url;
}
function __utmLinker(l,h) {
if (!_ulink || !l || l=="") return;
_udl.href=__utmLinkerUrl(l,h);
}
function __utmLinkPost(f,h) {
if (!_ulink || !f || !f.action) return;
f.action=__utmLinkerUrl(f.action, h);
return;
}
function __utmSetVar(v) {
if (!v || v=="") return;
if (!_udo || _udo == "") {
_udh=_uDomain();
if (_udn && _udn!="") { _udo=" domain="+_udn+";"; }
}
if (!_uVG()) return;
var r=Math.round(Math.random() * 2147483647);
_ubd.cookie="__utmv="+_udh+"."+_uES(v)+"; path="+_utcp+"; expires="+_uNx()+";"+_udo;
var s="&utmt=var&utmn="+r;
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
if ((_userv==0 || _userv==2) && _uSP()) {
var i=new Image(1,1);
i.src=_ugifpath+"?"+"utmwv="+_uwv+s;
i.onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
var i2=new Image(1,1);
i2.src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+_uGCS();
i2.onload=function() { _uVoid(); }
}
}
function _uGCS() {
var t,c="",dc=_ubd.cookie;
if ((t=_uGC(dc,"__utma="+_udh+".",";"))!="-") c+=_uES("__utma="+t+";+");
if ((t=_uGC(dc,"__utmx="+_udh,";"))!="-") c+=_uES("__utmx="+t+";+");
if ((t=_uGC(dc,"__utmz="+_udh+".",";"))!="-") c+=_uES("__utmz="+t+";+");
if ((t=_uGC(dc,"__utmv="+_udh+".",";"))!="-") c+=_uES("__utmv="+t+";");
if (c.charAt(c.length-1)=="+") c=c.substring(0,c.length-1);
return c;
}
function _uGC(l,n,s) {
if (!l || l=="" || !n || n=="" || !s || s=="") return "-";
var i,i2,i3,c="-";
i=l.indexOf(n);
i3=n.indexOf("=")+1;
if (i > -1) {
i2=l.indexOf(s,i); if (i2 < 0) { i2=l.length; }
c=l.substring((i+i3),i2);
}
return c;
}
function _uDomain() {
if (!_udn || _udn=="" || _udn=="none") { _udn=""; return 1; }
if (_udn=="auto") {
var d=_ubd.domain;
if (d.substring(0,4)=="www.") {
d=d.substring(4,d.length);
}
_udn=d;
}
_udn = _udn.toLowerCase();
if (_uhash=="off") return 1;
return _uHash(_udn);
}
function _uHash(d) {
if (!d || d=="") return 1;
var h=0,g=0;
for (var i=d.length-1;i>=0;i--) {
var c=parseInt(d.charCodeAt(i));
h=((h << 6) & 0xfffffff) + c + (c << 14);
if ((g=h & 0xfe00000)!=0) h=(h ^ (g >> 21));
}
return h;
}
function _uFixA(c,s,t) {
if (!c || c=="" || !s || s=="" || !t || t=="") return "-";
var a=_uGC(c,"__utma="+_udh+".",s);
var lt=0,i=0;
if ((i=a.lastIndexOf(".")) > 9) {
_uns=a.substring(i+1,a.length);
_uns=(_uns*1)+1;
a=a.substring(0,i);
if ((i=a.lastIndexOf(".")) > 7) {
lt=a.substring(i+1,a.length);
a=a.substring(0,i);
}
if ((i=a.lastIndexOf(".")) > 5) {
a=a.substring(0,i);
}
a+="."+lt+"."+t+"."+_uns;
}
return a;
}
function _uTrim(s) {
if (!s || s=="") return "";
while ((s.charAt(0)==' ') || (s.charAt(0)=='\n') || (s.charAt(0,1)=='\r')) s=s.substring(1,s.length);
while ((s.charAt(s.length-1)==' ') || (s.charAt(s.length-1)=='\n') || (s.charAt(s.length-1)=='\r')) s=s.substring(0,s.length-1);
return s;
}
function _uEC(s) {
var n="";
if (!s || s=="") return "";
for (var i=0;i<s.length;i++) {if (s.charAt(i)==" ") n+="+"; else n+=s.charAt(i);}
return n;
}
function __utmVisitorCode(f) {
var r=0,t=0,i=0,i2=0,m=31;
var a=_uGC(_ubd.cookie,"__utma="+_udh+".",";");
if ((i=a.indexOf(".",0))<0) return;
if ((i2=a.indexOf(".",i+1))>0) r=a.substring(i+1,i2); else return "";
if ((i=a.indexOf(".",i2+1))>0) t=a.substring(i2+1,i); else return "";
if (f) {
return r;
} else {
var c=new Array('A','B','C','D','E','F','G','H','J','K','L','M','N','P','R','S','T','U','V','W','X','Y','Z','1','2','3','4','5','6','7','8','9');
return c[r>>28&m]+c[r>>23&m]+c[r>>18&m]+c[r>>13&m]+"-"+c[r>>8&m]+c[r>>3&m]+c[((r&7)<<2)+(t>>30&3)]+c[t>>25&m]+c[t>>20&m]+"-"+c[t>>15&m]+c[t>>10&m]+c[t>>5&m]+c[t&m];
}
}
function _uIN(n) {
if (!n) return false;
for (var i=0;i<n.length;i++) {
var c=n.charAt(i);
if ((c<"0" || c>"9") && (c!=".")) return false;
}
return true;
}
function _uES(s,u) {
if (typeof(encodeURIComponent) == 'function') {
if (u) return encodeURI(s);
else return encodeURIComponent(s);
} else {
return escape(s);
}
}
function _uUES(s) {
if (typeof(decodeURIComponent) == 'function') {
return decodeURIComponent(s);
} else {
return unescape(s);
}
}
function _uVG() {
if((_udn.indexOf("www.google.") == 0 || _udn.indexOf(".google.") == 0 || _udn.indexOf("google.") == 0) && _utcp=='/' && _udn.indexOf("google.org")==-1) {
return false;
}
return true;
}
function _uSP() {
var s=100;
if (_usample) s=_usample;
if(s>=100 || s<=0) return true;
return ((__utmVisitorCode(1)%10000)<(s*100));
}
function urchinPathCopy(p){
var d=document,nx,tx,sx,i,c,cs,t,h,o;
cs=new Array("a","b","c","v","x","z");
h=_uDomain(); if (_udn && _udn!="") o=" domain="+_udn+";";
nx=_uNx()+";";
tx=new Date(); tx.setTime(tx.getTime()+(_utimeout*1000));
tx=tx.toGMTString()+";";
sx=new Date(); sx.setTime(sx.getTime()+(_ucto*1000));
sx=sx.toGMTString()+";";
for (i=0;i<6;i++){
t=" expires=";
if (i==1) t+=tx; else if (i==2) t=""; else if (i==5) t+=sx; else t+=nx;
c=_uGC(d.cookie,"__utm"+cs[i]+"="+h,";");
if (c!="-") d.cookie="__utm"+cs[i]+"="+c+"; path="+p+";"+t+o;
}
}
function _uCO() {
if (!_utk || _utk=="" || _utk.length<10) return;
var d='www.google.com';
if (_utk.charAt(0)=='!') d='analytics.corp.google.com';
_ubd.cookie="GASO="+_utk+"; path="+_utcp+";"+_udo;
var sc=document.createElement('script');
sc.type='text/javascript';
sc.id="_gasojs";
sc.src='https://'+d+'/analytics/reporting/overlay_js?gaso='+_utk+'&'+Math.random();
document.getElementsByTagName('head')[0].appendChild(sc);
}
function _uGT() {
var h=location.hash, a;
if (h && h!="" && h.indexOf("#gaso=")==0) {
a=_uGC(h,"gaso=","&");
} else {
a=_uGC(_ubd.cookie,"GASO=",";");
}
return a;
}
var _utk=_uGT();
if (_utk && _utk!="" && _utk.length>10 && _utk.indexOf("=")==-1) {
if (window.addEventListener) {
window.addEventListener('load', _uCO, false);
} else if (window.attachEvent) {
window.attachEvent('onload', _uCO);
}
}
function _uNx() {
return (new Date((new Date()).getTime()+63072000000)).toGMTString();
}

View File

@ -0,0 +1,167 @@
/** google.feeds.FeedControl classes
* - very similar to .gsc-XXX from ajax search
*/
.gfc-resultsHeader {
width: 100%;
border-bottom: 1px solid #e9e9e9;
margin-bottom : 4px;
}
.gfc-resultsHeader .gfc-title{
color: #676767;
display: inline;
}
.gfc-tabsArea {
margin-top: 6px;
}
.gfc-tabsAreaInvisible {
display : none;
}
.gfc-tabHeader {
display: inline;
cursor: pointer;
padding-left: 6px;
padding-right: 6px;
margin-right: 2px;
}
.gfc-tabHeader.gfc-tabhActive {
border-left: 1px solid #e9e9e9;
border-right: 1px solid #e9e9e9;
border-top: 2px solid #ff9900;
color: black;
}
.gfc-tabHeader.gfc-tabhInactive {
border-left: 1px solid #e9e9e9;
border-right: 1px solid #e9e9e9;
border-top: 2px solid #e9e9e9;
background: #e9e9e9;
color: #676767;
}
.gfc-tabData.gfc-tabdActive {
display: block;
}
.gfc-tabData.gfc-tabdInactive {
display: none;
}
/* tab specific results header supression */
.gfc-tabData .gfc-resultsHeader .gfc-title {
display: none;
}
/* the results for each section
* .gfc-resultsbox-{visible,invisible} : a complete-collection of results including headers
* .gfc-results : the collection of results for a given feed
* .gfc-result : a generic result within the control
*/
.gfc-resultsbox-visible {
display : block;
}
.gfc-resultsbox-invisible {
display : none;
}
.gfc-results {
padding-bottom: .2em;
}
.gfc-result {
margin-bottom: .5em;
}
.gfc-result .gf-title {
height: 1.4em;
overflow: hidden;
}
.gf-result .gf-author,
.gf-result .gf-spacer,
.gf-result .gf-relativePublishedDate {
color: #6f6f6f;
display : inline;
}
.gf-result .gf-spacer {
margin-right : 3px;
margin-left : 3px;
}
/**
* undo common generic table rules
* that tend to impact branding
*/
table.gf-branding td,
table.gf-branding {
margin: 0 0 0 0;
padding: 0 0 0 0;
border : none;
}
table.gf-branding {
border-style : none;
border-width : 0px;
border-spacing : 0px 0px;
width : 100%;
}
td.gf-branding-text {
vertical-align : top;
}
td.gf-branding-text div.gf-branding-text {
padding-bottom : 2px;
text-align : right;
color : #676767;
font-size : 11px;
margin-right : 2px;
}
td.gf-branding-img-noclear {
width : 51px;
vertical-align : bottom;
}
td.gf-branding-img {
width : 65px;
vertical-align : bottom;
}
table.gf-branding-vertical td.gf-branding-text div.gf-branding-text {
margin-right : 0px;
text-align : center;
}
table.gf-branding-vertical td.gf-branding-img-noclear {
text-align : center;
}
div.gf-branding-img,
div.gf-branding-img-noclear,
img.gf-branding-img,
img.gf-branding-img-noclear {
padding-top : 1px;
}
img.gf-branding-img,
img.gf-branding-img-noclear {
margin : 0 0 0 0;
padding-right : 0;
padding-left : 0;
padding-bottom : 0;
border : none;
display : inline;
}
a.gf-branding-clickable {
cursor : pointer;
}

View File

@ -0,0 +1,129 @@
(function() {
var _UDS_CONST_LOCALE = 'en';
var _UDS_CONST_SHORT_DATE_PATTERN = 'MDY';
var _UDS_MSG_SEARCHER_IMAGE = ('Image');
var _UDS_MSG_SEARCHER_WEB = ('Web');
var _UDS_MSG_SEARCHER_BLOG = ('Blog');
var _UDS_MSG_SEARCHER_VIDEO = ('Video');
var _UDS_MSG_SEARCHER_LOCAL = ('Local');
var _UDS_MSG_SEARCHCONTROL_SAVE = ('save');
var _UDS_MSG_SEARCHCONTROL_KEEP = ('keep');
var _UDS_MSG_SEARCHCONTROL_INCLUDE = ('include');
var _UDS_MSG_SEARCHCONTROL_COPY = ('copy');
var _UDS_MSG_SEARCHCONTROL_CLOSE = ('close');
var _UDS_MSG_SEARCHCONTROL_SPONSORED_LINKS = ('Sponsored Links');
var _UDS_MSG_SEARCHCONTROL_SEE_MORE = ('see more...');
var _UDS_MSG_SEARCHCONTROL_WATERMARK = ('clipped from Google');
var _UDS_MSG_SEARCHER_CONFIG_SET_LOCATION = ('Search location');
var _UDS_MSG_SEARCHER_CONFIG_DISABLE_ADDRESS_LOOKUP = ('Disable address lookup');
var _UDS_MSG_SEARCHER_NEWS = ('News');
function _UDS_MSG_MINUTES_AGO(AGE_MINUTES_AGO) {return ('' + AGE_MINUTES_AGO + ' minutes ago');}
var _UDS_MSG_ONE_HOUR_AGO = ('1 hour ago');
function _UDS_MSG_HOURS_AGO(AGE_HOURS_AGO) {return ('' + AGE_HOURS_AGO + ' hours ago');}
function _UDS_MSG_NEWS_ALL_N_RELATED(NUMBER) {return ('all ' + NUMBER + ' related');}
var _UDS_MSG_NEWS_RELATED = ('Related Articles');
var _UDS_MSG_BRANDING_STRING = ('powered by Google');
var _UDS_MSG_SORT_BY_DATE = ('Sort by date');
var _UDS_MSG_MONTH_ABBR_JAN = ('Jan');
var _UDS_MSG_MONTH_ABBR_FEB = ('Feb');
var _UDS_MSG_MONTH_ABBR_MAR = ('Mar');
var _UDS_MSG_MONTH_ABBR_APR = ('Apr');
var _UDS_MSG_MONTH_ABBR_MAY = ('May');
var _UDS_MSG_MONTH_ABBR_JUN = ('Jun');
var _UDS_MSG_MONTH_ABBR_JUL = ('Jul');
var _UDS_MSG_MONTH_ABBR_AUG = ('Aug');
var _UDS_MSG_MONTH_ABBR_SEP = ('Sep');
var _UDS_MSG_MONTH_ABBR_OCT = ('Oct');
var _UDS_MSG_MONTH_ABBR_NOV = ('Nov');
var _UDS_MSG_MONTH_ABBR_DEC = ('Dec');
var _UDS_MSG_DIRECTIONS = ('directions');
var _UDS_MSG_CLEAR_RESULTS = ('clear results');
var _UDS_MSG_SHOW_ONE_RESULT = ('show one result');
var _UDS_MSG_SHOW_MORE_RESULTS = ('show more results');
var _UDS_MSG_SHOW_ALL_RESULTS = ('show all results');
var _UDS_MSG_SETTINGS = ('settings');
var _UDS_MSG_SEARCH = ('search');
var _UDS_MSG_SEARCH_UC = ('Search');
var _UDS_MSG_POWERED_BY = ('powered by');
function _UDS_MSG_LOCAL_ATTRIBUTION(LOCAL_RESULTS_PROVIDER) {return ('Business listings provided by ' + LOCAL_RESULTS_PROVIDER + '');}
var _UDS_MSG_SEARCHER_BOOK = ('Book');
function _UDS_MSG_FOUND_ON_PAGE(FOUND_ON_PAGE) {return ('Page ' + FOUND_ON_PAGE + '');}
function _UDS_MSG_TOTAL_PAGE_COUNT(PAGE_COUNT) {return ('' + PAGE_COUNT + ' pages');}
var _UDS_MSG_SEARCHER_BY = ('by');
var _UDS_MSG_SEARCHER_CODE = ('Code');
var _UDS_MSG_UNKNOWN_LICENSE = ('Unknown License');
var _UDS_MSG_SEARCHER_GSA = ('Search Appliance');
var _UDS_MSG_SEARCHCONTROL_MORERESULTS = ('More results');
var _UDS_MSG_SEARCHCONTROL_PREVIOUS = ('Previous');
var _UDS_MSG_SEARCHCONTROL_NEXT = ('Next');
var _UDS_MSG_GET_DIRECTIONS = ('Get directions');
var _UDS_MSG_GET_DIRECTIONS_TO_HERE = ('To here');
var _UDS_MSG_GET_DIRECTIONS_FROM_HERE = ('From here');
var _UDS_MSG_CLEAR_RESULTS_UC = ('Clear results');
var _UDS_MSG_SEARCH_THE_MAP = ('search the map');
var _UDS_MSG_SCROLL_THROUGH_RESULTS = ('scroll through results');
var _UDS_MSG_EDIT_TAGS = ('edit tags');
var _UDS_MSG_TAG_THIS_SEARCH = ('tag this search');
var _UDS_MSG_SEARCH_STRING = ('search string');
var _UDS_MSG_OPTIONAL_LABEL = ('optional label');
var _UDS_MSG_DELETE = ('delete');
var _UDS_MSG_DELETED = ('deleted');
var _UDS_MSG_CANCEL = ('cancel');
var _UDS_MSG_UPLOAD_YOUR_VIDEOS = ('upload your own video');
var _UDS_MSG_IM_DONE_WATCHING = ('i\047m done watching this');
var _UDS_MSG_CLOSE_VIDEO_PLAYER = ('close video player');
var _UDS_MSG_NO_RESULTS = ('No Results');
var _UDS_MSG_LINKEDCSE_ERROR_RESULTS = ('This Custom Search Engine is loading. Try again in a few seconds.');
var _UDS_MSG_COUPONS = ('Coupons');
var _UDS_MSG_BACK = ('back');
var _UDS_MSG_SUBSCRIBE = ('Subscribe');
var _UDS_MSG_SEARCHER_PATENT = ('Patent');
var _UDS_MSG_USPAT = ('US Pat.');
var _UDS_MSG_USPAT_APP = ('US Pat. App');
var _UDS_MSG_PATENT_FILED = ('Filed');
var _UDS_MSG_ADS_BY_GOOGLE = ('Ads by Google');
var _UDS_MSG_SET_DEFAULT_LOCATION = ('Set default location');
var _UDS_MSG_NEWSCAT_TOPSTORIES = ('Top Stories');
var _UDS_MSG_NEWSCAT_WORLD = ('World');
var _UDS_MSG_NEWSCAT_NATION = ('Nation');
var _UDS_MSG_NEWSCAT_BUSINESS = ('Business');
var _UDS_MSG_NEWSCAT_SCITECH = ('Sci/Tech');
var _UDS_MSG_NEWSCAT_ENTERTAINMENT = ('Entertainment');
var _UDS_MSG_NEWSCAT_HEALTH = ('Health');
var _UDS_MSG_NEWSCAT_SPORTS = ('Sports');
var _UDS_MSG_NEWSCAT_POLITICS = ('Politics');
var b=true,c=null,f=false,i=encodeURIComponent,k=google_exportSymbol,m=window,n=google,o=navigator,p=document;function q(a,e){return a.className=e}var r="appendChild",s="push",t="length",v="prototype",w="className",A="status",B="createElement",E="loader",F="feeds",K="ServiceBase",L="CurrentLocale",M="getElementsByTagNameNS",N={};N.blank="&nbsp;";N.image=_UDS_MSG_SEARCHER_IMAGE;N.web=_UDS_MSG_SEARCHER_WEB;N.blog=_UDS_MSG_SEARCHER_BLOG;N.video=_UDS_MSG_SEARCHER_VIDEO;N.local=_UDS_MSG_SEARCHER_LOCAL;
N.news=_UDS_MSG_SEARCHER_NEWS;N.book=_UDS_MSG_SEARCHER_BOOK;N.patent="Patent";N["ads-by-google"]=_UDS_MSG_ADS_BY_GOOGLE;N.cse="Custom Search Control";N.save=_UDS_MSG_SEARCHCONTROL_SAVE;N.keep=_UDS_MSG_SEARCHCONTROL_KEEP;N.include=_UDS_MSG_SEARCHCONTROL_INCLUDE;N.copy=_UDS_MSG_SEARCHCONTROL_COPY;N.close=_UDS_MSG_SEARCHCONTROL_CLOSE;N["sponsored-links"]=_UDS_MSG_SEARCHCONTROL_SPONSORED_LINKS;N["see-more"]=_UDS_MSG_SEARCHCONTROL_SEE_MORE;N.watermark=_UDS_MSG_SEARCHCONTROL_WATERMARK;
N["search-location"]=_UDS_MSG_SEARCHER_CONFIG_SET_LOCATION;N["disable-address-lookup"]=_UDS_MSG_SEARCHER_CONFIG_DISABLE_ADDRESS_LOOKUP;N["sort-by-date"]=_UDS_MSG_SORT_BY_DATE;N.pbg=_UDS_MSG_BRANDING_STRING;N["n-minutes-ago"]=_UDS_MSG_MINUTES_AGO;N["n-hours-ago"]=_UDS_MSG_HOURS_AGO;N["one-hour-ago"]=_UDS_MSG_ONE_HOUR_AGO;N["all-n-related"]=_UDS_MSG_NEWS_ALL_N_RELATED;N["related-articles"]=_UDS_MSG_NEWS_RELATED;N["page-count"]=_UDS_MSG_TOTAL_PAGE_COUNT;var O=[];O[0]=_UDS_MSG_MONTH_ABBR_JAN;O[1]=_UDS_MSG_MONTH_ABBR_FEB;
O[2]=_UDS_MSG_MONTH_ABBR_MAR;O[3]=_UDS_MSG_MONTH_ABBR_APR;O[4]=_UDS_MSG_MONTH_ABBR_MAY;O[5]=_UDS_MSG_MONTH_ABBR_JUN;O[6]=_UDS_MSG_MONTH_ABBR_JUL;O[7]=_UDS_MSG_MONTH_ABBR_AUG;O[8]=_UDS_MSG_MONTH_ABBR_SEP;O[9]=_UDS_MSG_MONTH_ABBR_OCT;O[10]=_UDS_MSG_MONTH_ABBR_NOV;O[11]=_UDS_MSG_MONTH_ABBR_DEC;N["month-abbr"]=O;N.directions=_UDS_MSG_DIRECTIONS;N["clear-results"]=_UDS_MSG_CLEAR_RESULTS;N["show-one-result"]=_UDS_MSG_SHOW_ONE_RESULT;N["show-more-results"]=_UDS_MSG_SHOW_MORE_RESULTS;
N["show-all-results"]=_UDS_MSG_SHOW_ALL_RESULTS;N.settings=_UDS_MSG_SETTINGS;N.search=_UDS_MSG_SEARCH;N["search-uc"]=_UDS_MSG_SEARCH_UC;N["powered-by"]=_UDS_MSG_POWERED_BY;N.sa=_UDS_MSG_SEARCHER_GSA;N.by=_UDS_MSG_SEARCHER_BY;N.code=_UDS_MSG_SEARCHER_CODE;N["unknown-license"]=_UDS_MSG_UNKNOWN_LICENSE;N["more-results"]=_UDS_MSG_SEARCHCONTROL_MORERESULTS;N.previous=_UDS_MSG_SEARCHCONTROL_PREVIOUS;N.next=_UDS_MSG_SEARCHCONTROL_NEXT;N["get-directions"]=_UDS_MSG_GET_DIRECTIONS;N["to-here"]=_UDS_MSG_GET_DIRECTIONS_TO_HERE;
N["from-here"]=_UDS_MSG_GET_DIRECTIONS_FROM_HERE;N["clear-results-uc"]=_UDS_MSG_CLEAR_RESULTS_UC;N["search-the-map"]=_UDS_MSG_SEARCH_THE_MAP;N["scroll-results"]=_UDS_MSG_SCROLL_THROUGH_RESULTS;N["edit-tags"]=_UDS_MSG_EDIT_TAGS;N["tag-search"]=_UDS_MSG_TAG_THIS_SEARCH;N["search-string"]=_UDS_MSG_SEARCH_STRING;N["optional-label"]=_UDS_MSG_OPTIONAL_LABEL;N["delete"]=_UDS_MSG_DELETE;N.deleted=_UDS_MSG_DELETED;N.cancel=_UDS_MSG_CANCEL;N["upload-video"]=_UDS_MSG_UPLOAD_YOUR_VIDEOS;N["im-done"]=_UDS_MSG_IM_DONE_WATCHING;
N["close-player"]=_UDS_MSG_CLOSE_VIDEO_PLAYER;N["no-results"]=_UDS_MSG_NO_RESULTS;N["linked-cse-error-results"]=_UDS_MSG_LINKEDCSE_ERROR_RESULTS;N.back=_UDS_MSG_BACK;N.subscribe=_UDS_MSG_SUBSCRIBE;N["us-pat"]="US Pat.";N["us-pat-app"]="US Pat. App";N["us-pat-filed"]="Filed";var _json_cache_defeater_=(new Date).getTime(),_json_request_require_prep=b;function P(a,e){if(Q("msie")&&aa("msie 6.0")){var d=ba(this,ha,[a,e]);m.setTimeout(d,0)}else ha(a,e)}
function ha(a,e){var d=p.getElementsByTagName("head")[0];d||(d=p.body.parentNode[r](p[B]("head")));var g=p[B]("script");g.type="text/javascript";g.charset="utf-8";var h=_json_request_require_prep?a+"&key="+n[E].ApiKey+"&v="+e:a;if(Q("msie")||Q("safari")||Q("konqueror"))h=h+"&nocache="+_json_cache_defeater_++;g.src=h;var j=function(){g.onload=c;g.parentNode.removeChild(g);delete g},l=function(y){var u,z=y?y:m.event;u=z.target?z.target:z.srcElement;if(u.readyState=="loaded"||u.readyState=="complete"){u.onreadystatechange=
c;j()}};if(o.product=="Gecko")g.onload=j;else g.onreadystatechange=l;d[r](g)}function ia(a,e){return function(){return e.apply(a,arguments)}}function ba(a,e,d){return function(){return e.apply(a,d)}}function R(a){for(;a.firstChild;)a.removeChild(a.firstChild)}function S(a,e){try{a[r](e)}catch(d){}return e}function T(a,e){var d=p[B]("div");if(a)d.innerHTML=a;if(e)q(d,e);return d}function U(a){var e=p[B]("div");if(a)q(e,a);return e}
function ja(a,e,d){var g=a.insertRow(-1);g||alert(g);for(var h=0;h<e;h++)V(g,d);return g}function V(a,e){var d=a.insertCell(-1);if(e)q(d,e);return d}function ka(a,e){q(a,e)}function W(a,e){var d;a:if(a==c||a[w]==c)d=f;else{for(var g=a[w].split(" "),h=0;h<g[t];h++)if(g[h]==e){d=b;break a}d=f}d||(a.className+=" "+e)}function Y(a,e){if(!(a[w]==c)){for(var d=a[w].split(" "),g=[],h=f,j=0;j<d[t];j++)if(d[j]!=e)d[j]&&g[s](d[j]);else h=b;if(h)q(a,g.join(" "))}}
function Q(a){if(a in la)return la[a];return la[a]=o.userAgent.toLowerCase().indexOf(a)!=-1}function aa(a){if(a in ma)return ma[a];return ma[a]=o.appVersion.toLowerCase().indexOf(a)!=-1}var la={},ma={},na,oa,pa,qa,ra,va,wa;if(m.va){na=b;if(m.XMLHttpRequest)oa=b;else pa=b}else if(m.opera)qa=b;else if(p.childNodes&&!p.all&&!o.taintEnabled){ra=b;if(o.userAgent.indexOf("iPhone")>0)va=b}else if(p.getBoxObjectFor!=c)wa=b;
function xa(a){this.G=a+"branding";this.w=a+"branding-vertical";this.wa=a+"branding-img";this.ya=a+"branding-user-defined";this.Q=a+"branding-img-noclear";this.ea=a+"branding-clickable";this.text=a+"branding-text"}var ya={"zh-CN":{month:" \u6708 ",year:" \u5e74 ",day:" \u65e5 "},"zh-TW":{month:" \u6708 ",year:" \u5e74 ",day:" \u65e5 "},ja:{month:"\u6708",year:"\u5e74",day:"\u65e5"},ko:{month:" \uc6d4 ",year:" \ub144 ",day:" \uc77c "}};
function za(a,e,d){var g=(new Date).getTime(),h=a.getTime(),j;if(g<h)return N["n-minutes-ago"](2);var l=g-h;if(l<3600000){var y=Math.floor(l/60000);j=y<=1?2:y;return N["n-minutes-ago"](j)}if(l<86400000){var u=Math.floor(l/3600000);if(u<=1)return N["one-hour-ago"];else{j=u;return N["n-hours-ago"](j)}}var z,C,D=a.getFullYear(),G=a.getMonth(),H=N["month-abbr"][G],x=a.getDate();if(x<10)x="0"+x;switch(e){case "MDY":C=H+" "+x+", "+D;break;case "YMD":if(d&&(d=="zh-CN"||d=="zh-TW"||d=="ja"||d=="ko")){var I=
ya[d];C=D+I.year+(G+1)+I.month+x+I.day}else C=D+" "+H+" "+x;break;default:case "DMY":C=x+" "+H+" "+D;break}return z=C};if(!Z)var Z=k;if(!$)var $=google_exportProperty;n[F].aa="_top";Z("google.feeds.LINK_TARGET_TOP",n[F].aa);n[F].L="_self";Z("google.feeds.LINK_TARGET_SELF",n[F].L);n[F].$="_parent";Z("google.feeds.LINK_TARGET_PARENT",n[F].$);n[F].Z="_blank";Z("google.feeds.LINK_TARGET_BLANK",n[F].Z);n[F].a=function(a){this.O=a;this.V=n[F].a.K;this.n=n[F].a.t;this.S=f};Z("google.feeds.Feed",n[F].a);n[F].a.ca=-1;$(n[F].a,"MAX_ENTRIES",n[F].a.ca);n[F].a.K=4;$(n[F].a,"DEFAULT_NUM_ENTRIES",n[F].a.K);n[F].a.F="xml";
$(n[F].a,"XML_FORMAT",n[F].a.F);n[F].a.t="json";$(n[F].a,"JSON_FORMAT",n[F].a.t);n[F].a.C="json_xml";$(n[F].a,"MIXED_FORMAT",n[F].a.C);n[F].a.p=[];n[F].a.s=function(a,e){var d=f,g=c;if(a[t])for(var h=0;h<a[t];h++)if(a[h]==c){a[h]=e;g=h;d=b;break}if(!d){g=a[t];a[s](e)}return g};$(n[F].a,"AllocateCompletionMapContext",n[F].a.s);n[F].a.D=function(a,e,d,g,h){var j=0;if(a)j=parseInt(a,10);var l=n[F].a.p[j];n[F].a.p[j]=c;l.I(e,d,g,h)};$(n[F].a,"RawCompletion",n[F].a.D);
n[F].a[v].load=function(a){var e=new n[F].j;e.h=a;e.n=this.n;var d=this.pa("google.feeds.Feed.RawCompletion",n[F].a.s(n[F].a.p,e));P(d,n[F].Version)};$(n[F].a[v],"load",n[F].a[v].load);n[F].a[v].pa=function(a,e){var d=n[E][K]+"/Gfeeds?callback="+a+"&context="+e+"&num="+this.V+"&hl="+n[F][L]+"&output="+this.n;if(this.O)d+="&q="+i(this.O);if(this.S)d+="&scoring=h";return d};n[F].a[v].q=function(a){this.V=a};$(n[F].a[v],"setNumEntries",n[F].a[v].q);
n[F].a[v].ta=function(a){switch(a){case n[F].a.F:case n[F].a.C:case n[F].a.t:this.n=a;break;default:this.n=n[F].a.t;break}};$(n[F].a[v],"setResultFormat",n[F].a[v].ta);n[F].a[v].R=function(){this.S=b};$(n[F].a[v],"includeHistoricalEntries",n[F].a[v].R);n[F].j=function(){};Z("google.feeds.Result",n[F].j);
n[F].j[v].I=function(a,e,d){this.status={code:e};if(d)this[A].message=d;if(e!=200){this.error=this[A];switch(this.n){case n[F].a.F:this.xmlDocument=c;break;case n[F].a.C:this.xmlDocument=c;default:this.feed={};this.feed.entries=[];break}}else{if(a.feed)this.feed=a.feed;a.xmlString&&this.ma(a.xmlString)}this.h&&this.h(this)};
n[F].j[v].ma=function(a){if(!(a==c)){var e;if(typeof DOMParser!="undefined")e=(new DOMParser).parseFromString(a,"application/xml");else if(typeof ActiveXObject!="undefined"){var d=new ActiveXObject("Microsoft.XMLDOM");d.loadXML(a);e=d}else{var g="data:text/xml;charset=utf-8,"+i(a),h=new XMLHttpRequest;h.open("GET",g,f);h.send(c);e=h.responseXML}this.xmlDocument=e;this.ka()}};
n[F].j[v].ka=function(){if(!(this.xmlDocument==c||this.feed==c)){var a=n[F].j.X(this.feed.type);if(!(a==c)){var e=this.xmlDocument;if(a.e){var d=n[F][M](this.xmlDocument,a.l,a.e);if(d==c||d[t]==0)return;e=d[0]}var g=n[F][M](e,a.l,a.k);if(!(g==c||g[t]==0))if(!(g[t]!=this.feed.entries[t]))for(var h=0;h<g[t];h++)this.feed.entries[h].xmlNode=g[h]}}};
n[F].j.X=function(a){var e=c;switch(a){case "rss":case "rss091":case "rss091u":case "rss091n":case "rss092":case "rss093":case "rss094":case "rss20":e={e:"channel",k:"item",l:""};break;case "rss090":e={e:"",k:"item",l:"http://my.netscape.com/rdf/simple/0.9/"};break;case "rss10":e={e:"",k:"item",l:"http://purl.org/rss/1.0/"};break;case "atom03":e={e:"feed",k:"entry",l:"http://purl.org/atom/ns#"};break;case "atom":case "atom10":e={e:"feed",k:"entry",l:"http://www.w3.org/2005/Atom"};break}return e};
n[F].M=1;Z("google.feeds.VERTICAL_BRANDING",n[F].M);n[F].Y=2;Z("google.feeds.HORIZONTAL_BRANDING",n[F].Y);
n[F].ia=function(a,e,d){var g,h=new xa("gf-"),j=U(h.G),l,y=h.G,u=p[B]("table");u.setAttribute("cellSpacing",0);u.setAttribute("cellPadding",0);if(y)q(u,y);l=u;S(j,l);var z=!(e&&e==n[F].M);if(!z){W(j,h.w);W(l,h.w)}var C=ja(l,0),D,G;if(z)G=D=C;else{D=C;G=ja(l,0)}var H="/css/small-logo.png",x=51,I=15;if(d)if(typeof d=="string")if(d.match(/^http:\/\/www\.youtube\.com/)){H="/css/youtube-logo-55x24.png";x=55;I=24;W(j,h.G+"-youtube");if(!z){W(j,h.w+"-youtube");W(l,h.w+"-youtube")}}var Ga=V(D,h.text),sa=
V(G,h.Q),Ha=T(N["powered-by"],h.text),ca,ta=n[E][K]+H,da=h.Q,J;if(na&&!oa){J=U(da);J.style.filter='progid:DXImageTransform.Microsoft.AlphaImageLoader(src="'+ta+'")';J.style.width=x+"px";J.style.height=I+"px"}else{var ea=p[B]("img");ea.src=ta;if(da)q(ea,da);J=ea}ca=J;S(Ga,Ha);if(d){var ua="http://www.google.com";if(typeof d=="string"&&(d.match(/^http:\/\/[a-z]*\.google\.com/)||d.match(/^http:\/\/www\.youtube\.com/)))ua=d;var X,fa=p[B]("a");fa.href=ua;fa.target="_BLANK";X=fa;q(X,h.ea);S(X,ca);S(sa,
X)}else S(sa,ca);if(a){var ga;ga=typeof a=="string"?p.getElementById(a):a;R(ga);S(ga,j)}return g=j};Z("google.feeds.getBranding",n[F].ia);n[F].getElementsByTagNameNS=function(a,e,d){var g;if(e==c)e="";if(a[M])g=a[M](e,d);else{var h=a.getElementsByTagName("*");g=[];for(var j=0;j<h[t];j++){var l=h[j].tagName;l=l.substring(l.lastIndexOf(":")+1);l==d&&h[j].namespaceURI==e&&g[s](h[j])}}return g};Z("google.feeds.getElementsByTagNameNS",n[F][M]);k("google.feeds.Strings",N);
k("google.feeds.CurrentLocale",_UDS_CONST_LOCALE);k("google.feeds.ShortDatePattern",_UDS_CONST_SHORT_DATE_PATTERN);n[F].ha=function(a,e){var d=new n[F].A;d.h=e;var g=n[F].a.s(n[F].a.p,d),h=n[E][K]+"/GfindFeeds?callback=google.feeds.Feed.FindRawCompletion&context="+g+"&hl="+n[F][L];if(a)h+="&q="+i(a);P(h,n[F].Version)};Z("google.feeds.findFeeds",n[F].ha);n[F].a.W=n[F].a.D;$(n[F].a,"FindRawCompletion",n[F].a.W);n[F].A=function(){};Z("google.feeds.FindResult",n[F].A);
n[F].A[v].I=function(a,e,d){this.status={code:e};if(d)this[A].message=d;if(e!=200){this.error=this[A];this.k=[]}else{if(a.entries)this.entries=a.entries;if(a.query)this.query=a.query}this.h&&this.h(this)};n[F].na=function(a,e){var d=new n[F].B;d.h=e;var g=n[F].a.s(n[F].a.p,d),h=n[E][K]+"/GlookupFeed?callback=google.feeds.Feed.LookupRawCompletion&context="+g+"&hl="+n[F][L];if(a)h+="&q="+i(a);P(h,n[F].Version)};Z("google.feeds.lookupFeed",n[F].na);n[F].a.ba=n[F].a.D;$(n[F].a,"LookupRawCompletion",n[F].a.ba);n[F].B=function(){};Z("google.feeds.LookupResult",n[F].B);
n[F].B[v].I=function(a,e,d){this.status={code:e};if(d)this[A].message=d;if(e!=200){this.error=this[A];this.url=c}else{if(a.url)this.url=a.url;if(a.query)this.query=a.query}this.h&&this.h(this)};n[F].b=function(){this.xa=c;this.d=[];this.U=n[F].L;this.u=n[F].b.z;this.r=this.v=this.m=c};Z("google.feeds.FeedControl",n[F].b);n[F].b.o="tabbed";$(n[F].b,"DRAW_MODE_TABBED",n[F].b.o);n[F].b.z="linear";$(n[F].b,"DRAW_MODE_LINEAR",n[F].b.z);n[F].b[v].oa=function(a){if(a.drawMode)if(a.drawMode==n[F].b.o||a.drawMode==n[F].b.z)this.u=a.drawMode};n[F].b[v].da=function(a,e,d){var g=new n[F].a(a);this.d[s](new Aa(g,e,this,d))};$(n[F].b[v],"addFeed",n[F].b[v].da);
n[F].b[v].fa=function(a,e){e&&this.oa(e);this.e=U(Ba);this.v=U(Ca);if(this.u==n[F].b.o){this.r=U(Da);S(this.e,this.r);this.c=[];for(var d=this.f=0;d<this.d[t];d++){var g={};g.g=T(this.d[d].T);g.i=c;g.g.onclick=ba(this,n[F].b[v].ua,[d]);this.c[d]=g;S(this.r,g.g)}}S(this.e,this.v);for(d=0;d<this.d[t];d++){this.d[d].e=U(Ea);if(this.u==n[F].b.o)this.c[d].i=this.d[d].e;var h=U(Fa),j=T(this.d[d].T,Ia);S(h,j);this.d[d].J=U(Ja);S(this.v,this.d[d].e);S(this.d[d].e,h);S(this.d[d].e,this.d[d].J)}if(this.u==
n[F].b.o)for(d=0;d<this.d[t];d++){W(this.c[d].g,Ka);W(this.c[d].i,La);if(d==this.f){W(this.c[d].g,Ma);W(this.c[d].i,Na)}else{W(this.c[d].g,Oa);W(this.c[d].i,Pa)}}var l=this.e;if(a)try{R(a);a[r](l)}catch(y){}this.qa()};$(n[F].b[v],"draw",n[F].b[v].fa);n[F].b[v].qa=function(){q(this.v,Qa);this.r&&ka(this.r,Ra);for(var a=0;a<this.d[t];a++){var e=this.d[a];this.m!=c&&e.m==c&&e.P.q(this.m);e.P.load(e.la)}};n[F].b[v].q=function(a){this.m=a};$(n[F].b[v],"setNumEntries",n[F].b[v].q);
n[F].b[v].ra=function(a){this.U=a};$(n[F].b[v],"setLinkTarget",n[F].b[v].ra);n[F].b[v].N=function(a){var e=U(Sa),d,g=this.U,h=T(c,Ta),j=p[B]("a");j.href=a.link;j.innerHTML=a.title;if(Ta)q(j,Ta);if(g)j.target=g;h[r](j);d=h;S(e,d);if(a.author){d=T(N.by+"&nbsp;"+a.author,Ua);S(e,d);var l="";if(a.publishedDate)l="-";d=T(l,Va);S(e,d)}if(a.publishedDate){d=T(za(new Date(a.publishedDate),n[F].ShortDatePattern,n[F][L]),Wa);S(e,d)}d=T(a.contentSnippet,Xa);S(e,d);S(e,d);a.html=e};$(n[F].b[v],"createHtml",n[F].b[v].N);
n[F].b[v].H=function(a,e){var d,g;R(e.J);for(var h=0;h<a.feed.entries[t];h++){d=a.feed.entries[h];d.html||this.N(d);if(d.html){g=U(Ya);var j=d.html.cloneNode(b);S(g,j);S(e.J,g)}}};n[F].b[v].ua=function(a){if(!(this.f==a)){Y(this.c[this.f].g,Ma);Y(this.c[this.f].i,Na);W(this.c[this.f].g,Oa);W(this.c[this.f].i,Pa);this.f=a;W(this.c[this.f].g,Ma);W(this.c[this.f].i,Na);Y(this.c[this.f].g,Oa);Y(this.c[this.f].i,Pa)}};
function Aa(a,e,d,g){this.P=a;this.T=e;this.m=c;if(g){if(g.numEntries){a.q(g.numEntries);this.m=g.numEntries}g.includeHistoricalEntries&&a.R()}this.ga=d;this.la=ia(this,Aa[v].H)}Aa[v].H=function(a){a.error||this.ga.H(a,this)};var Sa="gf-result",Va="gf-spacer",Ta="gf-title",Xa="gf-snippet",Ua="gf-author",Wa="gf-relativePublishedDate",Ba="gfc-control",Ea="gfc-resultsRoot",Ja="gfc-results",Ya="gfc-result",Fa="gfc-resultsHeader",Ca="gfc-resultsbox-invisible",Qa="gfc-resultsbox-visible",Ia="gfc-title",Ra="gfc-tabsArea",Da="gfc-tabsAreaInvisible",Ka="gfc-tabHeader",Ma="gfc-tabhActive",Oa="gfc-tabhInactive",Na="gfc-tabdActive",Pa="gfc-tabdInactive",La="gfc-tabData";
google.loader.loaded({"module":"feeds","version":"1.0","components":["default"]});
google.loader.eval.feeds = function() {eval(arguments[0])}})()

View File

@ -0,0 +1,87 @@
(function(){
function h(a){throw a;}
var j=true,k=null,m=false,p=this,aa=function(a,b,c){var d=a.split("."),e=c||p;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&b!==undefined)e[f]=b;else e=e[f]?e[f]:(e[f]={})},ba=function(a,b){for(var c=a.split("."),d=b||p,e;e=c.shift();)if(d[e])d=d[e];else return k;return d},ca=function(){},da=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length==
"number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},r=function(a){return da(a)=="array"},ea=function(a){var b=da(a);return b==
"array"||b=="object"&&typeof a.length=="number"},s=function(a){return typeof a=="string"},fa=function(a){return da(a)=="function"},ga=function(a){var b=da(a);return b=="object"||b=="array"||b=="function"},ja=function(a){if(a.hasOwnProperty&&a.hasOwnProperty(ha))return a[ha];a[ha]||(a[ha]=++ia);return a[ha]},ha="closure_hashCode_"+Math.floor(Math.random()*2147483648).toString(36),ia=0,t=function(a,b){var c=a.Pc;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,
c);c=d}b=a.Rc||b;a=a.Qc||a;var e,f=b||p;e=c?function(){var g=Array.prototype.slice.call(arguments);g.unshift.apply(g,c);return a.apply(f,g)}:function(){return a.apply(f,arguments)};e.Pc=c;e.Rc=b;e.Qc=a;return e},ka=Date.now||function(){return(new Date).getTime()},u=function(a,b,c){aa(a,b,c)},v=function(a,b){function c(){}c.prototype=b.prototype;a.P=b.prototype;a.prototype=new c};var la=function(a,b,c){if(a.indexOf)return a.indexOf(b,c);if(Array.indexOf)return Array.indexOf(a,b,c);for(var d=c==k?0:c<0?Math.max(0,a.length+c):c,e=d;e<a.length;e++)if(e in a&&a[e]===b)return e;return-1},ma=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=s(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},na=function(a,b){var c=la(a,b),d;if(d=c!=-1)Array.prototype.splice.call(a,c,1).length==1;return d},oa=function(a){if(r(a))return a.concat();
else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}},pa=function(a){if(r(a))return a.concat();return oa(a)},qa=function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b];if(ea(c)){c=pa(c);a.push.apply(a,c)}else a.push(c)}};var x=function(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};x.prototype.clone=function(){return new x(this.x,this.y)};x.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var y=function(a,b){this.width=a;this.height=b};y.prototype.clone=function(){return new y(this.width,this.height)};y.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};y.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};y.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};var ra=function(a){var b=[],c=0;for(var d in a)b[c++]=a[d];return b},sa=function(a){var b=[],c=0;for(var d in a)b[c++]=d;return b};var ta=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},ua=/^[a-zA-Z0-9\-_.!~*'()]*$/,va=function(a){a=String(a);if(!ua.test(a))return encodeURIComponent(a);return a},wa=function(a,b){return a.indexOf(b)!=-1},ya=function(a,b){for(var c=0,d=ta(String(a)).split("."),e=ta(String(b)).split("."),f=Math.max(d.length,e.length),g=0;c==0&&g<f;g++){var i=d[g]||"",n=e[g]||"",l=new RegExp("(\\d*)(\\D*)","g"),o=new RegExp("(\\d*)(\\D*)","g");do{var q=l.exec(i)||["","",""],w=o.exec(n)||["","",""];if(q[0].length==
0&&w[0].length==0)break;var z=q[1].length==0?0:parseInt(q[1],10),Q=w[1].length==0?0:parseInt(w[1],10);c=xa(z,Q)||xa(q[2].length==0,w[2].length==0)||xa(q[2],w[2])}while(c==0)}return c},xa=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};ka();var za,Aa,Ba,Ca,Da,Ea,Fa,Ga,Ha,Ia,Ja=function(){return p.navigator?p.navigator.userAgent:k},Ka=function(){return p.navigator},La=function(){Ea=Da=Ca=Ba=Aa=za=m;var a;if(a=Ja()){var b=Ka();za=a.indexOf("Opera")==0;Aa=!za&&a.indexOf("MSIE")!=-1;Ca=(Ba=!za&&a.indexOf("WebKit")!=-1)&&a.indexOf("Mobile")!=-1;Ea=(Da=!za&&!Ba&&b.product=="Gecko")&&b.vendor=="Camino"}};La();
var Ma=za,A=Aa,Na=Da,B=Ba,Oa=Ca,Pa=function(){var a=Ka();return a&&a.platform||""},Qa=Pa(),Ra=function(){Fa=wa(Qa,"Mac");Ga=wa(Qa,"Win");Ha=wa(Qa,"Linux");Ia=!!Ka()&&wa(Ka().appVersion||"","X11")};Ra();
var Sa=function(){var a="",b;if(Ma&&p.opera){var c=p.opera.version;a=typeof c=="function"?c():c}else{if(Na)b=/rv\:([^\);]+)(\)|;)/;else if(A)b=/MSIE\s+([^\);]+)(\)|;)/;else if(B)b=/WebKit\/(\S+)/;if(b){var d=b.exec(Ja());a=d?d[1]:""}}return a},Ta=Sa(),Ua={},Va=function(a){return Ua[a]||(Ua[a]=ya(Ta,a)>=0)};var Wa;var Ya=function(a){return a?new C(Xa(a)):Wa||(Wa=new C)},Za=function(a){var b=a.document;if(B&&!Va("500")&&!Oa){if(typeof a.innerHeight=="undefined")a=window;var c=a.innerHeight,d=a.document.documentElement.scrollHeight;if(a==a.top)if(d<c)c-=15;return new y(a.innerWidth,c)}var e=b.compatMode=="CSS1Compat"&&(!Ma||Ma&&Va("9.50"))?b.documentElement:b.body;return new y(e.clientWidth,e.clientHeight)},$a=function(a){var b=!B&&a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new x(b.scrollLeft,
b.scrollTop)},ab=function(a,b){a.appendChild(b)},bb=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):k},cb=B&&ya(Ta,"521")<=0,db=function(a,b){if(typeof a.contains!="undefined"&&!cb&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Xa=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},C=function(a){this.bb=a||p.document||document};
C.prototype.createElement=function(a){return this.bb.createElement(a)};C.prototype.nc=function(){return this.bb.compatMode=="CSS1Compat"};C.prototype.gb=function(){return $a(this.bb)};C.prototype.appendChild=ab;C.prototype.contains=db;var D=function(){};D.prototype.ab=m;D.prototype.dispose=function(){if(!this.ab){this.ab=j;this.b()}};D.prototype.b=function(){};var eb=function(a){if(/^\s*$/.test(a))return m;var b=/\\["\\\/bfnrtu]/g,c=/"[^"\\\n\r\u2028\u2029\x00-\x1f\x80-\x9f]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,d=/(?:^|:|,)(?:[\s\u2028\u2029]*\[)+/g,e=/^[\],:{}\s\u2028\u2029]*$/;return e.test(a.replace(b,"@").replace(c,"]").replace(d,""))},fb=function(a){var b=String(a);if(eb(b))try{return eval("("+b+")")}catch(c){}h(Error("Invalid JSON string: "+b))},E=function(){};E.prototype.serialize=function(a){var b=[];this.Ka(a,b);return b.join("")};
E.prototype.Ka=function(a,b){switch(typeof a){case "string":this.zb(a,b);break;case "number":this.Ec(a,b);break;case "boolean":b.push(a);break;case "undefined":b.push("null");break;case "object":if(a==k){b.push("null");break}if(r(a)){this.Dc(a,b);break}this.Fc(a,b);break;case "function":break;default:h(Error("Unknown type: "+typeof a))}};
var gb={'"':'\\"',"\\":"\\\\","/":"\\/","\u0008":"\\b","\u000c":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\u000b":"\\u000b"},hb=/\uffff/.test("\uffff")?/[\\\"\x00-\x1f\x7f-\uffff]/g:/[\\\"\x00-\x1f\x7f-\xff]/g;E.prototype.zb=function(a,b){b.push('"',a.replace(hb,function(c){if(c in gb)return gb[c];var d=c.charCodeAt(0),e="\\u";if(d<16)e+="000";else if(d<256)e+="00";else if(d<4096)e+="0";return gb[c]=e+d.toString(16)}),'"')};E.prototype.Ec=function(a,b){b.push(isFinite(a)&&!isNaN(a)?a:"null")};
E.prototype.Dc=function(a,b){var c=a.length;b.push("[");for(var d="",e=0;e<c;e++){b.push(d);this.Ka(a[e],b);d=","}b.push("]")};E.prototype.Fc=function(a,b){b.push("{");var c="";for(var d in a)if(a.hasOwnProperty(d)){var e=a[d];if(typeof e!="function"){b.push(c);this.zb(d,b);b.push(":");this.Ka(e,b);c=","}}b.push("}")};if("StopIteration"in p)var ib=p.StopIteration;else ib=Error("StopIteration");var jb=function(){};jb.prototype.next=function(){h(ib)};jb.prototype.__iterator__=function(){return this};var kb=function(a){if(typeof a.C=="function")return a.C();if(s(a))return a.split("");if(ea(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(a[d]);return b}return ra(a)},lb=function(a){if(typeof a.L=="function")return a.L();if(typeof a.C=="function")return undefined;if(ea(a)||s(a)){for(var b=[],c=a.length,d=0;d<c;d++)b.push(d);return b}return sa(a)},mb=function(a,b,c){if(typeof a.forEach=="function")a.forEach(b,c);else if(ea(a)||s(a))ma(a,b,c);else for(var d=lb(a),e=kb(a),f=e.length,g=0;g<f;g++)b.call(c,
e[g],d&&d[g],a)};var F=function(a){this.r={};this.g=[];var b=arguments.length;if(b>1){if(b%2)h(Error("Uneven number of arguments"));for(var c=0;c<b;c+=2)this.set(arguments[c],arguments[c+1])}else a&&this.Hb(a)};F.prototype.c=0;F.prototype.wa=0;F.prototype.C=function(){this.ea();for(var a=[],b=0;b<this.g.length;b++){var c=this.g[b];a.push(this.r[c])}return a};F.prototype.L=function(){this.ea();return this.g.concat()};F.prototype.u=function(a){return nb(this.r,a)};
F.prototype.remove=function(a){if(nb(this.r,a)){delete this.r[a];this.c--;this.wa++;this.g.length>2*this.c&&this.ea();return j}return m};F.prototype.ea=function(){if(this.c!=this.g.length){for(var a=0,b=0;a<this.g.length;){var c=this.g[a];if(nb(this.r,c))this.g[b++]=c;a++}this.g.length=b}if(this.c!=this.g.length){var d={};for(b=a=0;a<this.g.length;){c=this.g[a];if(!nb(d,c)){this.g[b++]=c;d[c]=1}a++}this.g.length=b}};F.prototype.get=function(a,b){if(nb(this.r,a))return this.r[a];return b};
F.prototype.set=function(a,b){if(!nb(this.r,a)){this.c++;this.g.push(a);this.wa++}this.r[a]=b};F.prototype.Hb=function(a){var b,c;if(a instanceof F){b=a.L();c=a.C()}else{b=sa(a);c=ra(a)}for(var d=0;d<b.length;d++)this.set(b[d],c[d])};F.prototype.clone=function(){return new F(this)};
F.prototype.__iterator__=function(a){this.ea();var b=0,c=this.g,d=this.r,e=this.wa,f=this,g=new jb;g.next=function(){for(;1;){if(e!=f.wa)h(Error("The map has changed since the iterator was created"));if(b>=c.length)h(ib);var i=c[b++];return a?i:d[i]}};return g};var nb=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};var ob=/^(?:([^:\/?#]+):)?(?:\/\/(?:([^\/?#]*)@)?([^\/?#:@]*)(?::([0-9]+))?)?([^?#]+)?(?:\?([^#]*))?(?:#(.*))?$/,pb=function(a){return a.match(ob)};var G=function(a,b){var c;if(a instanceof G){this.O(b==k?a.o:b);this.ua(a.l);this.va(a.Q);this.qa(a.w);this.ta(a.t);this.sa(a.s);this.La(a.k.clone());this.ra(a.J)}else if(a&&(c=pb(String(a)))){this.O(!!b);this.ua(c[1]||"",j);this.va(c[2]||"",j);this.qa(c[3]||"",j);this.ta(c[4]);this.sa(c[5]||"",j);this.Db(c[6]||"",j);this.ra(c[7]||"",j)}else{this.O(!!b);this.k=new H(k,this,this.o)}};G.prototype.l="";G.prototype.Q="";G.prototype.w="";G.prototype.t=k;G.prototype.s="";G.prototype.J="";
G.prototype.oc=m;G.prototype.o=m;G.prototype.toString=function(){if(this.q)return this.q;var a=[];this.l&&a.push(qb(this.l,rb),":");if(this.w){a.push("//");this.Q&&a.push(qb(this.Q,rb),"@");a.push(sb(this.w));this.t!=k&&a.push(":",String(this.t))}this.s&&a.push(qb(this.s,tb));var b=String(this.k);b&&a.push("?",b);this.J&&a.push("#",qb(this.J,ub));return this.q=a.join("")};
G.prototype.resolve=function(a){var b=this.clone(),c=a.gc();if(c)b.ua(a.l);else c=a.hc();if(c)b.va(a.Q);else c=a.kb();if(c)b.qa(a.w);else c=a.mb();var d=a.s;if(c)b.ta(a.t);else if(c=a.lb()){if(d.charAt(0)!="/")if(this.kb()&&!this.lb())d="/"+d;else{var e=b.s.lastIndexOf("/");if(e!=-1)d=b.s.substr(0,e+1)+d}d=vb(d)}if(c)b.sa(d);else c=a.fc();if(c)b.Db(a.$b());else c=a.ec();c&&b.ra(a.J);return b};G.prototype.clone=function(){return wb(this.l,this.Q,this.w,this.t,this.s,this.k.clone(),this.J,this.o)};
G.prototype.ua=function(a,b){this.H();delete this.q;if(this.l=b?xb(a):a)this.l=this.l.replace(/:$/,"");return this};G.prototype.gc=function(){return!!this.l};G.prototype.va=function(a,b){this.H();delete this.q;this.Q=b?xb(a):a;return this};G.prototype.hc=function(){return!!this.Q};G.prototype.qa=function(a,b){this.H();delete this.q;this.w=b?xb(a):a;return this};G.prototype.kb=function(){return!!this.w};
G.prototype.ta=function(a){this.H();delete this.q;if(a){a=Number(a);if(isNaN(a)||a<0)h(Error("Bad port number "+a));this.t=a}else this.t=k;return this};G.prototype.mb=function(){return this.t!=k};G.prototype.sa=function(a,b){this.H();delete this.q;this.s=b?xb(a):a;return this};G.prototype.lb=function(){return!!this.s};G.prototype.fc=function(){return this.k.toString()!==""};
G.prototype.La=function(a,b){this.H();delete this.q;if(a instanceof H){this.k=a;this.k.Fb=this;this.k.O(this.o)}else{b||(a=qb(a,yb));this.k=new H(a,this,this.o)}return this};G.prototype.Db=function(a,b){return this.La(a,b)};G.prototype.$b=function(){return this.k.Kc()};G.prototype.jb=function(a){return this.k.get(a)};G.prototype.ra=function(a,b){this.H();delete this.q;this.J=b?xb(a):a;return this};G.prototype.ec=function(){return!!this.J};G.prototype.H=function(){if(this.oc)h(Error("Tried to modify a read-only Uri"))};
G.prototype.O=function(a){this.o=a;this.k&&this.k.O(a)};
var wb=function(a,b,c,d,e,f,g,i){var n=new G(k,i);a&&n.ua(a);b&&n.va(b);c&&n.qa(c);d&&n.ta(d);e&&n.sa(e);f&&n.La(f);g&&n.ra(g);return n},zb=function(a,b){a instanceof G||(a=a instanceof G?a.clone():new G(a,undefined));b instanceof G||(b=b instanceof G?b.clone():new G(b,undefined));return a.resolve(b)},vb=function(a){if(a==".."||a==".")return"";else if(!wa(a,"./")&&!wa(a,"/."))return a;else{for(var b=a.indexOf("/")==0,c=a.split("/"),d=[],e=0;e<c.length;){var f=c[e++];if(f==".")b&&e==c.length&&d.push("");
else if(f==".."){if(d.length>1||d.length==1&&d[0]!="")d.pop();b&&e==c.length&&d.push("")}else{d.push(f);b=j}}return d.join("/")}},xb=function(a){return a?decodeURIComponent(a):""},sb=function(a){if(s(a))return encodeURIComponent(a);return k},Ab=/^[a-zA-Z0-9\-_.!~*'():\/;?]*$/,qb=function(a,b){var c=k;if(s(a)){c=a;Ab.test(c)||(c=encodeURI(a));if(c.search(b)>=0)c=c.replace(b,Bb)}return c},Bb=function(a){var b=a.charCodeAt(0);return"%"+(b>>4&15).toString(16)+(b&15).toString(16)},rb=/[#\/\?@]/g,tb=/[\#\?]/g,
yb=/[\#\?@]/g,ub=/#/g,H=function(a,b,c){this.z=a||k;this.Fb=b||k;this.o=!!c};H.prototype.A=function(){if(!this.d){this.d=new F;if(this.z)for(var a=this.z.split("&"),b=0;b<a.length;b++){var c=a[b].indexOf("="),d=k,e=k;if(c>=0){d=a[b].substring(0,c);e=a[b].substring(c+1)}else d=a[b];d=decodeURIComponent(d.replace(/\+/g," "));d=this.K(d);this.add(d,e?decodeURIComponent(e.replace(/\+/g," ")):"")}}};H.prototype.d=k;H.prototype.c=k;
H.prototype.add=function(a,b){this.A();this.la();a=this.K(a);if(this.u(a)){var c=this.d.get(a);r(c)?c.push(b):this.d.set(a,[c,b])}else this.d.set(a,b);this.c++;return this};H.prototype.remove=function(a){this.A();a=this.K(a);if(this.d.u(a)){this.la();var b=this.d.get(a);if(r(b))this.c-=b.length;else this.c--;return this.d.remove(a)}return m};H.prototype.u=function(a){this.A();a=this.K(a);return this.d.u(a)};
H.prototype.L=function(){this.A();for(var a=this.d.C(),b=this.d.L(),c=[],d=0;d<b.length;d++){var e=a[d];if(r(e))for(var f=0;f<e.length;f++)c.push(b[d]);else c.push(b[d])}return c};H.prototype.C=function(a){this.A();var b;if(a){var c=this.K(a);if(this.u(c)){var d=this.d.get(c);if(r(d))return d;else{b=[];b.push(d)}}else b=[]}else{var e=this.d.C();b=[];for(var f=0;f<e.length;f++){var g=e[f];r(g)?qa(b,g):b.push(g)}}return b};
H.prototype.set=function(a,b){this.A();this.la();a=this.K(a);if(this.u(a)){var c=this.d.get(a);if(r(c))this.c-=c.length;else this.c--}this.d.set(a,b);this.c++;return this};H.prototype.get=function(a,b){this.A();a=this.K(a);if(this.u(a)){var c=this.d.get(a);return r(c)?c[0]:c}else return b};
H.prototype.toString=function(){if(this.z)return this.z;if(!this.d)return"";for(var a=[],b=0,c=this.d.L(),d=0;d<c.length;d++){var e=c[d],f=va(e),g=this.d.get(e);if(r(g))for(var i=0;i<g.length;i++){b>0&&a.push("&");a.push(f,"=",va(g[i]));b++}else{b>0&&a.push("&");a.push(f,"=",va(g));b++}}return this.z=a.join("")};H.prototype.Kc=function(){if(!this.Y)this.Y=xb(this.toString());return this.Y};H.prototype.la=function(){delete this.Y;delete this.z;this.Fb&&delete this.Fb.q};
H.prototype.clone=function(){var a=new H;if(this.Y)a.Y=this.Y;if(this.z)a.z=this.z;if(this.d)a.d=this.d.clone();return a};H.prototype.K=function(a){var b=String(a);if(this.o)b=b.toLowerCase();return b};H.prototype.O=function(a){var b=a&&!this.o;if(b){this.A();this.la();mb(this.d,function(c,d){var e=d.toLowerCase();if(d!=e){this.remove(d);this.add(e,c)}},this)}this.o=a};var I={},Db=function(a,b){for(var c=b||Cb,d=c.length,e="";a-- >0;)e+=c.charAt(Math.floor(Math.random()*d));return e},Cb="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";var J=function(){};v(J,D);J.prototype.i=0;var K=function(a){this.a=a;this.oa=[];this.Wc=t(this.Vb,this)};v(K,J);K.prototype.i=2;K.prototype.Ha=m;K.prototype.Jc=0;K.prototype.connect=function(){if(this.a.S()==0){this.D=this.a.T;this.D.XPC_toOuter=t(this.nb,this)}else this.Qa()};
K.prototype.Qa=function(){var a=j;try{if(!this.D)this.D=window.frameElement;if(this.D&&this.D.XPC_toOuter){this.tb=this.D.XPC_toOuter;this.D.XPC_toOuter.XPC_toInner=t(this.nb,this);a=m;this.send("tp","SETUP_ACK");this.a.G()}}catch(b){}if(a){if(!this.Ib)this.Ib=t(this.Qa,this);window.setTimeout(this.Ib,100)}};K.prototype.ca=function(a){if(this.a.S()==0&&!this.a.h()&&a=="SETUP_ACK"){this.tb=this.D.XPC_toOuter.XPC_toInner;this.a.G()}else h(Error("Got unexpected transport message."))};
K.prototype.nb=function(a,b){if(!this.Ha&&this.oa.length==0)this.a.v(a,b);else{this.oa.push({serviceName:a,payload:b});if(this.oa.length==1)this.Jc=window.setTimeout(this.Wc,1)}};K.prototype.Vb=function(){for(;this.oa.length;){var a=this.oa.shift();this.a.v(a.serviceName,a.payload)}};K.prototype.send=function(a,b){this.Ha=j;this.tb(a,b);this.Ha=m};K.prototype.b=function(){K.P.b.call(this);this.D=this.tb=k};var L=function(a){this.a=a;this.pa=this.a.f.ppu;this.Yc=this.a.f.lpu;this.Ia=[]},Eb,Fb;v(L,J);L.prototype.i=4;L.prototype.Ja=0;L.prototype.W=m;L.prototype.F=m;L.prototype.ja=function(){return"googlexpc_"+this.a.name+"_msg"};L.prototype.ga=function(){return"googlexpc_"+this.a.name+"_ack"};L.prototype.connect=function(){if(!this.F){this.Pb();this.F=j}this.Kb()};L.prototype.Pb=function(){var a=this.ja();this.$=this.za(a);this.rb=window.frames[a];a=this.ga();this.X=this.za(a);this.Na=window.frames[a]};
L.prototype.za=function(a){var b=document.createElement("iframe"),c=b.style;c.position="absolute";c.top="-10px";c.left="10px";c.width="1px";c.height="1px";b.id=b.name=a;b.src=this.pa+"#INITIAL";document.body.appendChild(b);return b};L.prototype.mc=function(){this.a.name=Db(10);this.Ya();this.F=m;this.$c=this.za("googlexpc_reconnect_"+this.a.name)};
L.prototype.tc=function(){for(var a=this.a.j.frames,b=a.length,c=0;c<b;c++){var d;try{if(a[c]&&a[c].name)d=a[c].name}catch(e){}if(d){var f=d.split("_");if(f.length==3&&f[0]=="googlexpc"&&f[1]=="reconnect"){this.a.name=f[2];this.Ya();this.F=m;break}}}};L.prototype.Ya=function(){if(this.$){this.$.parentNode.removeChild(this.$);this.rb=this.$=k}if(this.X){this.X.parentNode.removeChild(this.X);this.Na=this.X=k}};
L.prototype.Kb=function(){if(this.pb(this.ja())&&this.pb(this.ga())){this.qc=new Gb(this,this.a.j.frames[this.ja()],t(this.wc,this));this.Gb=new Gb(this,this.a.j.frames[this.ga()],t(this.vc,this));this.Ta()}else{if(this.a.S()==1&&!this.$c)this.mc();else this.a.S()==0&&this.tc();window.setTimeout(t(this.connect,this),100)}};L.prototype.pb=function(a){try{var b=this.a.j.frames[a];if(!b||b.location.href.indexOf(this.Yc)!=0)return m}catch(c){return m}return j};
L.prototype.Ta=function(){var a=this.a.j.frames;if(a[this.ga()]&&a[this.ja()]){this.rc=new Hb(this.pa,this.rb);this.xa=new Hb(this.pa,this.Na);window.setTimeout(t(function(){this.rc.send("SETUP");this.W=this.cd=j},this),100)}else{if(!this.Lb)this.Lb=t(this.Ta,this);window.setTimeout(this.Lb,100)}};L.prototype.Sa=function(){if(this.Cc&&this.Zc){this.a.G();if(this.fa){for(var a=0,b;a<this.fa.length;a++){b=this.fa[a];this.a.v(b.service,b.payload)}delete this.fa}}};
L.prototype.wc=function(a){if(a=="SETUP"){if(this.xa){this.xa.send("SETUP_ACK");this.Cc=j;this.Sa()}}else if(this.a.h()||this.Cc){var b=a.indexOf("|"),c=a.substring(0,b),d=a.substring(b+1);b=c.indexOf(",");if(b==-1){var e=c;this.xa.send("ACK:"+e);this.Za(d)}else{e=c.substring(0,b);this.xa.send("ACK:"+e);var f=c.substring(b+1).split("/");f[0]=parseInt(f[0],10);f[1]=parseInt(f[1],10);if(f[0]==1)this.ub=[];this.ub.push(d);if(f[0]==f[1]){this.Za(this.ub.join(""));delete this.ub}}}};
L.prototype.vc=function(a){if(a=="SETUP_ACK"){this.W=m;this.Zc=j;this.Sa()}else if(this.a.h())if(this.W){var b=parseInt(a.split(":")[1],10);if(b==this.Ja){this.W=m;this.yb()}}};L.prototype.yb=function(){if(!(this.W||!this.Ia.length)){var a=this.Ia.shift();++this.Ja;this.rc.send(this.Ja+a);this.W=j}};L.prototype.Za=function(a){var b=a.indexOf(":"),c=a.substr(0,b),d=a.substring(b+1);this.a.h()?this.a.v(c,d):(this.fa||(this.fa=[])).push({service:c,payload:d})};L.prototype.da=3800;
L.prototype.send=function(a,b){var c=a+":"+b;if(!A||b.length<=this.da)this.Ia.push("|"+c);else for(var d=b.length,e=Math.ceil(d/this.da),f=0,g=1;f<d;){this.Ia.push(","+g+"/"+e+"|"+c.substr(f,this.da));g++;f+=this.da}this.yb()};L.prototype.b=function(){L.P.b.call(this);var a=Ib;na(a,this.qc);na(a,this.Gb);this.qc=this.Gb=k;bb(this.$);bb(this.X);this.rb=this.Na=this.$=this.X=k};
var Ib=[],Kb=function(){var a=m;try{for(var b=0,c=Ib.length;b<c;b++)a=a||Ib[b].receive()}catch(d){Ib[b].e.a.sc();if(!Ib.length)return}var e=ka();if(a)Eb=e;var f=e-Eb<1000?10:100;Fb=window.setTimeout(Jb,f)},Jb=t(Kb,L),Lb=function(){Eb=ka();Fb&&window.clearTimeout(Fb);Fb=window.setTimeout(Jb,10)},Hb=function(a,b){this.pa=a;this.Bc=b;this.Xa=0};Hb.prototype.send=function(a){this.Xa=++this.Xa%2;var b=this.pa+"#"+this.Xa+encodeURIComponent(a);try{if(B)this.Bc.location.href=b;else this.Bc.location.replace(b)}catch(c){}Lb()};
var Gb=function(a,b,c){this.e=a;this.xc=b;this.Sc=c;this.Tb=this.xc.location.href.split("#")[0]+"#INITIAL";Ib.push(this);Lb()};Gb.prototype.receive=function(){var a=this.xc.location.href;if(a!=this.Tb){this.Tb=a;var b=a.split("#")[1];if(b){b=b.substr(1);this.Sc(decodeURIComponent(b))}return j}else return m};var M=function(a,b){D.call(this);this.pc=b;this.R=[];this.Rb(a)};v(M,D);M.prototype.Aa=k;M.prototype.Ba=k;M.prototype.ba=function(a){this.Aa=a};M.prototype.Bb=function(a){this.Ba=a};M.prototype.B=function(){if(this.R.length)return this.R.pop();return this.Wa()};M.prototype.V=function(a){this.R.length<this.pc?this.R.push(a):this.$a(a)};M.prototype.Rb=function(a){if(a>this.pc)h(Error("[goog.structs.SimplePool] Initial cannot be greater than max"));for(var b=0;b<a;b++)this.R.push(this.Wa())};
M.prototype.Wa=function(){return this.Aa?this.Aa():{}};M.prototype.$a=function(a){if(this.Ba)this.Ba(a);else if(fa(a.dispose))a.dispose();else for(var b in a)delete a[b]};M.prototype.b=function(){M.P.b.call(this);for(var a=this.R;a.length;)this.$a(a.pop());delete this.R};var Mb=function(a,b){this.type=a;this.currentTarget=this.target=b};v(Mb,D);Mb.prototype.b=function(){delete this.type;delete this.target;delete this.currentTarget};Mb.prototype.Ga=m;Mb.prototype.Ac=j;var N=function(a,b){a&&this.init(a,b)};v(N,Mb);N.prototype.type=k;N.prototype.target=k;N.prototype.relatedTarget=k;N.prototype.offsetX=0;N.prototype.offsetY=0;N.prototype.clientX=0;N.prototype.clientY=0;N.prototype.screenX=0;N.prototype.screenY=0;N.prototype.button=0;N.prototype.keyCode=0;N.prototype.charCode=0;N.prototype.ctrlKey=m;N.prototype.altKey=m;N.prototype.shiftKey=m;N.prototype.metaKey=m;N.prototype.Ca=k;
N.prototype.init=function(a,b){this.type=a.type;this.target=a.target||a.srcElement;this.currentTarget=b;this.relatedTarget=a.relatedTarget?a.relatedTarget:this.type=="mouseover"?a.fromElement:this.type=="mouseout"?a.toElement:k;this.offsetX=typeof a.layerX=="number"?a.layerX:a.offsetX;this.offsetY=typeof a.layerY=="number"?a.layerY:a.offsetY;this.clientX=typeof a.clientX=="number"?a.clientX:a.pageX;this.clientY=typeof a.clientY=="number"?a.clientY:a.pageY;this.screenX=a.screenX||0;this.screenY=a.screenY||
0;this.button=a.button;this.keyCode=a.keyCode||0;this.charCode=a.charCode||(this.type=="keypress"?a.keyCode:0);this.ctrlKey=a.ctrlKey;this.altKey=a.altKey;this.shiftKey=a.shiftKey;this.metaKey=a.metaKey;this.Ca=a;delete this.Ac;delete this.Ga};N.prototype.b=function(){N.P.b.call(this);this.Ca=k};var O=function(){},Nb=0;O.prototype.Ea=k;O.prototype.listener=k;O.prototype.proxy=k;O.prototype.src=k;O.prototype.type=k;O.prototype.capture=k;O.prototype.handler=k;O.prototype.key=0;O.prototype.removed=m;O.prototype.Ra=m;O.prototype.init=function(a,b,c,d,e,f){if(fa(a))this.Ea=j;else if(a&&a.handleEvent&&fa(a.handleEvent))this.Ea=m;else h(Error("Invalid listener argument"));this.listener=a;this.proxy=b;this.src=c;this.type=d;this.capture=!!e;this.handler=f;this.Ra=m;this.key=++Nb;this.removed=m};
O.prototype.handleEvent=function(a){if(this.Ea)return this.listener.call(this.handler||this.src,a);return this.listener.handleEvent.call(this.listener,a)};var Ob={},P={},Pb={},Qb=new M(0,600);Qb.ba(function(){return{c:0,aa:0}});Qb.Bb(function(a){a.c=0});var R=new M(0,600);R.ba(function(){return[]});R.Bb(function(a){a.length=0;delete a.na;delete a.sb});var Rb=new M(0,600);Rb.ba(function(){var a=function(b){return Sb.call(a.src,a.key,b)};return a});var Tb=function(){return new O},Ub=new M(0,600);Ub.ba(Tb);
var Vb=function(){return new N},Wb=function(){var a=k;if(A){a=new M(0,600);a.ba(Vb)}return a},Xb=Wb(),Yb="on",Zb={},$b=function(a,b,c,d,e){if(b)if(r(b)){for(var f=0;f<b.length;f++)$b(a,b[f],c,d,e);return k}else{var g=!!d,i=P;b in i||(i[b]=Qb.B());i=i[b];if(!(g in i)){i[g]=Qb.B();i.c++}i=i[g];var n=ja(a),l,o;i.aa++;if(i[n]){l=i[n];for(f=0;f<l.length;f++){o=l[f];if(o.listener==c&&o.handler==e){if(o.removed)break;return l[f].key}}}else{l=i[n]=R.B();i.c++}var q=Rb.B();q.src=a;o=Ub.B();o.init(c,q,a,b,
g,e);var w=o.key;q.key=w;l.push(o);Ob[w]=o;Pb[n]||(Pb[n]=R.B());Pb[n].push(o);if(a.addEventListener){if(a==p||!a.Vc)a.addEventListener(b,q,g)}else a.attachEvent(ac(b),q);return w}else h(Error("Invalid event type"))},bc=function(a,b,c,d,e){if(r(b)){for(var f=0;f<b.length;f++)bc(a,b[f],c,d,e);return k}var g=!!d,i=cc(a,b,g);if(!i)return m;for(f=0;f<i.length;f++)if(i[f].listener==c&&i[f].capture==g&&i[f].handler==e)return dc(i[f].key);return m},dc=function(a){if(!Ob[a])return m;var b=Ob[a];if(b.removed)return m;
var c=b.src,d=b.type,e=b.proxy,f=b.capture;if(c.removeEventListener){if(c==p||!c.Vc)c.removeEventListener(d,e,f)}else c.detachEvent&&c.detachEvent(ac(d),e);var g=ja(c),i=P[d][f][g];if(Pb[g]){var n=Pb[g];na(n,b);n.length==0&&delete Pb[g]}b.removed=j;i.sb=j;ec(d,f,g,i);delete Ob[a];return j},ec=function(a,b,c,d){if(!d.na)if(d.sb){for(var e=0,f=0;e<d.length;e++)if(d[e].removed)Ub.V(d[e]);else{if(e!=f)d[f]=d[e];f++}d.length=f;d.sb=m;if(f==0){R.V(d);delete P[a][b][c];P[a][b].c--;if(P[a][b].c==0){Qb.V(P[a][b]);
delete P[a][b];P[a].c--}if(P[a].c==0){Qb.V(P[a]);delete P[a]}}}},cc=function(a,b,c){var d=P;if(b in d){d=d[b];if(c in d){d=d[c];var e=ja(a);if(d[e])return d[e]}}return k},ac=function(a){if(a in Zb)return Zb[a];return Zb[a]=Yb+a},gc=function(a,b,c,d,e){var f=1,g=ja(b);if(a[g]){a.aa--;var i=a[g];if(i.na)i.na++;else i.na=1;try{for(var n=i.length,l=0;l<n;l++){var o=i[l];if(o&&!o.removed)f&=fc(o,e)!==m}}finally{i.na--;ec(c,d,g,i)}}return Boolean(f)},fc=function(a,b){var c=a.handleEvent(b);a.Ra&&dc(a.key);
return c},Sb=function(a,b){if(!Ob[a])return j;var c=Ob[a],d=c.type,e=P;if(!(d in e))return j;e=e[d];var f,g;if(A){var i=b||ba("window.event"),n=j in e,l=m in e;if(n){if(i.keyCode<0||i.returnValue!=undefined)return j;hc(i)}var o=Xb.B();o.init(i,this);f=j;try{if(n){for(var q=R.B(),w=o.currentTarget;w;w=w.parentNode)q.push(w);g=e[j];g.aa=g.c;for(var z=q.length-1;!o.Ga&&z>=0&&g.aa;z--){o.currentTarget=q[z];f&=gc(g,q[z],d,j,o)}if(l){g=e[m];g.aa=g.c;for(z=0;!o.Ga&&z<q.length&&g.aa;z++){o.currentTarget=
q[z];f&=gc(g,q[z],d,m,o)}}}else f=fc(c,o)}finally{if(q){q.length=0;R.V(q)}o.dispose();Xb.V(o)}return f}var Q=new N(b,this);try{f=fc(c,Q)}finally{Q.dispose()}return f},hc=function(a){var b=m;if(a.keyCode==0)try{a.keyCode=-1;return}catch(c){b=j}if(b||a.returnValue==undefined)a.returnValue=j};var S=function(a){this.a=a;this.Xc=this.a.f.pru;this.uc=this.a.f.ifrid;B&&ic()};v(S,J);if(B)var jc=[],kc=0,ic=function(){kc||(kc=window.setTimeout(function(){lc()},1000))},lc=function(a){for(var b=ka(),c=a||3000;jc.length&&b-jc[0].timestamp>=c;){var d=jc.shift().iframeElement;bb(d)}kc=window.setTimeout(mc,1000)},mc=function(){lc()};S.prototype.i=3;S.prototype.connect=function(){this.send("tp","SETUP")};
S.prototype.ca=function(a){if(a=="SETUP"){this.send("tp","SETUP_ACK");this.a.G()}else a=="SETUP_ACK"&&this.a.G()};
S.prototype.send=function(a,b){if(A){var c=document.createElement("div");c.innerHTML='<iframe onload="this.xpcOnload()"></iframe>';var d=c.childNodes[0];d.xpcOnload=nc}else{d=document.createElement("iframe");B?jc.push({timestamp:ka(),iframeElement:d}):$b(d,"load",nc)}var e=d.style;e.visibility="hidden";e.width=d.style.height="0px";e.position="absolute";var f=this.Xc;f+="#"+this.a.name;if(this.uc)f+=","+this.uc;f+="|"+a+":"+encodeURIComponent(b);d.src=f;document.body.appendChild(d)};
var nc=function(){bb(this);this.xpcOnload=k};window.xpcRelay=function(a,b){var c=b.indexOf(":"),d=b.substring(0,c),e=b.substring(c+1);I[a].v(d,decodeURIComponent(e))};S.prototype.b=function(){S.P.b.call(this);B&&lc(0)};var T=function(a,b){this.a=a;this.Fa=b||"*"};v(T,J);T.prototype.F=m;T.prototype.i=1;var oc=0,qc=function(){if(oc==0)$b(window.postMessage?window:document,"message",pc,m,T);oc++},pc=function(a){var b=a.Ca.data,c=b.indexOf("|"),d=b.indexOf(":");if(c==-1||d==-1)return m;var e=b.substring(0,c),f=b.substring(c+1,d),g=b.substring(d+1),i=I[e];if(i){i.v(f,g);return j}for(var n in I){var l=I[n];if(l.S()==1&&!l.h()&&f=="tp"&&g=="SETUP"){l.name=e;delete I[n];I[e]=l;l.v(f,g);return j}}return m};
T.prototype.ca=function(a){switch(a){case "SETUP":if(!this.ad){this.ad=j;this.send("tp","SETUP_ACK")}break;case "SETUP_ACK":this.a.G();break}};T.prototype.connect=function(){qc();this.F=j;this.ya()};T.prototype.ya=function(){if(!this.a.h()){this.send("tp","SETUP");window.setTimeout(t(this.ya,this),100)}};T.prototype.send=function(a,b){var c=this.a.j;if(c){var d=c.postMessage?c:c.document;this.send=function(e,f){d.postMessage(this.a.name+"|"+e+":"+f,this.Fa)};this.send(a,b)}};
T.prototype.b=function(){T.P.b.call(this);if(this.F){oc--;if(oc==0)bc(window.postMessage?window:document,"message",pc,m,T)}};var U=function(a){this.a=a;this.Jb=a.at||"";this.yc=a.rat||"";rc();this.GCXPC____NIXJS_handle_message=this.M;this.GCXPC____NIXJS_create_channel=this.Qb};v(U,J);
var rc=function(){if(!window.nix_setup_complete){var a="Class GCXPC____NIXVBS_wrapper\n Private m_Transport\nPrivate m_Auth\nPublic Sub SetTransport(transport)\nIf isEmpty(m_Transport) Then\nSet m_Transport = transport\nEnd If\nEnd Sub\nPublic Sub SetAuth(auth)\nIf isEmpty(m_Auth) Then\nm_Auth = auth\nEnd If\nEnd Sub\nPublic Function GetAuthToken()\n GetAuthToken = m_Auth\nEnd Function\nPublic Sub SendMessage(service, payload)\n Call m_Transport.GCXPC____NIXJS_handle_message(service, payload)\nEnd Sub\nPublic Sub CreateChannel(channel)\n Call m_Transport.GCXPC____NIXJS_create_channel(channel)\nEnd Sub\nPublic Sub GCXPC____NIXVBS_container()\n End Sub\nEnd Class\n Function GCXPC____NIXVBS_get_wrapper(transport, auth)\nDim wrap\nSet wrap = New GCXPC____NIXVBS_wrapper\nwrap.SetTransport transport\nwrap.SetAuth auth\nSet GCXPC____NIXVBS_get_wrapper = wrap\nEnd Function";try{window.execScript(a,
"vbscript");window.nix_setup_complete=j}catch(b){}}};U.prototype.i=6;U.prototype.U=m;U.prototype.N=k;U.prototype.connect=function(){this.a.S()==0?this.Pa():this.Oa()};U.prototype.Pa=function(){if(!this.U){var a=this.a.T;try{a.contentWindow.opener=window.GCXPC____NIXVBS_get_wrapper(this,this.Jb);this.U=j}catch(b){}this.U||window.setTimeout(t(this.Pa,this),100)}};
U.prototype.Oa=function(){if(!this.U){try{var a=window.opener;if(a&&"GCXPC____NIXVBS_container"in a){this.N=a;var b=this.N.GetAuthToken();if(b!=this.yc)return;this.N.CreateChannel(window.GCXPC____NIXVBS_get_wrapper(this,this.Jb));this.U=j;this.a.G()}}catch(c){return}this.U||window.setTimeout(t(this.Oa,this),100)}};U.prototype.Qb=function(a){this.N=a;var b=this.N.GetAuthToken();b!=this.yc||this.a.G()};U.prototype.M=function(a,b){function c(){this.a.v(a,b)}window.setTimeout(t(c,this),1)};
U.prototype.send=function(a,b){this.N.SendMessage(a,b)};U.prototype.b=function(){U.P.b.call(this);this.N=k};var V=function(a){D.call(this);this.f=a;this.name=this.f.cn||Db(10);this.Ab={};I[this.name]=this;$b(window,"unload",sc)};v(V,D);V.prototype.e=k;V.prototype.Ma=1;V.prototype.h=function(){return this.Ma==2};V.prototype.j=k;V.prototype.T=k;V.prototype.Cb=function(a){this.j=a};V.prototype.Xb=function(){var a;if(fa(document.postMessage)||fa(window.postMessage)||A&&window.postMessage)a=1;else if(Na)a=2;else if(A&&this.f.pru)a=3;else if(A)a=6;else if(this.f.lpu&&this.f.ppu)a=4;return a};
V.prototype.Sb=function(){if(!this.e){this.f.tp||(this.f.tp=this.Xb());switch(this.f.tp){case 1:this.e=new T(this,this.f.ph);break;case 6:this.e=new U(this);break;case 2:this.e=new K(this);break;case 3:this.e=new S(this);break;case 4:this.e=new L(this);break}if(!this.e)h(Error("CrossPageChannel: No suitable transport found!"))}};V.prototype.Ub=m;V.prototype.Nb=m;
V.prototype.connect=function(a){this.Uc=a||ca;if(this.Ub)this.Nb=j;else{if(this.f.ifrid)this.T=s(this.f.ifrid)?document.getElementById(this.f.ifrid):this.f.ifrid;if(this.T){var b=this.T.contentWindow;b||(b=window.frames[this.f.ifrid]);this.Cb(b)}if(!this.j)if(window==top)h(Error("CrossPageChannel: Can't connect, peer window-object not set."));else this.Cb(window.parent);this.Sb();this.e.connect()}};V.prototype.close=function(){if(this.h()){this.Ma=3;this.e.dispose();this.e=k}};
V.prototype.G=function(){if(!this.h()){this.Ma=2;this.Uc()}};V.prototype.sc=function(){this.close()};V.prototype.vb=function(a,b,c){this.Ab[a]={name:a,callback:b,jsonEncoded:!!c}};V.prototype.send=function(a,b){if(this.h())if(this.j.closed)this.close();else{if(ga(b))b=(new E).serialize(b);this.e.send(a,b)}};V.prototype.v=function(a,b){if(!a||a=="tp")this.e.ca(b);else if(this.h()){var c=this.Ab[a];if(c){if(c.jsonEncoded)try{b=fb(b)}catch(d){return}c.callback(b)}}};
V.prototype.S=function(){return window.parent==this.j?1:0};V.prototype.b=function(){V.P.b.call(this);this.close();this.T=this.j=k;delete this.Ab;I[this.name]=k};var sc=function(){for(var a in I){var b=I[a];b&&b.dispose()}};function tc(a,b){if(a=="true")return j;if(a=="false")return m;return b};var W=document;tc("",m);tc("",m);tc("",m);tc("",m);var uc=window;var vc=function(a){var b=a||W.location.protocol+"//"+W.location.host;return b+"/robots.txt"};var X=function(){this.p=this.Z=m;this.qb=j;this.n=this.m=this.fb=this.eb=0};X.prototype.Yb=function(a){if(a&&typeof a.width=="number"&&typeof a.height=="number"&&typeof a.expansionCallback=="function"&&typeof a.collapseCallback=="function"){this.eb=a.height;this.fb=a.width;this.Zb=a.expansionCallback;this.Mb=a.collapseCallback;this.Z=j}else this.Z=m;return this.Z};X.prototype.ha=function(){return this.m};X.prototype.ia=function(){return this.n};X.prototype.hb=function(){return this.eb};
X.prototype.ib=function(){return this.fb};X.prototype.ma=function(){return this.p};X.prototype.ob=function(){return this.Z};X.prototype.Eb=function(a){this.qb=a};X.prototype.Ic=function(){if(!this.Z)return m;if(this.p)return m;return j};X.prototype.Hc=function(){if(!this.Z)return m;if(!this.p)return m;return j};X.prototype.Oc=function(a,b,c){this.p=j;this.qb&&this.Lc(a,b,c);typeof this.Zb=="function"&&this.Zb(a,b,c)};
X.prototype.Nc=function(a,b){this.p=m;this.qb&&this.zc();typeof this.Mb=="function"&&this.Mb(a,b)};X.prototype.Lc=function(a,b,c){if(c==0||c==3){var d=a-this.n;if(d>0)W.body.style.marginLeft=d+"px"}if(c==0||c==1){var e=b-this.m;if(e>0)W.body.style.marginTop=e+"px"}};X.prototype.zc=function(){W.body.style.marginLeft="0";W.body.style.marginTop="0"};
var wc=function(a){u("CreativeToolset",a);u("CreativeToolset.prototype.collapseWindow",a.prototype.Ua);u("CreativeToolset.prototype.enableExpansion",a.prototype.cb);u("CreativeToolset.prototype.expandWindow",a.prototype.db);u("CreativeToolset.prototype.getCollapsedHeight",a.prototype.ha);u("CreativeToolset.prototype.getCollapsedWidth",a.prototype.ia);u("CreativeToolset.prototype.getExpandedHeight",a.prototype.hb);u("CreativeToolset.prototype.getExpandedWidth",a.prototype.ib);u("CreativeToolset.prototype.isExpanded",
a.prototype.ma);u("CreativeToolset.prototype.isExpansionEnabled",a.prototype.ob);u("CreativeToolset.prototype.shouldMaintainCoordinates",a.prototype.Eb)};var Y=function(){X.call(this)};v(Y,X);Y.prototype.cb=function(a){if(this.Yb(a)){this.lc(W.URL);return j}else return m};Y.prototype.Gc=function(a){a=new G(a);var b=a.jb("xpc"),c=a.jb("p"),d={};d.cn=b;d.ph=c;d.ppu=vc(c);d.lpu=vc();return d};Y.prototype.lc=function(a){var b=Za(uc||window);this.n=b.width;this.m=b.height;var c=this.Gc(a);this.a=new V(c);this.a.vb("expandable_ad",t(this.M,this));this.Ob()};Y.prototype.Ob=function(){this.a.connect(function(){});window.setTimeout(t(this.ka,this),30000)};
Y.prototype.ka=function(){if(this.a&&!this.a.h())this.a=k};Y.prototype.db=function(){this.Ic()&&this.wb("expand_w"+this.fb+"_h"+this.eb)};Y.prototype.Ua=function(){this.Hc()&&this.wb("collapse")};Y.prototype.wb=function(a){this.a&&this.a.h()&&this.a.send("expandable_ad",a)};
Y.prototype.M=function(a){var b=a.split("_");if(!(b[0]!="ok")){for(var c,d,e,f=2;f<b.length;++f){var g=b[f].charAt(0),i=parseInt(b[f].substring(1),10);if(g=="w")c=i;else if(g=="h")d=i;else if(g=="d")e=i}if(b[1]=="expand"&&typeof c=="number"&&typeof d=="number"&&typeof e=="number"&&c>0&&d>0&&e>=0)this.Oc(c,d,e);else b[1]=="collapse"&&typeof c=="number"&&typeof d=="number"&&c>0&&d>0&&this.Nc(c,d)}};wc(Y);var xc,yc,zc,Ac,Bc,Cc,Dc=function(){Cc=Bc=Ac=zc=yc=xc=m;var a=Ja();if(a)if(a.indexOf("Firefox")!=-1)xc=j;else if(a.indexOf("Camino")!=-1)yc=j;else if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1)zc=j;else if(a.indexOf("Android")!=-1)Ac=j;else if(a.indexOf("Chrome")!=-1)Bc=j;else if(a.indexOf("Safari")!=-1)Cc=j};Dc();var Ec=function(a,b){var c=Xa(a);if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return k},Fc=function(a,b){return Ec(a,b)||(a.currentStyle?a.currentStyle[b]:k)||a.style[b]},Gc=function(a){var b;b=a?a.nodeType==9?a:Xa(a):document;if(A&&!Ya(b).nc())return b.body;return b.documentElement},Hc=function(a){var b=a.getBoundingClientRect();if(A){var c=a.ownerDocument;b.left-=c.documentElement.clientLeft+c.body.clientLeft;b.top-=c.documentElement.clientTop+
c.body.clientTop}return b},Ic=function(a){if(A)return a.offsetParent;for(var b=Xa(a),c=Fc(a,"position"),d=c=="fixed"||c=="absolute",e=a.parentNode;e&&e!=b;e=e.parentNode){c=Fc(e,"position");d=d&&c=="static"&&e!=b.documentElement&&e!=b.body;if(!d&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight||c=="fixed"||c=="absolute"))return e}return k},Jc=function(a){var b,c=Xa(a),d=Fc(a,"position"),e=Na&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=c.getBoxObjectFor(a))&&(b.screenX<
0||b.screenY<0),f=new x(0,0),g=Gc(c);if(a==g)return f;if(a.getBoundingClientRect){b=Hc(a);var i=Ya(c).gb();f.x=b.left+i.x;f.y=b.top+i.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);var n=c.getBoxObjectFor(g);f.x=b.screenX-n.screenX;f.y=b.screenY-n.screenY}else{var l=a;do{f.x+=l.offsetLeft;f.y+=l.offsetTop;if(l!=a){f.x+=l.clientLeft||0;f.y+=l.clientTop||0}if(B&&Fc(l,"position")=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;break}l=l.offsetParent}while(l&&l!=a);if(Ma||B&&d=="absolute")f.y-=
c.body.offsetTop;for(l=a;(l=Ic(l))&&l!=c.body&&l!=g;){f.x-=l.scrollLeft;if(!Ma||l.tagName!="TR")f.y-=l.scrollTop}}return f},Kc=function(a){var b=new x;if(a.nodeType==1)if(a.getBoundingClientRect){var c=Hc(a);b.x=c.left;b.y=c.top}else{var d=Ya(a).gb(),e=Jc(a);b.x=e.x-d.x;b.y=e.y-d.y}else{b.x=a.clientX;b.y=a.clientY}return b};Na&&Va("1.9");var Z=function(a,b,c,d){this.p=m;this.ic=a;this.Mc=b;this.n=c;this.m=d};Z.prototype.ma=function(){return this.p};Z.prototype.ia=function(){return this.n};Z.prototype.ha=function(){return this.m};Z.prototype.collapse=function(){var a=this.Da();if(a){a.style.width=this.n+"px";a.style.height=this.m+"px";a.style.left="0";a.style.top="0";a.style.zIndex="";if(a.parentNode.nodeName.toLowerCase()=="ins"){a.parentNode.style.zIndex="";a.parentNode.parentNode.style.zIndex=""}this.p=m}};
Z.prototype.expand=function(a,b,c){var d=this.Da();if(d){d.style.width=a+"px";d.style.height=b+"px";d.style.zIndex=999999;if(d.parentNode.nodeName.toLowerCase()=="ins"){d.parentNode.style.zIndex=999999;d.parentNode.parentNode.style.zIndex=999999}if(a>this.n&&(c==0||c==3))d.style.left="-"+(a-this.n)+"px";if(b>this.m&&(c==1||c==0))d.style.top="-"+(b-this.m)+"px";this.p=j}};
Z.prototype.Wb=function(a,b){var c=Kc(this.Da()),d=Za(window||window),e=a-this.n,f=b-this.m,g=c.y,i=f>g,n=d.height-(c.y+this.m),l=i||n>=g,o=c.x,q=e>o,w=d.width-(c.x+this.n),z=q||w>=o,Q=2;if(l&&!z)Q=3;else if(!l&&z)Q=1;else if(!l&&!z)Q=0;return Q};Z.prototype.Da=function(){if(!this.jc)this.jc=W.getElementById(this.ic);return this.jc};var $=function(a,b){this.I=a;this.Tc=b;this.Fa=this.ac(a.Mc);this.kc(this.bc(this.I))};$.prototype.bc=function(a){var b={};b.ifrid=a.ic;b.pu=a.Mc;b.ph=this.Fa;b.cn=this.Tc;b.ppu=vc(this.Fa);b.lpu=vc();return b};$.prototype.kc=function(a){this.a=new V(a);this.a.vb("expandable_ad",t(this.M,this));this.Va();window.setTimeout(t(this.ka,this),30000)};$.prototype.Va=function(){if(this.a)try{this.a.connect()}catch(a){window.setTimeout(t(this.Va,this),10)}};
$.prototype.ka=function(){if(this.a&&!this.a.h()){this.a.e.connect=function(){};if(this.a.e.i==1)this.a.e.ya=function(){};if(this.a.e.i==4)this.a.e.bd=function(){};this.a.e.dispose();this.a.dispose()}};$.prototype.ac=function(a){var b=zb(W.URL,a),c=b.l+"://"+b.w;if(b.mb())c+=":"+b.t;return c};$.prototype.M=function(a){var b=a.split("_"),c=b[0];if(c=="expand")this.dc(b);else c=="collapse"&&this.cc()};$.prototype.xb=function(a){this.a.send("expandable_ad",a)};
$.prototype.dc=function(a){if(!this.I.p){for(var b=0,c=0,d=0;d<a.length;++d){var e=a[d].charAt(0);if(e=="w")b=parseInt(a[d].substring(1),10);else if(e=="h")c=parseInt(a[d].substring(1),10)}var f=this.I.Wb(b,c);this.I.expand(b,c,f);this.xb("ok_expand_w"+b+"_h"+c+"_d"+f)}};$.prototype.cc=function(){if(this.I.p){this.I.collapse();this.xb("ok_collapse_w"+this.I.n+"_h"+this.I.m)}};
var Mc=function(a){var b=a.google_frame_id;b||(b="google_frame_"+Math.floor(Math.random()*2147483647));var c=a.google_ad_url,d=parseInt(a.google_ad_width,10),e=parseInt(a.google_ad_height,10),f=a.google_container_id,g=Lc(b,c,d,e,f);return a[b]=g};u("ExpandableAdSlotFactory.createIframeFromWindow",Mc);var Lc=function(a,b,c,d,e){if(!a||!b||c<=0||d<=0)return k;var f=Db(10);b=Nc(b,f);Oc(a,b,c,d,e);var g=new Z(a,b,c,d);return new $(g,f)};u("ExpandableAdSlotFactory.createIframe",Lc);
function Nc(a,b){return a+(a.indexOf("?")==-1?"?":"&")+"xpc="+b+"&p="+escape(W.location.protocol+"//"+W.location.host)}
var Oc=function(a,b,c,d,e){var f="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px",g='<ins style="display:inline-table;'+f+'"><ins style="display:block;'+f+'"><iframe allowtransparency=true frameborder=0 height='+d+" hspace=0 id="+a+' marginheight=0 marginwidth=0 name=google_ads_frame scrolling=no src="'+b+'" style="left:0;position:absolute;top:0" vspace=0 width='+c+"></iframe></ins></ins>",i=e?W.getElementById(e):k;if(i)i.innerHTML=g;else W.write(g);
return W.getElementById(a)},Rc=function(a,b,c,d){if(!a||!b||c<=0||d<=0)return k;var e=Db(10);b=Nc(b,e);var f=Pc(a,b,c,d),g=new Z(a,b,c,d);window["expandableAdSlot_"+a]=new $(g,e);return Qc(f,c,d)};u("DhtmlExpandableIframeFactory.createElement",Rc);
var Qc=function(a,b,c){var d="border:none;height:"+c+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+b+"px",e=W.createElement("ins");e.style.cssText="display:inline-table;"+d;var f=W.createElement("ins");f.style.cssText="display:block;"+d;f.appendChild(a);e.appendChild(f);return e},Pc=function(a,b,c,d){var e=document.createElement("iframe");e.style.cssText="border:none;height:"+d+"px;margin:0;padding:0;position:relative;visibility:visible;width:"+c+"px";e.name="google_ads_frame";
e.id=a;e.src=b;e.style.cssText="left:0;position:absolute;top:0";e.width=c;e.height=d;e.frameBorder=0;e.hspace=0;e.vspace=0;e.scrolling="no";e.marginheight=0;e.marginwidth=0;e.allowtransparency=j;return e};
})()

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,39 @@
if (!window['google']) {
window['google'] = {};
}
if (!window['google']['loader']) {
window['google']['loader'] = {};
google.loader.ServiceBase = 'http://www.google.com/uds';
google.loader.GoogleApisBase = 'http://ajax.googleapis.com/ajax';
google.loader.ApiKey = 'ABQIAAAAAI0U7dOyWxxF_cSIW4nMZRTJW04jWDlDEyoTxmNQaHycS5XgLRSgWHt9iq9E3JT3Bz71L8U9sSjZyw';
google.loader.KeyVerified = true;
google.loader.LoadFailure = false;
google.loader.Secure = false;
google.loader.ClientLocation = null;
google.loader.AdditionalParams = '';
google.loader.OriginalAppPath = 'http://blog.ahfr.org/2008/08/fuckin-ffmpeg.html';
(function() {var e=true,f=null,h=false,i=encodeURIComponent,j=window,k=google,m=undefined,n=document;function o(a,b){return a.load=b}var p="push",q="length",r="prototype",s="setTimeout",t="replace",v="charAt",w="loader",x="substring",A="ServiceBase",B="name",C="getTime",D="toLowerCase";function E(a){if(a in F)return F[a];return F[a]=navigator.userAgent[D]().indexOf(a)!=-1}var F={};function G(a,b){var c=function(){};c.prototype=b[r];a.K=b[r];a.prototype=new c}
function H(a,b){var c=a.w||[];c=c.concat(Array[r].slice.call(arguments,2));if(typeof a.r!="undefined")b=a.r;if(typeof a.q!="undefined")a=a.q;var d=function(){var g=c.concat(Array[r].slice.call(arguments));return a.apply(b,g)};d.w=c;d.r=b;d.q=a;return d}function I(a){var b=new Error(a);b.toString=function(){return this.message};return b}function J(a,b){for(var c=a.split(/\./),d=j,g=0;g<c[q]-1;g++){d[c[g]]||(d[c[g]]={});d=d[c[g]]}d[c[c[q]-1]]=b}function K(a,b,c){a[b]=c}if(!L)var L=J;if(!aa)var aa=K;k[w].s={};L("google.loader.callbacks",k[w].s);var M={},N={};k[w].eval={};L("google.loader.eval",k[w].eval);
o(k,function(a,b,c){var d=M[":"+a];if(d){if(c&&!c.language&&c.locale)c.language=c.locale;if(c&&typeof c.callback=="string"){var g=c.callback;if(g.match(/^[[\]A-Za-z0-9._]+$/)){g=j.eval(g);c.callback=g}}var l=c&&c.callback!=f;if(l&&!d.p(b))throw I("Module: '"+a+"' must be loaded before DOM onLoad!");else if(l)d.k(b,c)?j[s](c.callback,0):d.load(b,c);else d.k(b,c)||d.load(b,c)}else throw I("Module: '"+a+"' not found!");});L("google.load",k.load);k.J=function(a,b){b?ba(a):O(j,"load",a)};
L("google.setOnLoadCallback",k.J);function O(a,b,c){if(a.addEventListener)a.addEventListener(b,c,h);else if(a.attachEvent)a.attachEvent("on"+b,c);else{var d=a["on"+b];a["on"+b]=d!=f?ca([c,d]):c}}function ca(a){return function(){for(var b=0;b<a[q];b++)a[b]()}}var P=[];
function ba(a){if(P[q]==0){O(j,"load",R);if(!E("msie")&&!(E("safari")||E("konqueror"))&&E("mozilla")||j.opera)j.addEventListener("DOMContentLoaded",R,h);else if(E("msie"))n.write("<script defer onreadystatechange='google.loader.domReady()' src=//:><\/script>");else(E("safari")||E("konqueror"))&&j[s](S,10)}P[p](a)}k[w].D=function(){var a=j.event.srcElement;if(a.readyState=="complete"){a.onreadystatechange=f;a.parentNode.removeChild(a);R()}};L("google.loader.domReady",k[w].D);var da={loaded:e,complete:e};
function S(){if(da[n.readyState])R();else P[q]>0&&j[s](S,10)}function R(){for(var a=0;a<P[q];a++)P[a]();P.length=0}
k[w].d=function(a,b,c){if(c){var d;if(a=="script"){d=n.createElement("script");d.type="text/javascript";d.src=b}else if(a=="css"){d=n.createElement("link");d.type="text/css";d.href=b;d.rel="stylesheet"}var g=n.getElementsByTagName("head")[0];g||(g=n.body.parentNode.appendChild(n.createElement("head")));g.appendChild(d)}else if(a=="script")n.write('<script src="'+b+'" type="text/javascript"><\/script>');else a=="css"&&n.write('<link href="'+b+'" type="text/css" rel="stylesheet"></link>')};
L("google.loader.writeLoadTag",k[w].d);k[w].G=function(a){N=a};L("google.loader.rfm",k[w].G);k[w].I=function(a){for(var b in a)if(typeof b=="string"&&b&&b[v](0)==":"&&!M[b])M[b]=new T(b[x](1),a[b])};L("google.loader.rpl",k[w].I);k[w].H=function(a){if((a=a.specs)&&a[q])for(var b=0;b<a[q];++b){var c=a[b];if(typeof c=="string")M[":"+c]=new U(c);else{var d=new V(c[B],c.baseSpec,c.customSpecs);M[":"+d[B]]=d}}};L("google.loader.rm",k[w].H);k[w].loaded=function(a){M[":"+a.module].i(a)};
L("google.loader.loaded",k[w].loaded);J("google_exportSymbol",J);J("google_exportProperty",K);function U(a){this.a=a;this.n={};this.b={};this.j=e;this.c=-1}
U[r].f=function(a,b){var c="";if(b!=m){if(b.language!=m)c+="&hl="+i(b.language);if(b.nocss!=m)c+="&output="+i("nocss="+b.nocss);if(b.nooldnames!=m)c+="&nooldnames="+i(b.nooldnames);if(b.packages!=m)c+="&packages="+i(b.packages);if(b.callback!=f)c+="&async=2";if(b.other_params!=m)c+="&"+b.other_params}if(!this.j){if(k[this.a]&&k[this.a].JSHash)c+="&sig="+i(k[this.a].JSHash);var d=[];for(var g in this.n)g[v](0)==":"&&d[p](g[x](1));for(g in this.b)g[v](0)==":"&&d[p](g[x](1));c+="&have="+i(d.join(","))}return k[w][A]+
"/?file="+this.a+"&v="+a+k[w].AdditionalParams+c};U[r].u=function(a){var b=f;if(a)b=a.packages;var c=f;if(b)if(typeof b=="string")c=[a.packages];else if(b[q]){c=[];for(var d=0;d<b[q];d++)typeof b[d]=="string"&&c[p](b[d][t](/^\s*|\s*$/,"")[D]())}c||(c=["default"]);var g=[];for(d=0;d<c[q];d++)this.n[":"+c[d]]||g[p](c[d]);return g};
o(U[r],function(a,b){var c=this.u(b),d=b&&b.callback!=f;if(d)var g=new W(b.callback);for(var l=[],u=c[q]-1;u>=0;u--){var y=c[u];d&&g.z(y);if(this.b[":"+y]){c.splice(u,1);d&&this.b[":"+y][p](g)}else l[p](y)}if(c[q]){if(b&&b.packages)b.packages=c.sort().join(",");if(!b&&N[":"+this.a]!=f&&N[":"+this.a].versions[":"+a]!=f&&!k[w].AdditionalParams&&this.j){var z=N[":"+this.a];k[this.a]=k[this.a]||{};for(var Q in z.properties)if(Q&&Q[v](0)==":")k[this.a][Q[x](1)]=z.properties[Q];k[w].d("script",k[w][A]+
z.path+z.js,d);z.css&&k[w].d("css",k[w][A]+z.path+z.css,d)}else if(!b||!b.autoloaded)k[w].d("script",this.f(a,b),d);if(this.j){this.j=h;this.c=(new Date)[C]();if(this.c%100!=1)this.c=-1}for(u=0;u<l[q];u++){y=l[u];this.b[":"+y]=[];d&&this.b[":"+y][p](g)}}});
U[r].i=function(a){if(this.c!=-1){X("al_"+this.a,"jl."+((new Date)[C]()-this.c),e);this.c=-1}for(var b=0;b<a.components[q];b++){this.n[":"+a.components[b]]=e;var c=this.b[":"+a.components[b]];if(c){for(var d=0;d<c[q];d++)c[d].C(a.components[b]);delete this.b[":"+a.components[b]]}}X("hl",this.a)};U[r].k=function(a,b){return this.u(b)[q]==0};U[r].p=function(){return e};function W(a){this.B=a;this.l={};this.o=0}W[r].z=function(a){this.o++;this.l[":"+a]=e};
W[r].C=function(a){if(this.l[":"+a]){this.l[":"+a]=h;this.o--;this.o==0&&j[s](this.B,0)}};function V(a,b,c){this.name=a;this.A=b;this.m=c;this.t=this.g=h;this.h=[];k[w].s[this[B]]=H(this.i,this)}G(V,U);o(V[r],function(a,b){var c=b&&b.callback!=f;if(c){this.h[p](b.callback);b.callback="google.loader.callbacks."+this[B]}else this.g=e;if(!b||!b.autoloaded)k[w].d("script",this.f(a,b),c);X("el",this[B])});V[r].k=function(a,b){return b&&b.callback!=f?this.t:this.g};V[r].i=function(){this.t=e;for(var a=0;a<this.h[q];a++)j[s](this.h[a],0);this.h=[]};
var Y=function(a,b){return a.string?i(a.string)+"="+i(b):a.regex?b[t](/(^.*$)/,a.regex):""};V[r].f=function(a,b){return this.F(this.v(a),a,b)};
V[r].F=function(a,b,c){var d="";if(a.key)d+="&"+Y(a.key,k[w].ApiKey);if(a.version)d+="&"+Y(a.version,b);var g=k[w].Secure&&a.ssl?a.ssl:a.uri;if(c!=f)for(var l in c)if(a.params[l])d+="&"+Y(a.params[l],c[l]);else if(l=="other_params")d+="&"+c[l];else if(l=="base_domain")g="http://"+c[l]+a.uri[x](a.uri.indexOf("/",7));k[this[B]]={};if(g.indexOf("?")==-1&&d)d="?"+d[x](1);return g+d};V[r].p=function(a){return this.v(a).deferred};
V[r].v=function(a){if(this.m)for(var b=0;b<this.m[q];++b){var c=this.m[b];if((new RegExp(c.pattern)).test(a))return c}return this.A};function T(a,b){this.a=a;this.e=b;this.g=h}G(T,U);o(T[r],function(a,b){this.g=e;k[w].d("script",this.f(a,b),h)});T[r].k=function(){return this.g};T[r].i=function(){};T[r].f=function(a,b){if(!this.e.versions[":"+a]){if(this.e.aliases){var c=this.e.aliases[":"+a];if(c)a=c}if(!this.e.versions[":"+a])throw I("Module: '"+this.a+"' with version '"+a+"' not found!");}var d=k[w].GoogleApisBase+"/libs/"+this.a+"/"+a+"/"+this.e.versions[":"+a][b&&b.uncompressed?"uncompressed":"compressed"];X("el",this.a);return d};
T[r].p=function(){return h};var ea=h,Z=[],fa=(new Date)[C](),X=function(a,b,c){if(!ea){O(j,"unload",ga);ea=e}if(c){if(!k[w].Secure&&(!k[w].Options||k[w].Options.csi===h)){a=a[D]()[t](/[^a-z0-9_.]+/g,"_");b=b[D]()[t](/[^a-z0-9_.]+/g,"_");var d="http://csi.gstatic.com/csi?s=uds&v=2&action="+i(a)+"&it="+i(b);j[s](H($,f,d),10000)}}else{Z[p]("r"+Z[q]+"="+i(a+(b?"|"+b:"")));j[s](ga,Z[q]>5?0:15000)}},ga=function(){if(Z[q]){$(k[w][A]+"/stats?"+Z.join("&")+"&nc="+(new Date)[C]()+"_"+((new Date)[C]()-fa));Z.length=0}},$=function(a){var b=
new Image,c=ha++;ia[c]=b;b.onload=b.onerror=function(){delete ia[c]};b.src=a;b=f},ia={},ha=0;J("google.loader.recordStat",X);J("google.loader.createImageForLogging",$);
}) ();google.loader.rm({"specs":[{"name":"books","baseSpec":{"uri":"http://books.google.com/books/api.js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"}}}},"feeds",{"name":"friendconnect","baseSpec":{"uri":"http://www.google.com/friendconnect/script/friendconnect.js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":false,"params":{}}},"spreadsheets","gdata","visualization",{"name":"sharing","baseSpec":{"uri":"http://www.google.com/s2/sharing/js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":false,"params":{"language":{"string":"hl"}}}},"search",{"name":"maps","baseSpec":{"uri":"http://maps.google.com/maps?file\u003dgoogleapi","ssl":"https://maps-api-ssl.google.com/maps?file\u003dgoogleapi","key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"regex":"callback\u003d$1\u0026async\u003d2"},"language":{"string":"hl"}}},"customSpecs":[{"uri":"http://maps.google.com/maps/api/js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"}},"pattern":"^(3|3..*)$"}]},{"name":"annotations_v2","baseSpec":{"uri":"http://www.google.com/uds?file\u003dannotations","ssl":"https://www.google.com/uds?file\u003dannotations","key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"},"country":{"string":"gl"}}}},"language","earth",{"name":"annotations","baseSpec":{"uri":"http://www.google.com/reviews/scripts/annotations_bootstrap.js","ssl":null,"key":{"string":"key"},"version":{"string":"v"},"deferred":true,"params":{"callback":{"string":"callback"},"language":{"string":"hl"},"country":{"string":"gl"}}}},"ads","elements"]});
google.loader.rfm({":feeds":{"versions":{":1":"1",":1.0":"1"},"path":"/api/feeds/1.0/8e09eed7fc0dd59c80503ea502548a85/","js":"default+en.I.js","css":"default.css","properties":{":JSHash":"8e09eed7fc0dd59c80503ea502548a85",":Version":"1.0"}},":search":{"versions":{":1":"1",":1.0":"1"},"path":"/api/search/1.0/fadf0e8d483d0f70bea11d5905010a16/","js":"default+en.I.js","css":"default.css","properties":{":JSHash":"fadf0e8d483d0f70bea11d5905010a16",":NoOldNames":false,":Version":"1.0"}},":language":{"versions":{":1":"1",":1.0":"1"},"path":"/api/language/1.0/29395d8ca8eacf88fb7b105f17c65fa5/","js":"default+en.I.js","properties":{":JSHash":"29395d8ca8eacf88fb7b105f17c65fa5",":Version":"1.0"}},":earth":{"versions":{":1":"1",":1.0":"1"},"path":"/api/earth/1.0/dfcdfd0d1a09b3ae4f7f02474b574a2f/","js":"default.I.js","properties":{":JSHash":"dfcdfd0d1a09b3ae4f7f02474b574a2f",":Version":"1.0"}},":annotations":{"versions":{":1":"1",":1.0":"1"},"path":"/api/annotations/1.0/fe14b8e2d2893999cbfa655e5b84c604/","js":"default+en.I.js","properties":{":JSHash":"fe14b8e2d2893999cbfa655e5b84c604",":Version":"1.0"}},":ads":{"versions":{":1":"1",":1.0":"1"},"path":"/api/ads/1.0/72c904a1ad0150d2eca8975e0e473fd5/","js":"default.I.js","properties":{":JSHash":"72c904a1ad0150d2eca8975e0e473fd5",":Version":"1.0"}}});
google.loader.rpl({":scriptaculous":{"versions":{":1.8.2":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"},":1.8.1":{"uncompressed":"scriptaculous.js","compressed":"scriptaculous.js"}},"aliases":{":1.8":"1.8.2",":1":"1.8.2"}},":yui":{"versions":{":2.6.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"},":2.7.0":{"uncompressed":"build/yuiloader/yuiloader.js","compressed":"build/yuiloader/yuiloader-min.js"}},"aliases":{":2":"2.7.0",":2.7":"2.7.0",":2.6":"2.6.0"}},":swfobject":{"versions":{":2.1":{"uncompressed":"swfobject_src.js","compressed":"swfobject.js"},":2.2":{"uncompressed":"swfobject_src.js","compressed":"swfobject.js"}},"aliases":{":2":"2.2"}},":ext-core":{"versions":{":3.0.0":{"uncompressed":"ext-core-debug.js","compressed":"ext-core.js"}},"aliases":{":3":"3.0.0",":3.0":"3.0.0"}},":mootools":{"versions":{":1.2.3":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.1":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.2.2":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"},":1.11":{"uncompressed":"mootools.js","compressed":"mootools-yui-compressed.js"}},"aliases":{":1":"1.11"}},":jqueryui":{"versions":{":1.7.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.6.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.0":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.7.1":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.5.3":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"},":1.5.2":{"uncompressed":"jquery-ui.js","compressed":"jquery-ui.min.js"}},"aliases":{":1.7":"1.7.2",":1":"1.7.2",":1.6":"1.6.0",":1.5":"1.5.3"}},":prototype":{"versions":{":1.6.0.2":{"uncompressed":"prototype.js","compressed":"prototype.js"},":1.6.0.3":{"uncompressed":"prototype.js","compressed":"prototype.js"}},"aliases":{":1":"1.6.0.3",":1.6":"1.6.0.3"}},":jquery":{"versions":{":1.2.3":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.1":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.0":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.3.2":{"uncompressed":"jquery.js","compressed":"jquery.min.js"},":1.2.6":{"uncompressed":"jquery.js","compressed":"jquery.min.js"}},"aliases":{":1":"1.3.2",":1.3":"1.3.2",":1.2":"1.2.6"}},":dojo":{"versions":{":1.2.3":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.1.1":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.3.2":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"},":1.2.0":{"uncompressed":"dojo/dojo.xd.js.uncompressed.js","compressed":"dojo/dojo.xd.js"}},"aliases":{":1":"1.3.2",":1.3":"1.3.2",":1.2":"1.2.3",":1.1":"1.1.1"}}});
}

View File

@ -0,0 +1,50 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr"><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8"><link href="navbar_data/2461938849-navbar1_bundle.css" rel="stylesheet" type="text/css">
<!-- base --></head><body class="null lang_en"><script type="text/javascript" src="navbar_data/4095335807-common.js"></script>
<script type="text/javascript">
function showDrop() {
var overlap = 5;
var dropdown_position =
GetPageOffsetRight(document.getElementById('b-flag-this')) - overlap + "px";
document.getElementById('flagi').style.display = 'inline';
document.getElementById('flagi').style.left = dropdown_position;
}
function hideDrop() {
document.getElementById('flagi').style.display = "none";
}
</script>
<div id="flagi" style="position: absolute;" onmouseover="showDrop()" onmouseout="hideDrop();">Notify Blogger about <a href="http://help.blogger.com/bin/answer.py?answer=42517" target="_blank">objectionable content</a> on this page.</div>
<div id="unflagi" style="position: absolute;" onmouseover="showDrop()" onmouseout="hideDrop()">You flagged this blog as having <a href="http://help.blogger.com/bin/answer.py?answer=42517" target="_blank">objectionable content</a>.</div>
<div id="b-navbar"><a href="http://www.blogger.com/" id="b-logo" tabindex="1" title="Go to Blogger.com"><div id="navbar-logo"><span>Blogger</span></div></a>
<div id="b-sms" class="b-mobile"><a href="sms:?body=Hi%2C%20check%20out%20blogggggg.ahfr.org%20at%20http%3A%2F%2Fblog.ahfr.org%2F" tabindex="2">Send As SMS</a></div>
<div id="b-search"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td class="navsearch" nowrap="nowrap" valign="middle"><form id="searchthis" action="http://blog.ahfr.org/search" method="get" style="display: inline;"><table cellpadding="0" cellspacing="0"><tbody><tr><td valign="middle"><input id="b-query" name="q" tabindex="3" title="Search Blog" type="text"></td>
<td class="navbutton" valign="middle"><noscript><input type="image"
src="http://www.blogger.com/img/navbar/1/btn_search_this.png"
id="b-searchbtn" tabindex="4" alt="Search This Blog" title="Search this
blog"></noscript>
<script type="text/javascript">
document.write("\x3cdiv id\x3d\x22b-search-this\x22 class\x3d\x22btn\x22 onclick\x3d\x22document.getElementById(\x26#39;searchthis\x26#39;).submit()\x22 tabindex\x3d\x224\x22\x3e\x3cdiv\x3eSearch Blog\x3c/div\x3e\x3c/div\x3e");
</script><div id="b-search-this" class="btn" onclick="document.getElementById('searchthis').submit()" tabindex="4"><div>Search Blog</div></div></td>
<td class="navbutton" valign="middle"><script type="text/javascript">
document.write("\x3cdiv id\x3d\x22b-flag-this\x22 class\x3d\x22btn\x22 onmouseover\x3d\x22showDrop()\x22 onmouseout\x3d\x22hideDrop()\x22 tabindex\x3d\x225\x22 onclick\x3d\x22window.open(\x26quot;http://help.blogger.com/?action\\x3dflag\\x26blog_ID\\x3d3943397105358047332\\x26blog_URL\\x3dhttp%3A%2F%2Fblog.ahfr.org%2F\x26quot;)\x22\x3e\x3cdiv id\x3d\x22bt-flag-body\x22\x3e\x3cimg class\x3d\x22flag\x22 alt\x3d\x22\x22 src\x3d\x22/img/blank.gif\x22\x3e\n\x3cspan class\x3d\x22flag-text\x22\x3eFlag Blog\x3c/span\x3e\x3c/div\x3e\x3c/div\x3e");
</script><div id="b-flag-this" class="btn" onmouseover="showDrop()" onmouseout="hideDrop()" tabindex="5" onclick='window.open("http://help.blogger.com/?action\x3dflag\x26blog_ID\x3d3943397105358047332\x26blog_URL\x3dhttp%3A%2F%2Fblog.ahfr.org%2F")'><div id="bt-flag-body"><img class="flag" alt="" src="navbar_data/blank.gif">
<span class="flag-text">Flag Blog</span></div></div></td></tr></tbody></table></form></td>
<td width="100%" nowrap="nowrap" valign="middle"><a href="http://www.blogger.com/next-blog?navBar=true" id="b-next" tabindex="6">Next Blog»</a></td>
<td class="navbar-right" align="right" nowrap="nowrap" valign="middle">
<a href="http://www.blogger.com/signup.g" id="b-getorpost" tabindex="7">Create Blog</a>
|
<a href="http://www.blogger.com/" tabindex="8">Sign In</a></td></tr></tbody></table>
<div id="b-search-img"></div></div></div>
<script type="text/javascript">
function closePopup(wnd) {
wnd.close();
}
</script>
</body></html>

View File

@ -0,0 +1 @@
body{padding:0;margin:0;font-family:"Trebuchet MS",Verdana,Arial,Sans-serif;font-size:100%;white-space:nowrap}a{text-decoration:none}#b-navbar{height:29px;border-bottom:1px solid #024;font-size:.85em;line-height:.85em}#b-navbar #b-logo{position:absolute;top:.15em;left:5px}#b-navbar #b-logo #navbar-logo{width:24px;height:24px}#b-navbar #b-logo span{display:block;position:absolute;left:-9000px}#b-search{margin:0 0 0 34px;padding:4px 1em 3px 0}#b-search-img{float:left;width:3px;height:3px}#b-search table{margin-left:.5em}#b-search td{vertical-align:middle}#b-query{margin:0 .5em 0 0}.btn{border-top:1px solid;border-bottom:1px solid;margin:0 .5em 0 1px;padding:0;font-size:.8em;line-height:.85em;text-transform:uppercase;white-space:nowrap;cursor:pointer;cursor:hand}.btn div{border-left:1px solid;border-right:1px solid;margin:0 -1px;padding:.21em .3em;height:.85em;position:relative}.btn div img{#position:absolute;#top:.2em;#left:.3em}#bt-unflag-body{display:none}.flagged #bt-flag-body{display:none}.flagged #bt-unflag-body{display:block}#flagi,#unflagi{display:none;top:3px;color:#000;background-color:#ff9;border:1px solid #333;z-index:300;padding:4px;font-size:.7em;line-height:.8em}#flagi a,#unflagi a{color:#36c;text-decoration:underline}.b-mobile{display:none}#b-sms{margin:0 0 0 100px;padding:4px 7px;line-height:1em;font-size:100%;text-align:left}#b-sms a{margin-right:.5em;line-height:1em}#b-sms a:hover{text-decoration:underline}@media handheld{body .b-mobile{display:block}body #b-search,body #flagi,body #unflagi{display:none}body #b-navbar #b-logo span{display:none}}.btn .flag-text{#padding-left:10px}.btn .flag{width:6px;height:8px;padding:0;margin:0 1px 0 0}body{color:#fff}a,.btn div{color:#9cf}a:hover{color:#fff}#navbar-logo{background:url("/img/navbar/1/navbar_sprite.png") no-repeat -6px 0}#b-navbar{background-color:#036;border-bottom:1px solid #024}#b-search{background:#147}#b-search-img{background:#147 url("/img/navbar/1/navbar_sprite.png") no-repeat 0 0}#b-query{border:1px solid #47a}.btn,.btn div{border-color:#47a}.btn div:hover{background-color:#47a}.btn #bt-flag-body .flag{background:url("/img/navbar/1/navbar_sprite.png") no-repeat 0 -11px}.btn #bt-unflag-body .flag{background:url("/img/navbar/1/navbar_sprite.png") no-repeat 0 -3px}

View File

@ -0,0 +1,799 @@
// Copied from .../google3/javascript/common.js
//------------------------------------------------------------------------
// This file contains common utilities and basic javascript infrastructure.
//
// Notes:
// * Press 'D' to toggle debug mode.
//
// Functions:
//
// - Assertions
// DEPRECATED: Use assert.js
// AssertTrue(): assert an expression. Throws an exception if false.
// Fail(): Throws an exception. (Mark block of code that should be unreachable)
// AssertEquals(): assert that two values are equal.
// AssertNumArgs(): assert number of arguments for the function
// AssertType(): assert that a value has a particular type
//
// - Cookies
// SetCookie(): Sets a cookie.
// GetCookie(): Gets a cookie value.
//
// - Dynamic HTML/DOM utilities
// MaybeGetElement(): get an element by its id
// GetElement(): get an element by its id
// ShowElement(): Show/hide element by setting the "display" css property.
// ShowBlockElement(): Show/hide block element
// AppendNewElement(): Create and append a html element to a parent node.
// HasClass(): check if element has a given class
// AddClass(): add a class to an element
// RemoveClass(): remove a class from an element
//
// - Window/Screen utiltiies
// GetPageOffsetLeft(): get the X page offset of an element
// GetPageOffsetTop(): get the Y page offset of an element
// GetPageOffset(): get the X and Y page offsets of an element
// GetPageOffsetRight() : get X page offset of the right side of an element
// GetPageOffsetBottom() : get Y page offset of the bottom of an element
// GetScrollTop(): get the vertical scrolling pos of a window.
// GetScrollLeft(): get the horizontal scrolling pos of a window
//
// - String utilties
// HtmlEscape(): html escapes a string
// HtmlUnescape(): remove html-escaping.
// CollapseWhitespace(): collapse multiple whitespace into one whitespace.
// Trim(): trim whitespace on ends of string
// IsEmpty(): check if CollapseWhiteSpace(String) == ""
// IsLetterOrDigit(): check if a character is a letter or a digit
//
// - TextArea utilities
// SetCursorPos(): sets the cursor position in a textfield
//
// - Array utilities
// FindInArray(): do a linear search to find an element value.
// DeleteArrayElement(): return a new array with a specific value removed.
//
// - Miscellaneous
// IsDefined(): returns true if argument is not undefined
//------------------------------------------------------------------------
// browser detection
var agent = navigator.userAgent.toLowerCase();
var is_ie = (agent.indexOf('msie') != -1);
//var is_ie5 = (agent.indexOf('msie 5') != -1 && document.all);
var is_konqueror = (agent.indexOf('konqueror') != -1);
var is_safari = (agent.indexOf('safari') != -1) || is_konqueror;
var is_nav = !is_ie && !is_safari && (agent.indexOf('mozilla') != -1);
var is_win = (agent.indexOf('win') != -1);
delete agent;
var BACKSPACE_KEYCODE = 8;
var COMMA_KEYCODE = 188; // ',' key
var DEBUG_KEYCODE = 68; // 'D' key
var DELETE_KEYCODE = 46;
var DOWN_KEYCODE = 40; // DOWN arrow key
var ENTER_KEYCODE = 13; // ENTER key
var ESC_KEYCODE = 27; // ESC key
var LEFT_KEYCODE = 37; // LEFT arrow key
var RIGHT_KEYCODE = 39; // RIGHT arrow key
var SPACE_KEYCODE = 32; // space bar
var TAB_KEYCODE = 9; // TAB key
var UP_KEYCODE = 38; // UP arrow key
var SHIFT_KEYCODE = 16;
//------------------------------------------------------------------------
// Assertions
// DEPRECATED: Use assert.js
//------------------------------------------------------------------------
/**
* DEPRECATED: Use assert.js
*/
function raise(msg) {
if (typeof Error != 'undefined') {
throw new Error(msg || 'Assertion Failed');
} else {
throw (msg);
}
}
/**
* DEPRECATED: Use assert.js
*
* Fail() is useful for marking logic paths that should
* not be reached. For example, if you have a class that uses
* ints for enums:
*
* MyClass.ENUM_FOO = 1;
* MyClass.ENUM_BAR = 2;
* MyClass.ENUM_BAZ = 3;
*
* And a switch statement elsewhere in your code that
* has cases for each of these enums, then you can
* "protect" your code as follows:
*
* switch(type) {
* case MyClass.ENUM_FOO: doFooThing(); break;
* case MyClass.ENUM_BAR: doBarThing(); break;
* case MyClass.ENUM_BAZ: doBazThing(); break;
* default:
* Fail("No enum in MyClass with value: " + type);
* }
*
* This way, if someone introduces a new value for this enum
* without noticing this switch statement, then the code will
* fail if the logic allows it to reach the switch with the
* new value, alerting the developer that he should add a
* case to the switch to handle the new value he has introduced.
*
* @param {string} opt_msg to display for failure
* DEFAULT: "Assertion failed"
*/
function Fail(opt_msg) {
if (opt_msg === undefined) opt_msg = 'Assertion failed';
if (IsDefined(DumpError)) DumpError(opt_msg + '\n');
raise(opt_msg);
}
/**
* DEPRECATED: Use assert.js
*
* Asserts that an expression is true (non-zero and non-null).
*
* Note that it is critical not to pass logic
* with side-effects as the expression for AssertTrue
* because if the assertions are removed by the
* JSCompiler, then the expression will be removed
* as well, in which case the side-effects will
* be lost. So instead of this:
*
* AssertTrue( criticalComputation() );
*
* Do this:
*
* var result = criticalComputation();
* AssertTrue(result);
*
* @param {anything} expression to evaluate
* @param {string} opt_msg to display if the assertion fails
*
*/
function AssertTrue(expression, opt_msg) {
if (!expression) {
if (opt_msg === undefined) opt_msg = 'Assertion failed';
Fail(opt_msg);
}
}
/**
* DEPRECATED: Use assert.js
*
* Asserts that two values are the same.
*
* @param {anything} val1
* @param {anything} val2
* @param {string} opt_msg to display if the assertion fails
*/
function AssertEquals(val1, val2, opt_msg) {
if (val1 != val2) {
if (opt_msg === undefined) {
opt_msg = "AssertEquals failed: <" + val1 + "> != <" + val2 + ">";
}
Fail(opt_msg);
}
}
/**
* DEPRECATED: Use assert.js
*
* Asserts that a value is of the provided type.
*
* AssertType(6, Number);
* AssertType("ijk", String);
* AssertType([], Array);
* AssertType({}, Object);
* AssertType(ICAL_Date.now(), ICAL_Date);
*
* @param {anything} value
* @param {constructor function} type
* @param {string} opt_msg to display if the assertion fails
*/
function AssertType(value, type, opt_msg) {
// for backwards compatability only
if (typeof value == type) return;
if (value || value == "") {
try {
if (type == AssertTypeMap[typeof value] || value instanceof type) return;
} catch (e) { /* failure, type was an illegal argument to instanceof */ }
}
if (opt_msg === undefined) {
if (typeof type == 'function') {
var match = type.toString().match(/^\s*function\s+([^\s\{]+)/);
if (match) type = match[1];
}
opt_msg = "AssertType failed: <" + value + "> not typeof "+ type;
}
Fail(opt_msg);
}
var AssertTypeMap = {
'string' : String,
'number' : Number,
'boolean' : Boolean
};
/**
* DEPRECATED: Use assert.js
*
* Asserts that the number of arguments to a
* function is num. For example:
*
* function myFunc(one, two, three) [
* AssertNumArgs(3);
* ...
* }
*
* myFunc(1, 2); // assertion fails!
*
* Note that AssertNumArgs does not take the function
* as an argument; it is simply used in the context
* of the function.
*
* @param {int} number of arguments expected
* @param {string} opt_msg to display if the assertion fails
*/
function AssertNumArgs(num, opt_msg) {
var caller = AssertNumArgs.caller; // This is not supported in safari 1.0
if (caller && caller.arguments.length != num) {
if (opt_msg === undefined) {
opt_msg = caller.name + ' expected ' + num + ' arguments '
+ ' but received ' + caller.arguments.length;
}
Fail(opt_msg);
}
}
//------------------------------------------------------------------------
// Cookies
//------------------------------------------------------------------------
var ILLEGAL_COOKIE_CHARS_RE = /[\s;]/
/**
* Sets a cookie.
* The max_age can be -1 to set a session cookie. To expire cookies, use
* ExpireCookie() instead.
*
* @param name The cookie name.
* @param value The cookie value.
* @param opt_max_age The max age in seconds (from now). Use -1 to set a
* session cookie. If not provided, the default is -1 (i.e. set a session
* cookie).
* @param opt_path The path of the cookie, or null to not specify a path
* attribute (browser will use the full request path). If not provided, the
* default is '/' (i.e. path=/).
* @param opt_domain The domain of the cookie, or null to not specify a domain
* attribute (brower will use the full request host name). If not provided,
* the default is null (i.e. let browser use full request host name).
* @return Void.
*/
function SetCookie(name, value, opt_max_age, opt_path, opt_domain) {
value = '' + value;
AssertTrue((typeof name == 'string' &&
typeof value == 'string' &&
!name.match(ILLEGAL_COOKIE_CHARS_RE) &&
!value.match(ILLEGAL_COOKIE_CHARS_RE)),
'trying to set an invalid cookie');
if (!IsDefined(opt_max_age)) opt_max_age = -1;
if (!IsDefined(opt_path)) opt_path = '/';
if (!IsDefined(opt_domain)) opt_domain = null;
var domain_str = (opt_domain == null) ? '' : ';domain=' + opt_domain;
var path_str = (opt_path == null) ? '' : ';path=' + opt_path;
var expires_str;
// Case 1: Set a session cookie.
if (opt_max_age < 0) {
expires_str = '';
// Case 2: Expire the cookie.
// Note: We don't tell people about this option in the function doc because
// we prefer people to use ExpireCookie() to expire cookies.
} else if (opt_max_age == 0) {
// Note: Don't use Jan 1, 1970 for date because NS 4.76 will try to convert
// it to local time, and if the local time is before Jan 1, 1970, then the
// browser will ignore the Expires attribute altogether.
var pastDate = new Date(1970, 1 /*Feb*/, 1); // Feb 1, 1970
expires_str = ';expires=' + pastDate.toUTCString();
// Case 3: Set a persistent cookie.
} else {
var futureDate = new Date(Now() + opt_max_age * 1000);
expires_str = ';expires=' + futureDate.toUTCString();
}
document.cookie = name + '=' + value + domain_str + path_str + expires_str;
}
/** Returns the value for the first cookie with the given name
* @param name : string
* @return a string or the empty string if no cookie found.
*/
function GetCookie(name) {
var nameeq = name + "=";
var cookie = String(document.cookie);
for (var pos = -1; (pos = cookie.indexOf(nameeq, pos + 1)) >= 0;) {
var i = pos;
// walk back along string skipping whitespace and looking for a ; before
// the name to make sure that we don't match cookies whose name contains
// the given name as a suffix.
while (--i >= 0) {
var ch = cookie.charAt(i);
if (ch == ';') {
i = -1; // indicate success
break;
} else if (' \t'.indexOf(ch) < 0) {
break;
}
}
if (-1 === i) { // first cookie in the string or we found a ;
var end = cookie.indexOf(';', pos);
if (end < 0) { end = cookie.length; }
return cookie.substring(pos + nameeq.length, end);
}
}
return "";
}
//------------------------------------------------------------------------
// Time
//------------------------------------------------------------------------
function Now() {
return (new Date()).getTime();
}
//------------------------------------------------------------------------
// Dynamic HTML/DOM utilities
//------------------------------------------------------------------------
// Gets a element by its id, may return null
function MaybeGetElement(win, id) {
return win.document.getElementById(id);
}
// Same as MaybeGetElement except that it throws an exception if it's null
function GetElement(win, id) {
var el = win.document.getElementById(id);
if (!el) {
DumpError("Element " + id + " not found.");
}
return el;
}
// Gets elements by its id/name
// IE treats getElementsByName as searching over ids, while Moz use names.
// so tags must have both id and name as the same string
function GetElements(win, id) {
return win.document.getElementsByName(id);
}
// Show/hide an element.
function ShowElement(el, show) {
el.style.display = show ? "" : "none";
}
// Show/hide a block element.
// ShowElement() doesn't work if object has an initial class with display:none
function ShowBlockElement(el, show) {
el.style.display = show ? "block" : "none";
}
// Show/hide an inline element.
// ShowElement() doesn't work when an element starts off display:none.
function ShowInlineElement(el, show) {
el.style.display = show ? "inline" : "none";
}
// Append a new HTML element to a HTML node.
function AppendNewElement(win, parent, tag) {
var e = win.document.createElement(tag);
parent.appendChild(e);
return e;
}
// Create a new TR containing the given td's
function Tr(win, tds) {
var tr = win.document.createElement("TR");
for (var i = 0; i < tds.length; i++) {
tr.appendChild(tds[i]);
}
return tr;
}
// Create a new TD, with an optional colspan
function Td(win, opt_colspan) {
var td = win.document.createElement("TD");
if (opt_colspan) {
td.colSpan = opt_colspan;
}
return td;
}
// Check if an element has a given class
function HasClass(el, cl) {
if (el == null || el.className == null) return false;
var classes = el.className.split(" ");
for (var i = 0; i < classes.length; i++) {
if (classes[i] == cl) {
return true;
}
}
return false;
}
// Add a class to element
function AddClass(el, cl) {
if (HasClass(el, cl)) return;
el.className += " " + cl;
}
// Remove a class from an element
function RemoveClass(el, cl) {
if (el.className == null) return;
var classes = el.className.split(" ");
var result = [];
var changed = false;
for (var i = 0; i < classes.length; i++) {
if (classes[i] != cl) {
if (classes[i]) { result.push(classes[i]); }
} else {
changed = true;
}
}
if (changed) { el.className = result.join(" "); }
}
// Performs an in-order traversal of the tree rooted at the given node
// (excluding the root node) and returns an array of nodes that match the
// given selector. The selector must implement the method:
//
// boolean select(node);
//
// This method is a generalization of the DOM method "getElementsByTagName"
//
function GetElementsBySelector(root, selector) {
var nodes = [];
for (var child = root.firstChild; child; child = child.nextSibling) {
AddElementBySelector_(child, selector, nodes);
}
return nodes;
}
// Recursive helper for GetElemnetsBySelector()
function AddElementBySelector_(root, selector, nodes) {
// First test the parent
if (selector.select(root)) {
nodes.push(root);
}
// Then recurse through the children
for (var child = root.firstChild; child; child = child.nextSibling) {
AddElementBySelector_(child, selector, nodes);
}
}
//------------------------------------------------------------------------
// Window/screen utilities
// TODO: these should be renamed (e.g. GetWindowWidth to GetWindowInnerWidth
// and moved to geom.js)
//------------------------------------------------------------------------
// Get page offset of an element
function GetPageOffsetLeft(el) {
var x = el.offsetLeft;
if (el.offsetParent != null)
x += GetPageOffsetLeft(el.offsetParent);
return x;
}
// Get page offset of an element
function GetPageOffsetTop(el) {
var y = el.offsetTop;
if (el.offsetParent != null)
y += GetPageOffsetTop(el.offsetParent);
return y;
}
// Get page offset of an element
function GetPageOffset(el) {
var x = el.offsetLeft;
var y = el.offsetTop;
if (el.offsetParent != null) {
var pos = GetPageOffset(el.offsetParent);
x += pos.x;
y += pos.y;
}
return {x: x, y: y};
}
function GetPageOffsetRight(el) {
return GetPageOffsetLeft(el) + el.offsetWidth;
}
function GetPageOffsetBottom(el) {
return GetPageOffsetTop(el) + el.offsetHeight;
}
// Get the y position scroll offset.
function GetScrollTop(win) {
// all except Explorer
if ("pageYOffset" in win) {
return win.pageYOffset;
}
// Explorer 6 Strict Mode
else if ("documentElement" in win.document &&
"scrollTop" in win.document.documentElement) {
return win.document.documentElement.scrollTop;
}
// other Explorers
else if ("scrollTop" in win.document.body) {
return win.document.body.scrollTop;
}
return 0;
}
// Get the x position scroll offset.
function GetScrollLeft(win) {
// all except Explorer
if ("pageXOffset" in win) {
return win.pageXOffset;
}
// Explorer 6 Strict Mode
else if ("documentElement" in win.document &&
"scrollLeft" in win.document.documentElement) {
return win.document.documentElement.scrollLeft;
}
// other Explorers
else if ("scrollLeft" in win.document.body) {
return win.document.body.scrollLeft;
}
return 0;
}
//------------------------------------------------------------------------
// String utilities
//------------------------------------------------------------------------
// Do html escaping
var amp_re_ = /&/g;
var lt_re_ = /</g;
var gt_re_ = />/g;
// Convert text to HTML format. For efficiency, we just convert '&', '<', '>'
// characters.
// Note: Javascript >= 1.3 supports lambda expression in the replacement
// argument. But it's slower on IE.
// Note: we can also implement HtmlEscape by setting the value
// of a textnode and then reading the 'innerHTML' value, but that
// that turns out to be slower.
// Params: str: String to be escaped.
// Returns: The escaped string.
function HtmlEscape(str) {
if (!str) return "";
return str.replace(amp_re_, "&amp;").replace(lt_re_, "&lt;").
replace(gt_re_, "&gt;").replace(quote_re_, "&quot;");
}
/** converts html entities to plain text. It covers the most common named
* entities and numeric entities.
* It does not cover all named entities -- it covers &{lt,gt,amp,quot,nbsp}; but
* does not handle some of the more obscure ones like &{ndash,eacute};.
*/
function HtmlUnescape(str) {
if (!str) return "";
return str.
replace(/&#(\d+);/g,
function (_, n) { return String.fromCharCode(parseInt(n, 10)); }).
replace(/&#x([a-f0-9]+);/gi,
function (_, n) { return String.fromCharCode(parseInt(n, 16)); }).
replace(/&(\w+);/g, function (_, entity) {
entity = entity.toLowerCase();
return entity in HtmlUnescape.unesc ? HtmlUnescape.unesc[entity] : '?';
});
}
HtmlUnescape.unesc = { lt: '<', gt: '>', quot: '"', nbsp: ' ', amp: '&' };
// Escape double quote '"' characters in addition to '&', '<', '>' so that a
// string can be included in an HTML tag attribute value within double quotes.
// Params: str: String to be escaped.
// Returns: The escaped string.
var quote_re_ = /\"/g;
var JS_SPECIAL_RE_ = /[\'\\\r\n\b\"<>&]/g;
function JSEscOne_(s) {
if (!JSEscOne_.js_escs_) {
var escapes = {};
escapes['\\'] = '\\\\';
escapes['\''] = '\\047';
escapes['\n'] = '\\n';
escapes['\r'] = '\\r';
escapes['\b'] = '\\b';
escapes['\"'] = '\\042';
escapes['<'] = '\\074';
escapes['>'] = '\\076';
escapes['&'] = '\\046';
JSEscOne_.js_escs_ = escapes;
}
return JSEscOne_.js_escs_[s];
}
// converts multiple ws chars to a single space, and strips
// leading and trailing ws
var spc_re_ = /\s+/g;
var beg_spc_re_ = /^ /;
var end_spc_re_ = / $/;
function CollapseWhitespace(str) {
if (!str) return "";
return str.replace(spc_re_, " ").replace(beg_spc_re_, "").
replace(end_spc_re_, "");
}
var newline_re_ = /\r?\n/g;
var spctab_re_ = /[ \t]+/g;
var nbsp_re_ = /\xa0/g;
function HtmlifyNewlines(str) {
if (!str) return "";
return str.replace(newline_re_, "<br>");
}
// URL encodes the string.
function UrlEncode(str) {
return encodeURIComponent(str);
}
function Trim(str) {
if (!str) return "";
return str.replace(/^\s+/, "").replace(/\s+$/, "");
}
function EndsWith(str, suffix) {
if (!str) return !suffix;
return (str.lastIndexOf(suffix) == (str.length - suffix.length));
}
// Check if a string is empty
function IsEmpty(str) {
return CollapseWhitespace(str) == "";
}
// Check if a character is a letter
function IsLetterOrDigit(ch) {
return ((ch >= "a" && ch <= "z") ||
(ch >= "A" && ch <= "Z") ||
(ch >= '0' && ch <= '9'));
}
// Check if a character is a space character
function IsSpace(ch) {
return (" \t\r\n".indexOf(ch) >= 0);
}
//------------------------------------------------------------------------
// TextArea utilities
//------------------------------------------------------------------------
function SetCursorPos(win, textfield, pos) {
if (IsDefined(textfield.selectionEnd) &&
IsDefined(textfield.selectionStart)) {
// Mozilla directly supports this
textfield.selectionStart = pos;
textfield.selectionEnd = pos;
} else if (win.document.selection && textfield.createTextRange) {
// IE has textranges. A textfield's textrange encompasses the
// entire textfield's text by default
var sel = textfield.createTextRange();
sel.collapse(true);
sel.move("character", pos);
sel.select();
}
}
//------------------------------------------------------------------------
// Array utilities
//------------------------------------------------------------------------
// Find an item in an array, returns the key, or -1 if not found
function FindInArray(array, x) {
for (var i = 0; i < array.length; i++) {
if (array[i] == x) {
return i;
}
}
return -1;
}
// Inserts an item into an array, if it's not already in the array
function InsertArray(array, x) {
if (FindInArray(array, x) == -1) {
array[array.length] = x;
}
}
// Delete an element from an array
function DeleteArrayElement(array, x) {
var i = 0;
while (i < array.length && array[i] != x)
i++;
array.splice(i, 1);
}
function GetEventTarget(/*Event*/ ev) {
// Event is not a type in IE; IE uses Object for events
// AssertType(ev, Event, 'arg passed to GetEventTarget not an Event');
return ev.srcElement || ev.target;
}
//------------------------------------------------------------------------
// Misc
//------------------------------------------------------------------------
// Check if a value is defined
function IsDefined(value) {
return (typeof value) != 'undefined';
}
function GetKeyCode(event) {
var code;
if (event.keyCode) {
code = event.keyCode;
} else if (event.which) {
code = event.which;
}
return code;
}
// define a forid function to fetch a DOM node by id.
function forid_1(id) {
return document.getElementById(id);
}
function forid_2(id) {
return document.all[id];
}
/**
* Fetch an HtmlElement by id.
* DEPRECATED: use $ in dom.js
*/
var forid = document.getElementById ? forid_1 : forid_2;
function log(msg) {
/* a top level window is its own parent. Use != or else fails on IE with
* infinite loop.
*/
try {
if (window.parent != window && window.parent.log) {
window.parent.log(window.name + '::' + msg);
return;
}
} catch (e) {
// Error: uncaught exception: Permission denied to get property Window.log
}
var logPane = forid('log');
if (logPane) {
var logText = '<p class=logentry><span class=logdate>' + new Date() +
'</span><span class=logmsg>' + msg + '</span></p>';
logPane.innerHTML = logText + logPane.innerHTML;
} else {
window.status = msg;
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 43 B

View File

@ -0,0 +1,73 @@
(function(){
var h=true,l=null,m=false,aa=(new Date).getTime(),ba=function(a){var b=(new Date).getTime()-aa,c="&dtd="+(b<1000?b:"M");return a+c};var n=this,ca=function(a,b,c){var d=a.split("."),e=c||n;!(d[0]in e)&&e.execScript&&e.execScript("var "+d[0]);for(var f;d.length&&(f=d.shift());)if(!d.length&&b!==undefined)e[f]=b;else e=e[f]?e[f]:(e[f]={})},o=function(a){var b=typeof a;if(b=="object")if(a){if(a instanceof Array||!(a instanceof Object)&&Object.prototype.toString.call(a)=="[object Array]"||typeof a.length=="number"&&typeof a.splice!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("splice"))return"array";
if(!(a instanceof Object)&&(Object.prototype.toString.call(a)=="[object Function]"||typeof a.call!="undefined"&&typeof a.propertyIsEnumerable!="undefined"&&!a.propertyIsEnumerable("call")))return"function"}else return"null";else if(b=="function"&&typeof a.call=="undefined")return"object";return b},p=function(a){return o(a)=="array"},da=function(a){var b=o(a);return b=="array"||b=="object"&&typeof a.length=="number"},q=function(a){return typeof a=="string"},ea=function(a){var b=o(a);return b=="object"||
b=="array"||b=="function"};Math.floor(Math.random()*2147483648).toString(36);
var fa=function(a){var b=o(a);if(b=="object"||b=="array"){if(a.clone)return a.clone.call(a);var c=b=="array"?[]:{};for(var d in a)c[d]=fa(a[d]);return c}return a},ga=function(a,b){var c=a.u;if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);c&&d.unshift.apply(d,c);c=d}b=a.w||b;a=a.v||a;var e,f=b||n;e=c?function(){var i=Array.prototype.slice.call(arguments);i.unshift.apply(i,c);return a.apply(f,i)}:function(){return a.apply(f,arguments)};e.u=c;e.w=b;e.v=a;return e},ha=Date.now||function(){return(new Date).getTime()},
r=function(a,b,c){ca(a,b,c)};function s(a,b){var c=parseFloat(a);return isNaN(c)||c>1||c<0?b:c}function ia(a,b){if(a=="true")return h;if(a=="false")return m;return b}function t(a,b){var c=/^([\w-]+\.)+[\w-]{2,}(\:[0-9]+)?$/;return c.test(a)?a:b};var ja="pagead2.googlesyndication.com",ka="googleads.g.doubleclick.net",la="pubads.g.doubleclick.net",ma="securepubads.g.doubleclick.net",oa="partner.googleadservices.com",u=t("pagead2.googlesyndication.com",ja),pa=t("googleads.g.doubleclick.net",ka),qa=t("pagead2.googlesyndication.com",ja);t("pubads.g.doubleclick.net",la);t("partner.googleadservices.com",oa);t("securepubads.g.doubleclick.net",ma);function v(a){return typeof encodeURIComponent=="function"?encodeURIComponent(a):escape(a)}function ra(a,b,c){var d=document.createElement("script");d.type="text/javascript";if(b)d.onload=b;if(c)d.id=c;d.src=a;var e=document.getElementsByTagName("head")[0];if(!e)return m;window.setTimeout(function(){e.appendChild(d)},0);return h}function sa(a,b){a.google_image_requests||(a.google_image_requests=[]);var c=new Image;c.src=b;a.google_image_requests.push(c)}
function ta(a){if(a in ua)return ua[a];return ua[a]=navigator.userAgent.toLowerCase().indexOf(a)!=-1}var ua={};
function va(){if(navigator.plugins&&navigator.mimeTypes.length){var a=navigator.plugins["Shockwave Flash"];if(a&&a.description)return a.description.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s)+r/,".")}else if(navigator.userAgent&&navigator.userAgent.indexOf("Windows CE")>=0){for(var b=3,c=1;c;)try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash."+(b+1));b++}catch(d){c=l}return b.toString()}else if(ta("msie")&&!window.opera){c=l;try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7")}catch(e){b=
0;try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");b=6;c.AllowScriptAccess="always"}catch(f){if(b==6)return b.toString()}try{c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash")}catch(i){}}if(c){b=c.GetVariable("$version").split(" ")[1];return b.replace(/,/g,".")}}return"0"}function wa(a){var b=a.google_ad_format;if(b)return b.indexOf("_0ads")>0;return a.google_ad_output!="html"&&a.google_num_radlinks>0}function w(a){return!!a&&a.indexOf("_sdo")!=-1}
function xa(a){return wa(a)||w(a.google_ad_format)}function A(a,b){var c=Math.random();if(c<b){var d=Math.floor(c/b*a.length);return a[d]}return""};var ya={google_ad_channel:"channel",google_ad_host:"host",google_ad_host_channel:"h_ch",google_ad_host_tier_id:"ht_id",google_ad_section:"region",google_ad_type:"ad_type",google_adtest:"adtest",google_allow_expandable_ads:"ea",google_alternate_ad_url:"alternate_ad_url",google_alternate_color:"alt_color",google_bid:"bid",google_city:"gcs",google_color_bg:"color_bg",google_color_border:"color_border",google_color_line:"color_line",google_color_link:"color_link",google_color_text:"color_text",google_color_url:"color_url",
google_contents:"contents",google_country:"gl",google_cust_age:"cust_age",google_cust_ch:"cust_ch",google_cust_gender:"cust_gender",google_cust_id:"cust_id",google_cust_interests:"cust_interests",google_cust_job:"cust_job",google_cust_l:"cust_l",google_cust_lh:"cust_lh",google_cust_u_url:"cust_u_url",google_disable_video_autoplay:"disable_video_autoplay",google_ed:"ed",google_encoding:"oe",google_feedback:"feedback_link",google_flash_version:"flash",google_font_face:"f",google_font_size:"fs",google_hints:"hints",
google_kw:"kw",google_kw_type:"kw_type",google_language:"hl",google_page_url:"url",google_referrer_url:"ref",google_region:"gr",google_reuse_colors:"reuse_colors",google_safe:"adsafe",google_tag_info:"gut",google_targeting:"targeting",google_ui_features:"ui",google_ui_version:"uiv",google_video_doc_id:"video_doc_id",google_video_product_type:"video_product_type"},za={google_ad_client:"client",google_ad_format:"format",google_ad_output:"output",google_ad_callback:"callback",google_ad_height:"h",google_ad_override:"google_ad_override",
google_ad_slot:"slotname",google_ad_width:"w",google_analytics_uacct:"ga_wpids",google_ctr_threshold:"ctr_t",google_image_size:"image_size",google_last_modified_time:"lmt",google_max_num_ads:"num_ads",google_max_radlink_len:"max_radlink_len",google_num_radlinks:"num_radlinks",google_num_radlinks_per_unit:"num_radlinks_per_unit",google_only_ads_with_video:"only_ads_with_video",google_page_location:"loc",google_rl_dest_url:"rl_dest_url",google_rl_filtering:"rl_filtering",google_rl_mode:"rl_mode",google_rt:"rt",
google_skip:"skip"},Ca={google_only_pyv_ads:"pyv",google_with_pyv_ads:"withpyv"};function Da(a,b){try{return a.top.document.URL==b.URL}catch(c){}return m}function Ea(a,b,c,d){var e=c||a.google_ad_width,f=d||a.google_ad_height;if(Da(a,b))return m;var i=b.documentElement;if(e&&f){var j=1,k=1;if(a.innerHeight){j=a.innerWidth;k=a.innerHeight}else if(i&&i.clientHeight){j=i.clientWidth;k=i.clientHeight}else if(b.body){j=b.body.clientWidth;k=b.body.clientHeight}if(k>2*f||j>2*e)return m}return h}function Fa(a,b){for(var c in b)a["google_"+c]=b[c]}
function Ga(a,b){if(!b)return a.URL;return a.referrer}function Ha(a,b){if(!b&&a.google_referrer_url==l)return"0";else if(b&&a.google_referrer_url==l)return"1";else if(!b&&a.google_referrer_url!=l)return"2";else if(b&&a.google_referrer_url!=l)return"3";return"4"}function Ia(a,b,c,d){a.page_url=Ga(c,d);a.page_location=l}function Ja(a,b,c,d){a.page_url=b.google_page_url;a.page_location=Ga(c,d)||"EMPTY"}
function Ka(a,b){var c={},d=Ea(a,b,a.google_ad_width,a.google_ad_height);c.iframing=Ha(a,d);a.google_page_url?Ja(c,a,b,d):Ia(c,a,b,d);c.last_modified_time=b.URL==c.page_url?Date.parse(b.lastModified)/1000:l;c.referrer_url=d?a.google_referrer_url:a.google_page_url&&a.google_referrer_url?a.google_referrer_url:b.referrer;return c}function La(a){var b={},c=a.URL.substring(a.URL.lastIndexOf("http"));b.iframing=l;b.page_url=c;b.page_location=a.URL;b.last_modified_time=l;b.referrer_url=c;return b}
function Ma(a,b){var c=Na(a,b);Fa(a,c)}function Na(a,b){var c;return c=a.google_page_url==l&&Oa[b.domain]?La(b):Ka(a,b)}var Oa={};Oa["ad.yieldmanager.com"]=h;var B="",Ra=function(){if(window.google_ad_frameborder==l)window.google_ad_frameborder=0;if(window.google_ad_output==l)window.google_ad_output="html";if(w(window.google_ad_format)){var a=window.google_ad_format.match(/^(\d+)x(\d+)_.*/);if(a){window.google_ad_width=parseInt(a[1],10);window.google_ad_height=parseInt(a[2],10);window.google_ad_output="html"}}window.google_ad_format=Pa(window.google_ad_format,window.google_ad_output,window.google_ad_width,window.google_ad_height,window.google_ad_slot,
!!window.google_override_format);B=window.google_ad_client||"";window.google_ad_client=Qa(window.google_ad_format,window.google_ad_client);Ma(window,document);if(window.google_num_slots_by_channel==l)window.google_num_slots_by_channel={};if(window.google_viewed_host_channels==l)window.google_viewed_host_channels={};if(window.google_num_slots_by_client==l)window.google_num_slots_by_client={};if(window.google_prev_ad_formats_by_region==l)window.google_prev_ad_formats_by_region={};if(window.google_prev_ad_slotnames_by_region==
l)window.google_prev_ad_slotnames_by_region={};if(window.google_correlator==l)window.google_correlator=(new Date).getTime();if(window.google_adslot_loaded==l)window.google_adslot_loaded={};if(window.google_adContentsBySlot==l)window.google_adContentsBySlot={};if(window.google_flash_version==l)window.google_flash_version=va();if(window.google_new_domain_checked==l)window.google_new_domain_checked=0;if(window.google_new_domain_enabled==l)window.google_new_domain_enabled=0;window.google_ad_section=window.google_ad_section||
window.google_ad_region||"";window.google_country=window.google_country||window.google_gl||"";var b=(new Date).getTime();if(p(window.google_color_bg))window.google_color_bg=window.google_color_bg[b%window.google_color_bg.length];if(p(window.google_color_text))window.google_color_text=window.google_color_text[b%window.google_color_text.length];if(p(window.google_color_link))window.google_color_link=window.google_color_link[b%window.google_color_link.length];if(p(window.google_color_url))window.google_color_url=
window.google_color_url[b%window.google_color_url.length];if(p(window.google_color_border))window.google_color_border=window.google_color_border[b%window.google_color_border.length];if(p(window.google_color_line))window.google_color_line=window.google_color_line[b%window.google_color_line.length]},Sa=function(a){var b;for(b in ya)a[b]=l;for(b in za)a[b]=l;for(b in Ca)a[b]=l;a.google_container_id=l;a.google_eids=l;a.google_ad_region=l;a.google_gl=l},Qa=function(a,b){if(!b)return"";b=b.toLowerCase();
return b=w(a)?Ta(b):Ua(b)},Ua=function(a){if(a&&a.substring(0,3)!="ca-")a="ca-"+a;return a},Ta=function(a){if(a&&a.substring(0,9)!="dist-aff-")a="dist-aff-"+a;return a},Pa=function(a,b,c,d,e,f){if(!a&&b=="html")a=c+"x"+d;return a=Va(a,e,f)?a.toLowerCase():""},Va=function(a,b,c){if(!a)return m;if(!b)return h;return c};var C=document,D=navigator,F=window;
function Wa(){var a=C.cookie,b=Math.round((new Date).getTime()/1000),c=F.google_analytics_domain_name,d=typeof c=="undefined"?Xa("auto"):Xa(c),e=a.indexOf("__utma="+d+".")>-1,f=a.indexOf("__utmb="+d)>-1,i=a.indexOf("__utmc="+d)>-1,j,k={},g=!!F&&!!F.gaGlobal;if(e){j=a.split("__utma="+d+".")[1].split(";")[0].split(".");k.sid=f&&i?j[3]+"":g&&F.gaGlobal.sid?F.gaGlobal.sid:b+"";k.vid=j[0]+"."+j[1];k.from_cookie=h}else{k.sid=g&&F.gaGlobal.sid?F.gaGlobal.sid:b+"";k.vid=g&&F.gaGlobal.vid?F.gaGlobal.vid:(Math.round(Math.random()*
2147483647)^Ya()&2147483647)+"."+b;k.from_cookie=m}k.dh=d;k.hid=g&&F.gaGlobal.hid?F.gaGlobal.hid:Math.round(Math.random()*2147483647);return F.gaGlobal=k}
function Ya(){var a=C.cookie?C.cookie:"",b=F.history.length,c,d,e=[D.appName,D.version,D.language?D.language:D.browserLanguage,D.platform,D.userAgent,D.javaEnabled()?1:0].join("");if(F.screen)e+=F.screen.width+"x"+F.screen.height+F.screen.colorDepth;else if(F.java){d=java.awt.Toolkit.getDefaultToolkit().getScreenSize();e+=d.screen.width+"x"+d.screen.height}e+=a;e+=C.referrer?C.referrer:"";for(c=e.length;b>0;)e+=b--^c++;return Za(e)}
function Za(a){var b=1,c=0,d,e;if(!(a==undefined||a=="")){b=0;for(d=a.length-1;d>=0;d--){e=a.charCodeAt(d);b=(b<<6&268435455)+e+(e<<14);c=b&266338304;b=c!=0?b^c>>21:b}}return b}function Xa(a){if(!a||a==""||a=="none")return 1;if("auto"==a){a=C.domain;if("www."==a.substring(0,4))a=a.substring(4,a.length)}return Za(a.toLowerCase())};var $a={google:1,googlegroups:1,gmail:1,googlemail:1,googleimages:1,googleprint:1};function ab(a){var b=a.google_page_location||a.google_page_url;if(!b)return m;b=b.toString();if(b.indexOf("http://")==0)b=b.substring(7,b.length);else if(b.indexOf("https://")==0)b=b.substring(8,b.length);var c=b.indexOf("/");if(c==-1)c=b.length;var d=b.substring(0,c),e=d.split("."),f=m;if(e.length>=3)f=e[e.length-3]in $a;if(e.length>=2)f=f||e[e.length-2]in $a;return f}
function bb(a,b,c){if(ab(a)){a.google_new_domain_checked=1;return m}if(a.google_new_domain_checked==0){var d=Math.random();if(d<=c){var e="http://"+pa+"/pagead/test_domain.js",f="script";b.write("<"+f+' src="'+e+'"></'+f+">");a.google_new_domain_checked=1;return h}}return m}function cb(a){if(!ab(a)&&a.google_new_domain_enabled==1)return"http://"+pa;return"http://"+qa};var db=document,eb=ia("false",m),fb=ia("false",m),gb=ia("false",m);ia("false",m);var G=window;document.URL&&(document.URL.indexOf("?google_debug")>0||document.URL.indexOf("&google_debug")>0);var hb=function(a){return a.replace(/^[\s\xa0]+|[\s\xa0]+$/g,"")},nb=function(a,b){if(b)return a.replace(ib,"&amp;").replace(jb,"&lt;").replace(kb,"&gt;").replace(lb,"&quot;");else{if(!mb.test(a))return a;if(a.indexOf("&")!=-1)a=a.replace(ib,"&amp;");if(a.indexOf("<")!=-1)a=a.replace(jb,"&lt;");if(a.indexOf(">")!=-1)a=a.replace(kb,"&gt;");if(a.indexOf('"')!=-1)a=a.replace(lb,"&quot;");return a}},ib=/&/g,jb=/</g,kb=/>/g,lb=/\"/g,mb=/[&<>\"]/,qb=function(a){if(H(a,"&"))return"document"in n&&!H(a,"<")?
ob(a):pb(a);return a},ob=function(a){var b=n.document.createElement("a");b.innerHTML=a;b.normalize&&b.normalize();a=b.firstChild.nodeValue;b.innerHTML="";return a},pb=function(a){return a.replace(/&([^;]+);/g,function(b,c){switch(c){case "amp":return"&";case "lt":return"<";case "gt":return">";case "quot":return'"';default:if(c.charAt(0)=="#"){var d=Number("0"+c.substr(1));if(!isNaN(d))return String.fromCharCode(d)}return b}})},rb=function(a,b){for(var c=b.length,d=0;d<c;d++){var e=c==1?b:b.charAt(d);
if(a.charAt(0)==e&&a.charAt(a.length-1)==e)return a.substring(1,a.length-1)}return a},H=function(a,b){return a.indexOf(b)!=-1},wb=function(a,b){for(var c=0,d=hb(String(a)).split("."),e=hb(String(b)).split("."),f=Math.max(d.length,e.length),i=0;c==0&&i<f;i++){var j=d[i]||"",k=e[i]||"",g=new RegExp("(\\d*)(\\D*)","g"),y=new RegExp("(\\d*)(\\D*)","g");do{var E=g.exec(j)||["","",""],z=y.exec(k)||["","",""];if(E[0].length==0&&z[0].length==0)break;var W=E[1].length==0?0:parseInt(E[1],10),na=z[1].length==
0?0:parseInt(z[1],10);c=sb(W,na)||sb(E[2].length==0,z[2].length==0)||sb(E[2],z[2])}while(c==0)}return c},sb=function(a,b){if(a<b)return-1;else if(a>b)return 1;return 0};ha();var I=function(a){this.t=a;this.i=[];this.p=this.h=0;this.d=[];this.n=m};I.prototype.s=function(a,b){var c=this.t[b],d=this.i;this.t[b]=function(e){if(e&&e.length>0){var f=e.length>1?e[1].url:l;d.push([a,qb(e[0].url),f])}c(e)}};I.prototype.r=function(){this.h++};I.prototype.o=function(){if(!this.n){ra("http://"+u+"/pagead/osd.js");this.n=h}};I.prototype.j=function(a){if(this.h>0)for(var b=document.getElementsByTagName("iframe"),c=0;c<b.length;c++)b.item(c).name=="google_ads_frame"&&a(b.item(c),b.item(c).src)};
I.prototype.k=function(a){var b=this.i;if(b.length>0)for(var c=document.getElementsByTagName("a"),d=function(g,y){return g.innerHTML.indexOf(y)>0},e=0;e<c.length;e++)for(var f=0;f<b.length;f++)if(c.item(e).href==b[f][1]){var i=c.item(e).parentNode;if(b[f][2])for(var j=i,k=0;k<4;k++){if(d(j,b[f][2])){i=j;break}j=j.parentNode}a(i,b[f][0]);b.splice(f,1);break}};I.prototype.e=function(a){this.k(a);this.j(a)};I.prototype.a=function(a){this.p=a};I.prototype.g=function(){return this.p};
I.prototype.f=function(){return this.i.length+this.h};I.prototype.b=function(a){this.d=a};I.prototype.q=function(a,b){if(this.d.length>0){for(var c=0;c<this.d.length;c++)if(this.d[c]==a)if(a=="js")this.s(b,"google_ad_request_done");else a=="html"&&this.r();this.o()}};var xb=function(){window.__google_ad_urls||(window.__google_ad_urls=new I(window));return window.__google_ad_urls};r("Goog_AdSense_getAdAdapterInstance",xb);r("Goog_AdSense_OsdAdapter",I);
r("Goog_AdSense_OsdAdapter.prototype.numBlocks",I.prototype.f);r("Goog_AdSense_OsdAdapter.prototype.findBlocks",I.prototype.e);r("Goog_AdSense_OsdAdapter.prototype.getOsdMode",I.prototype.g);var yb=function(a,b,c){var d=ga(b,n,a),e=window.onerror;window.onerror=d;try{c()}catch(f){var i=f.toString(),j="";if(f.fileName)j=f.fileName;var k=-1;if(f.lineNumber)k=f.lineNumber;var g=d(i,j,k);if(!g)throw f;}window.onerror=e};r("google_protectAndRun",yb);
var Ab=function(a,b,c,d){if(Math.random()<0.01){var e=db,f=["http://",u,"/pagead/gen_204","?id=jserror","&cb=",eb?1:0,"&cd=",fb?1:0,"&context=",v(a),"&msg=",v(b),"&file=",v(c),"&line=",v(d.toString()),"&url=",v(e.URL.substring(0,512)),"&ref=",v(e.referrer.substring(0,512))];f.push(zb());sa(G,f.join(""))}return!gb};r("google_handleError",Ab);
var zb=function(){var a=["&client=",v(G.google_ad_client),"&format=",v(G.google_ad_format),"&slotname=",v(G.google_ad_slot),"&output=",v(G.google_ad_output),"&ad_type=",v(G.google_ad_type)];return a.join("")};var Bb=function(a,b,c){if(a.forEach)a.forEach(b,c);else if(Array.forEach)Array.forEach(a,b,c);else for(var d=a.length,e=q(a)?a.split(""):a,f=0;f<d;f++)f in e&&b.call(c,e[f],f,a)},Cb=function(a){if(p(a))return a.concat();else{for(var b=[],c=0,d=a.length;c<d;c++)b[c]=a[c];return b}};var J=function(a,b){this.x=a!==undefined?a:0;this.y=b!==undefined?b:0};J.prototype.clone=function(){return new J(this.x,this.y)};J.prototype.toString=function(){return"("+this.x+", "+this.y+")"};var K=function(a,b){this.width=a;this.height=b};K.prototype.clone=function(){return new K(this.width,this.height)};K.prototype.toString=function(){return"("+this.width+" x "+this.height+")"};K.prototype.ceil=function(){this.width=Math.ceil(this.width);this.height=Math.ceil(this.height);return this};K.prototype.floor=function(){this.width=Math.floor(this.width);this.height=Math.floor(this.height);return this};
K.prototype.round=function(){this.width=Math.round(this.width);this.height=Math.round(this.height);return this};K.prototype.scale=function(a){this.width*=a;this.height*=a;return this};var Db=function(a,b,c){for(var d in a)b.call(c,a[d],d,a)};var L,Eb,Fb,Gb,Hb,Ib,Jb,Kb,Lb,Mb,Nb=function(){return n.navigator?n.navigator.userAgent:l},Ob=function(){return n.navigator},Pb=function(){Ib=Hb=Gb=Fb=Eb=L=m;var a;if(a=Nb()){var b=Ob();L=a.indexOf("Opera")==0;Eb=!L&&a.indexOf("MSIE")!=-1;Gb=(Fb=!L&&a.indexOf("WebKit")!=-1)&&a.indexOf("Mobile")!=-1;Ib=(Hb=!L&&!Fb&&b.product=="Gecko")&&b.vendor=="Camino"}};Pb();
var M=L,N=Eb,Qb=Hb,O=Fb,Rb=Gb,Sb=function(){var a=Ob();return a&&a.platform||""},Tb=Sb(),Ub=function(){Jb=H(Tb,"Mac");Kb=H(Tb,"Win");Lb=H(Tb,"Linux");Mb=!!Ob()&&H(Ob().appVersion||"","X11")};Ub();
var Vb=Jb,Wb=Kb,Xb=Lb,Yb=function(){var a="",b;if(M&&n.opera){var c=n.opera.version;a=typeof c=="function"?c():c}else{if(Qb)b=/rv\:([^\);]+)(\)|;)/;else if(N)b=/MSIE\s+([^\);]+)(\)|;)/;else if(O)b=/WebKit\/(\S+)/;if(b){var d=b.exec(Nb());a=d?d[1]:""}}return a},Zb=Yb(),$b={},P=function(a){return $b[a]||($b[a]=wb(Zb,a)>=0)};var ac;var bc=function(a){return q(a)?document.getElementById(a):a},cc=bc,ec=function(a,b){Db(b,function(c,d){if(d=="style")a.style.cssText=c;else if(d=="class")a.className=c;else if(d=="for")a.htmlFor=c;else if(d in dc)a.setAttribute(dc[d],c);else a[d]=c})},dc={cellpadding:"cellPadding",cellspacing:"cellSpacing",colspan:"colSpan",rowspan:"rowSpan",valign:"vAlign",height:"height",width:"width",usemap:"useMap",frameborder:"frameBorder",type:"type"},fc=function(a){var b=a.document;if(O&&!P("500")&&!Rb){if(typeof a.innerHeight==
"undefined")a=window;var c=a.innerHeight,d=a.document.documentElement.scrollHeight;if(a==a.top)if(d<c)c-=15;return new K(a.innerWidth,c)}var e=b.compatMode=="CSS1Compat"&&(!M||M&&P("9.50"))?b.documentElement:b.body;return new K(e.clientWidth,e.clientHeight)},gc=function(a){var b=!O&&a.compatMode=="CSS1Compat"?a.documentElement:a.body;return new J(b.scrollLeft,b.scrollTop)},ic=function(){return hc(document,arguments)},hc=function(a,b){var c=b[0],d=b[1];if(N&&d&&(d.name||d.type)){var e=["<",c];d.name&&
e.push(' name="',nb(d.name),'"');if(d.type){e.push(' type="',nb(d.type),'"');d=fa(d);delete d.type}e.push(">");c=e.join("")}var f=a.createElement(c);if(d)if(q(d))f.className=d;else ec(f,d);if(b.length>2){function i(g){if(g)f.appendChild(q(g)?a.createTextNode(g):g)}for(var j=2;j<b.length;j++){var k=b[j];da(k)&&!(ea(k)&&k.nodeType>0)?Bb(jc(k)?Cb(k):k,i):i(k)}}return f},kc=function(a,b){a.appendChild(b)},lc=function(a){return a&&a.parentNode?a.parentNode.removeChild(a):l},mc=function(a,b){var c=b.parentNode;
c&&c.replaceChild(a,b)},nc=O&&P("522"),oc=function(a,b){if(typeof a.contains!="undefined"&&!nc&&b.nodeType==1)return a==b||a.contains(b);if(typeof a.compareDocumentPosition!="undefined")return a==b||Boolean(a.compareDocumentPosition(b)&16);for(;b&&a!=b;)b=b.parentNode;return b==a},Q=function(a){return a.nodeType==9?a:a.ownerDocument||a.document},jc=function(a){if(a&&typeof a.length=="number")if(ea(a))return typeof a.item=="function"||typeof a.item=="string";else if(o(a)=="function")return typeof a.item==
"function";return m},R=function(a){this.c=a||n.document||document};R.prototype.createElement=function(a){return this.c.createElement(a)};R.prototype.createTextNode=function(a){return this.c.createTextNode(a)};R.prototype.m=function(){return this.c.compatMode=="CSS1Compat"};R.prototype.l=function(){return gc(this.c)};R.prototype.appendChild=kc;R.prototype.removeNode=lc;R.prototype.replaceNode=mc;R.prototype.contains=oc;var pc,qc,rc,sc,tc,uc,vc=function(){uc=tc=sc=rc=qc=pc=m;var a=Nb();if(a)if(a.indexOf("Firefox")!=-1)pc=h;else if(a.indexOf("Camino")!=-1)qc=h;else if(a.indexOf("iPhone")!=-1||a.indexOf("iPod")!=-1)rc=h;else if(a.indexOf("Android")!=-1)sc=h;else if(a.indexOf("Chrome")!=-1)tc=h;else if(a.indexOf("Safari")!=-1)uc=h};vc();var wc=function(a,b){var c=Q(a);if(c.defaultView&&c.defaultView.getComputedStyle){var d=c.defaultView.getComputedStyle(a,"");if(d)return d[b]}return l},S=function(a,b){return wc(a,b)||(a.currentStyle?a.currentStyle[b]:l)||a.style[b]},xc=function(a){var b;b=a?a.nodeType==9?a:Q(a):document;if(N&&!(b?new R(Q(b)):ac||(ac=new R)).m())return b.body;return b.documentElement},yc=function(a){var b=a.getBoundingClientRect();if(N){var c=a.ownerDocument;b.left-=c.documentElement.clientLeft+c.body.clientLeft;
b.top-=c.documentElement.clientTop+c.body.clientTop}return b},zc=function(a){if(N)return a.offsetParent;for(var b=Q(a),c=S(a,"position"),d=c=="fixed"||c=="absolute",e=a.parentNode;e&&e!=b;e=e.parentNode){c=S(e,"position");d=d&&c=="static"&&e!=b.documentElement&&e!=b.body;if(!d&&(e.scrollWidth>e.clientWidth||e.scrollHeight>e.clientHeight||c=="fixed"||c=="absolute"))return e}return l},Ac=function(a){var b,c=Q(a),d=S(a,"position"),e=Qb&&c.getBoxObjectFor&&!a.getBoundingClientRect&&d=="absolute"&&(b=
c.getBoxObjectFor(a))&&(b.screenX<0||b.screenY<0),f=new J(0,0),i=xc(c);if(a==i)return f;if(a.getBoundingClientRect){b=yc(a);var j=(c?new R(Q(c)):ac||(ac=new R)).l();f.x=b.left+j.x;f.y=b.top+j.y}else if(c.getBoxObjectFor&&!e){b=c.getBoxObjectFor(a);var k=c.getBoxObjectFor(i);f.x=b.screenX-k.screenX;f.y=b.screenY-k.screenY}else{var g=a;do{f.x+=g.offsetLeft;f.y+=g.offsetTop;if(g!=a){f.x+=g.clientLeft||0;f.y+=g.clientTop||0}if(O&&S(g,"position")=="fixed"){f.x+=c.body.scrollLeft;f.y+=c.body.scrollTop;
break}g=g.offsetParent}while(g&&g!=a);if(M||O&&d=="absolute")f.y-=c.body.offsetTop;for(g=a;(g=zc(g))&&g!=c.body&&g!=i;){f.x-=g.scrollLeft;if(!M||g.tagName!="TR")f.y-=g.scrollTop}}return f};Qb&&P("1.9");
var Bc=function(a,b,c,d){if(/^\d+px?$/.test(b))return parseInt(b,10);else{var e=a.style[c],f=a.runtimeStyle[c];a.runtimeStyle[c]=a.currentStyle[c];a.style[c]=b;var i=a.style[d];a.style[c]=e;a.runtimeStyle[c]=f;return i}},Cc=function(a){var b=Q(a),c="";if(b.createTextRange){var d=b.body.createTextRange();d.moveToElementText(a);c=d.queryCommandValue("FontName")}if(!c){c=S(a,"fontFamily");if(M&&Xb)c=c.replace(/ \[[^\]]*\]/,"")}var e=c.split(",");if(e.length>1)c=e[0];return rb(c,"\"'")},Dc=function(a){var b=
a.match(/[^\d]+$/);return b&&b[0]||l},Ec={cm:1,"in":1,mm:1,pc:1,pt:1},Fc={em:1,ex:1},Gc=function(a){var b=S(a,"fontSize"),c=Dc(b);if(b&&"px"==c)return parseInt(b,10);if(N)if(c in Ec)return Bc(a,b,"left","pixelLeft");else if(a.parentNode&&a.parentNode.nodeType==1&&c in Fc){var d=a.parentNode,e=S(d,"fontSize");return Bc(d,b==e?"1em":b,"left","pixelLeft")}var f=ic("span",{style:"visibility:hidden;position:absolute;line-height:0;padding:0;margin:0;border:0;height:1em;"});kc(a,f);b=f.offsetHeight;lc(f);
return b};var T={};function Hc(a){if(a==1)return h;return!T[a]}function U(a,b){if(a)if(b==1)if(T[b])T[b]+=","+a;else T[b]=a;else T[b]=a}function Ic(){var a=[];for(var b in T)a.push(T[b]);return a.join(",")}function Jc(a,b){if(a&&a instanceof Array)for(var c=0;c<a.length;c++)a[c]&&typeof a[c]=="string"&&U(a[c],b)}var Kc=m;
function Lc(a,b){var c="script";(Kc=Mc(a,b))||(a.google_allow_expandable_ads=m);var d=!Nc();Kc&&d&&b.write("<"+c+' src="http://'+u+'/pagead/expansion_embed.js"></'+c+">");var e=bb(a,b,s("1",0.01)),f=d||e;f&&ta("msie")&&!window.opera?b.write("<"+c+' src="http://'+u+'/pagead/render_ads.js"></'+c+">"):b.write("<"+c+'>google_protectAndRun("ads_core.google_render_ad", google_handleError, google_render_ad);</'+c+">")}function V(a){return a!=l?'"'+a+'"':'""'}
var Oc=function(a,b,c){var d=c.slice(-1)=="?"?"":"&";return[c,d,a,"=",b.toString()].join("")};function X(a,b){if(a&&b)window.google_ad_url=Oc(a,b,window.google_ad_url)}function Y(a){var b=window,c=ya[a]||za[a]||Ca[a]||l,d=b[a];X(c,d)}function Z(a,b){b!=l&&X(a,v(b))}function $(a){var b=window,c=ya[a]||za[a]||Ca[a]||l,d=b[a];Z(c,d)}
function Pc(a){var b=a.screen,c=navigator.javaEnabled(),d=-(new Date).getTimezoneOffset();if(b){X("u_h",b.height);X("u_w",b.width);X("u_ah",b.availHeight);X("u_aw",b.availWidth);X("u_cd",b.colorDepth)}X("u_tz",d);X("u_his",history.length);X("u_java",c);navigator.plugins&&X("u_nplug",navigator.plugins.length);navigator.mimeTypes&&X("u_nmime",navigator.mimeTypes.length)}function Qc(a){var b="google_unique_id";if(a[b])++a[b];else a[b]=1;return a[b]}
function Rc(){var a=N&&P("6"),b=Qb&&P("1.8.1"),c=O&&P("525");if(Wb&&(a||b||c))return h;else if(Vb&&(c||b))return h;else if(Xb&&b)return h;return m}function Nc(){return(typeof ExpandableAdSlotFactory=="function"||typeof ExpandableAdSlotFactory=="object")&&typeof ExpandableAdSlotFactory.createIframe=="function"}function Mc(a,b){if(a.google_allow_expandable_ads===m||!b.body||a.google_ad_output!="html"||Ea(a,b)||!Sc(a)||isNaN(a.google_ad_height)||isNaN(a.google_ad_width)||!Rc())return m;return h}
function Sc(a){var b=a.google_ad_format;if(w(b))return m;if(wa(a)&&!(b=="468x15_0ads_al"))return m;return h}function Tc(){var a;if(G.google_ad_output=="html"&&!xa(G)&&Hc(0)){var b=["6083035","6083034"];a=A(b,s("0",0));U(a,0)}return a=="6083035"}function Uc(a,b){if((a.google_unique_id||0)==0&&a.google_ad_output=="html"&&document.body&&typeof b.body.getBoundingClientRect=="function")return A(["36812001","36812002"],s("0.01",0));return""}
function Vc(a){var b="";if((a.google_unique_id||0)==0&&(a.google_ad_output=="js"||a.google_ad_output=="html")){xa(a)||(b=A(["36813001","36813002","36813003","36813004"],s("0.012",0)));if(b=="")b=A(["36813005","36813006"],s("0.008",0))}return b}function Wc(a,b){switch(a){case "36813002":b.a(1);b.b(["js"]);break;case "36813003":b.a(1);b.b(["html"]);break;case "36813004":b.a(2);b.b(["html","js"]);break;case "36813006":b.a(0);b.b(["html","js"]);break}}
function Xc(a){if(a.body)try{return fc(window)}catch(b){return new K(-12245933,-12245933)}else return new K(-1,-1)}
function Yc(a,b,c,d){var e=Qc(a);c=Oc("ifi",e,c);c=c.substring(0,1992);c=c.replace(/%\w?$/,"");var f="script";if((a.google_ad_output=="js"||a.google_ad_output=="json_html")&&(a.google_ad_request_done||a.google_radlink_request_done))b.write("<"+f+' language="JavaScript1.1" src='+V(ba(c))+"></"+f+">");else if(a.google_ad_output=="html")if(Kc&&Nc()){var i=a.google_container_id||d||l;a["google_expandable_ad_slot"+e]=ExpandableAdSlotFactory.createIframe("google_ads_frame"+e,ba(c),a.google_ad_width,a.google_ad_height,
i)}else{var j='<iframe name="google_ads_frame" width='+V(a.google_ad_width)+" height="+V(a.google_ad_height)+" frameborder="+V(a.google_ad_frameborder)+" src="+V(ba(c))+' marginwidth="0" marginheight="0" vspace="0" hspace="0" allowtransparency="true" scrolling="no"></iframe>';a.google_container_id?Zc(a.google_container_id,b,j):b.write(j)}}function $c(a){Sa(a)}
function ad(a,b){var c=aa,d=window.google_ad_format,e=cb(window);window.google_ad_url=w(d)?e+"/pagead/sdo?":Tc()?e+"/pagead/render_iframe_ads.html#":e+"/pagead/ads?";$("google_ad_client");Y("google_ad_host");Y("google_ad_host_tier_id");var f=window.google_num_slots_by_client,i=window.google_num_slots_by_channel,j=window.google_prev_ad_formats_by_region,k=window.google_prev_ad_slotnames_by_region,g=window.google_ad_section;if(w(d)){window.google_num_sdo_slots=window.google_num_sdo_slots?window.google_num_sdo_slots+
1:1;if(window.google_num_sdo_slots>4)return m}else if(wa(window)){window.google_num_0ad_slots=window.google_num_0ad_slots?window.google_num_0ad_slots+1:1;if(window.google_num_0ad_slots>3)return m}else if(window.google_cpa_choice==l){window.google_num_ad_slots=window.google_num_ad_slots?window.google_num_ad_slots+1:1;if(window.google_num_slots_to_rotate){j[g]=l;k[g]=l;if(window.google_num_slot_to_show==l)window.google_num_slot_to_show=c%window.google_num_slots_to_rotate+1;if(window.google_num_slot_to_show!=
window.google_num_ad_slots)return m}else if(window.google_num_ad_slots>6&&g=="")return m}X("dt",aa);Y("google_language");Y("google_country");Y("google_region");$("google_city");$("google_hints");Y("google_safe");Y("google_encoding");Y("google_last_modified_time");$("google_alternate_ad_url");Y("google_alternate_color");Y("google_skip");Y("google_targeting");if(f[B])f[B]+=1;else{f[B]=1;f.length+=1}if(j[g])if(!w(d)){Z("prev_fmts",j[g].toLowerCase());f.length>1&&X("slot",f[B])}k[g]&&Z("prev_slotnames",
k[g].toLowerCase());if(d)w(d)||(j[g]=j[g]?j[g]+","+d:d);else if(window.google_ad_slot)k[g]=k[g]?k[g]+","+window.google_ad_slot:window.google_ad_slot;Y("google_max_num_ads");$("google_ad_output");Y("google_adtest");Y("google_ad_callback");$("google_ad_format");Y("google_ad_slot");Z("correlator",window.google_correlator);window.google_new_domain_checked==1&&window.google_new_domain_enabled==0&&X("dblk",1);$("google_ad_channel");if(window.google_ad_channel){for(var y="",E=window.google_ad_channel.split(bd),
z=0;z<E.length;z++){var W=E[z];if(i[W])y+=W+"+";else i[W]=1}Z("pv_ch",y)}$("google_ad_host_channel");if(window.google_ad_host_channel){var na=cd(window.google_ad_host_channel,window.google_viewed_host_channels);Z("pv_h_ch",na)}$("google_page_url");$("google_color_bg");$("google_color_text");$("google_color_link");$("google_color_url");$("google_color_border");$("google_color_line");window.google_reuse_colors?X("reuse_colors",1):X("reuse_colors",0);Y("google_font_face");Y("google_font_size");Y("google_kw_type");
$("google_kw");$("google_contents");Y("google_num_radlinks");Y("google_max_radlink_len");Y("google_rl_filtering");Y("google_rl_mode");Y("google_rt");$("google_rl_dest_url");Y("google_num_radlinks_per_unit");Y("google_ad_type");Y("google_image_size");Y("google_ad_section");Jc(window.google_eids,1);var Aa;if(Hc(0)){Aa=A(["36814001","36814002"],s("0",0));U(Aa,0)}Z("eid",Ic());var tb=window.google_allow_expandable_ads;if(tb!=l)tb?X("ea","1"):X("ea","0");eb&&X("cb",1);fb&&X("cd",
1);Y("google_feedback");$("google_referrer_url");$("google_page_location");X("frm",window.google_iframing);Y("google_bid");Y("google_ctr_threshold");Y("google_cust_age");Y("google_cust_gender");Y("google_cust_interests");Y("google_cust_id");Y("google_cust_job");Y("google_cust_u_url");Y("google_cust_l");Y("google_cust_lh");Y("google_cust_ch");Y("google_ed");Y("google_video_doc_id");Y("google_video_product_type");$("google_ui_features");$("google_ui_version");$("google_tag_info");$("google_only_ads_with_video");
$("google_only_pyv_ads");$("google_with_pyv_ads");$("google_disable_video_autoplay");var ub=m;if(a){Z("dff",Cc(a));Z("dfs",Gc(a));var x;if(b)if(typeof a.getBoundingClientRect=="function"){var vb=a.getBoundingClientRect();x={x:vb.left,y:vb.top}}else{x={};x.x="-252738";x.y="-252738"}else try{x=Ac(a)}catch(td){x={};x.x="-252738";x.y="-252738"}if(x){ub=h;Z("adx",x.x);Z("ady",x.y)}}if(ub||Aa=="36814002"){var Ba=Xc(document);if(Ba){Z("biw",Ba.width);Z("bih",Ba.height)}}Wa();X("ga_vid",window.gaGlobal.vid);
X("ga_sid",window.gaGlobal.sid);X("ga_hid",window.gaGlobal.hid);X("ga_fc",window.gaGlobal.from_cookie);$("google_analytics_uacct");Y("google_ad_override");Y("google_flash_version");X("w",window.google_ad_width||-1);X("h",window.google_ad_height||-1);Pc(window);return h}
function cd(a,b){for(var c=a.split("|"),d=-1,e=[],f=0;f<c.length;f++){var i=c[f].split(bd);b[f]||(b[f]={});for(var j="",k=0;k<i.length;k++){var g=i[k];if(!(g==""))if(b[f][g])j+="+"+g;else b[f][g]=1}j=j.slice(1);e[f]=j;if(j!="")d=f}var y="";if(d>-1){for(f=0;f<d;f++)y+=e[f]+"|";y+=e[d]}return y}
function dd(){var a=xb(),b=window.google_enable_osd,c="";if(b===h){c="36813006";Wc(c,a)}else if(b!==m&&Hc(0)){c=A(["68120011","68120021","68120031","68120041"],s("0",0));if(c==""){c=Uc(window,document);if(c==""){c=Vc(window);c!=""&&Wc(c,a)}}}U(c,0);var d=m,e=m,f=m;switch(c){case "68120031":f=h;case "68120021":e=h;case "68120041":d=h;break;case "36812002":if(!window.google_atf_included){window.google_atf_included=h;ra("http://"+u+"/pagead/atf.js")}break}var i;if(d){var j=
"google_temp_span";i=window.google_container_id&&cc(window.google_container_id)||cc(j);if(!i&&!window.google_container_id){document.write("<span id="+j+"></span>");i=cc(j)}}var k=m;k=e?ad(i,f):ad();i&&i.id==j&&lc(i);if(k){a.q(window.google_ad_output,window.google_ad_url);Yc(window,document,window.google_ad_url);$c(window)}}function ed(a,b,c,d){var e=Ab(a,b,c,d);Lc(window,document);return e}function fd(){Ra()}
function gd(a){for(var b={},c=a.split("?"),d=c[c.length-1].split("&"),e=0;e<d.length;e++){var f=d[e].split("=");if(f[0])try{b[f[0].toLowerCase()]=f.length>1?window.decodeURIComponent?decodeURIComponent(f[1].replace(/\+/g," ")):unescape(f[1]):""}catch(i){}}return b}function hd(){var a=window,b=gd(document.URL);if(b.google_ad_override){a.google_ad_override=b.google_ad_override;a.google_adtest="on"}}
function Zc(a,b,c){if(a){var d=b.getElementById(a);if(d&&c&&c.length!=""){d.style.visibility="visible";d.innerHTML=c}}}var bd=/[+, ]/;window.google_render_ad=dd;var id=["30143070","30143071","30143075"],jd=typeof window.postMessage=="function"||typeof window.postMessage=="object"||typeof document.postMessage=="function",ld=function(a,b){typeof A1_googleCreateSlot=="function"?A1_googleCreateSlot(a.google_ad_client):kd(a,b)},nd=function(){if(!md())return m;return h},od=function(a){if(xa(a))return m;var b=a.google_ad_output;if(b&&b!="html")return m;var c=a.google_ad_client;if(typeof c!="string"||c.substring(0,4)!="pub-"&&c.substring(0,7)!="ca-pub-")return m;
return h},qd=function(a){if(typeof a.google_a1_eid=="string")return a.google_a1_eid;var b=s("0.001",0);a.google_a1_eid=pd(id,b);return a.google_a1_eid},kd=function(a,b){if(!a.google_included_a1_script){var c="script",d="/pagead/show_ads_sra3.js?v\x3d1";b.write("<"+c+' src="http://'+u+d+'"></'+c+">");a.google_included_a1_script=h}},md=function(){if(N&&P("8"))return m;return jd||!O},pd=function(a,b){var c=Math.random();if(c<b){var d=Math.floor(c/b*a.length);return a[d]}return""};function rd(){hd();yb("show_ads.google_init_globals",ed,fd);Lc(window,document)}function sd(){if(!nd(window)||!od(window))rd();else if(gb&&window.google_use_a1===h)ld(window,document);else{var a=qd(window);if(a){U(a,0);window.google_allow_expandable_ads=m}!a||a=="30143070"?rd():ld(window,document)}}yb("show_ads.main",Ab,sd);
})()

Binary file not shown.

After

Width:  |  Height:  |  Size: 646 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 628 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 842 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

View File

@ -0,0 +1,3 @@
(function(){
window.google_new_domain_enabled=1;
})()

View File

@ -0,0 +1,695 @@
//-- Google Analytics Urchin Module
//-- Copyright 2007 Google, All Rights Reserved.
//-- Urchin On Demand Settings ONLY
var _uacct=""; // set up the Urchin Account
var _userv=1; // service mode (0=local,1=remote,2=both)
//-- UTM User Settings
var _ufsc=1; // set client info flag (1=on|0=off)
var _udn="auto"; // (auto|none|domain) set the domain name for cookies
var _uhash="on"; // (on|off) unique domain hash for cookies
var _utimeout="1800"; // set the inactive session timeout in seconds
var _ugifpath="/__utm.gif"; // set the web path to the __utm.gif file
var _utsp="|"; // transaction field separator
var _uflash=1; // set flash version detect option (1=on|0=off)
var _utitle=1; // set the document title detect option (1=on|0=off)
var _ulink=0; // enable linker functionality (1=on|0=off)
var _uanchor=0; // enable use of anchors for campaign (1=on|0=off)
var _utcp="/"; // the cookie path for tracking
var _usample=100; // The sampling % of visitors to track (1-100).
//-- UTM Campaign Tracking Settings
var _uctm=1; // set campaign tracking module (1=on|0=off)
var _ucto="15768000"; // set timeout in seconds (6 month default)
var _uccn="utm_campaign"; // name
var _ucmd="utm_medium"; // medium (cpc|cpm|link|email|organic)
var _ucsr="utm_source"; // source
var _uctr="utm_term"; // term/keyword
var _ucct="utm_content"; // content
var _ucid="utm_id"; // id number
var _ucno="utm_nooverride"; // don't override
//-- Auto/Organic Sources and Keywords
var _uOsr=new Array();
var _uOkw=new Array();
_uOsr[0]="google"; _uOkw[0]="q";
_uOsr[1]="yahoo"; _uOkw[1]="p";
_uOsr[2]="msn"; _uOkw[2]="q";
_uOsr[3]="aol"; _uOkw[3]="query";
_uOsr[4]="aol"; _uOkw[4]="encquery";
_uOsr[5]="lycos"; _uOkw[5]="query";
_uOsr[6]="ask"; _uOkw[6]="q";
_uOsr[7]="altavista"; _uOkw[7]="q";
_uOsr[8]="netscape"; _uOkw[8]="query";
_uOsr[9]="cnn"; _uOkw[9]="query";
_uOsr[10]="looksmart"; _uOkw[10]="qt";
_uOsr[11]="about"; _uOkw[11]="terms";
_uOsr[12]="mamma"; _uOkw[12]="query";
_uOsr[13]="alltheweb"; _uOkw[13]="q";
_uOsr[14]="gigablast"; _uOkw[14]="q";
_uOsr[15]="voila"; _uOkw[15]="rdata";
_uOsr[16]="virgilio"; _uOkw[16]="qs";
_uOsr[17]="live"; _uOkw[17]="q";
_uOsr[18]="baidu"; _uOkw[18]="wd";
_uOsr[19]="alice"; _uOkw[19]="qs";
_uOsr[20]="yandex"; _uOkw[20]="text";
_uOsr[21]="najdi"; _uOkw[21]="q";
_uOsr[22]="aol"; _uOkw[22]="q";
_uOsr[23]="club-internet"; _uOkw[23]="query";
_uOsr[24]="mama"; _uOkw[24]="query";
_uOsr[25]="seznam"; _uOkw[25]="q";
_uOsr[26]="search"; _uOkw[26]="q";
_uOsr[27]="wp"; _uOkw[27]="szukaj";
_uOsr[28]="onet"; _uOkw[28]="qt";
_uOsr[29]="netsprint"; _uOkw[29]="q";
_uOsr[30]="google.interia"; _uOkw[30]="q";
_uOsr[31]="szukacz"; _uOkw[31]="q";
_uOsr[32]="yam"; _uOkw[32]="k";
_uOsr[33]="pchome"; _uOkw[33]="q";
_uOsr[34]="kvasir"; _uOkw[34]="searchExpr";
_uOsr[35]="sesam"; _uOkw[35]="q";
_uOsr[36]="ozu"; _uOkw[36]="q";
_uOsr[37]="terra"; _uOkw[37]="query";
_uOsr[38]="nostrum"; _uOkw[38]="query";
_uOsr[39]="mynet"; _uOkw[39]="q";
_uOsr[40]="ekolay"; _uOkw[40]="q";
_uOsr[41]="search.ilse"; _uOkw[41]="search_for";
_uOsr[42]="bing"; _uOkw[42]="q";
//-- Auto/Organic Keywords to Ignore
var _uOno=new Array();
//_uOno[0]="urchin";
//_uOno[1]="urchin.com";
//_uOno[2]="www.urchin.com";
//-- Referral domains to Ignore
var _uRno=new Array();
//_uRno[0]=".urchin.com";
//-- **** Don't modify below this point ***
var _uff,_udh,_udt,_ubl=0,_udo="",_uu,_ufns=0,_uns=0,_ur="-",_ufno=0,_ust=0,_ubd=document,_udl=_ubd.location,_udlh="",_uwv="1.3";
var _ugifpath2="http://www.google-analytics.com/__utm.gif";
if (_udl.hash) _udlh=_udl.href.substring(_udl.href.indexOf('#'));
if (_udl.protocol=="https:") _ugifpath2="https://ssl.google-analytics.com/__utm.gif";
if (!_utcp || _utcp=="") _utcp="/";
function urchinTracker(page) {
if (_udl.protocol=="file:") return;
if (_uff && (!page || page=="")) return;
var a,b,c,xx,v,z,k,x="",s="",f=0,nv=0;
var nx=" expires="+_uNx()+";";
var dc=_ubd.cookie;
_udh=_uDomain();
if (!_uVG()) return;
_uu=Math.round(Math.random()*2147483647);
_udt=new Date();
_ust=Math.round(_udt.getTime()/1000);
a=dc.indexOf("__utma="+_udh+".");
b=dc.indexOf("__utmb="+_udh);
c=dc.indexOf("__utmc="+_udh);
if (_udn && _udn!="") { _udo=" domain="+_udn+";"; }
if (_utimeout && _utimeout!="") {
x=new Date(_udt.getTime()+(_utimeout*1000));
x=" expires="+x.toGMTString()+";";
}
if (_ulink) {
if (_uanchor && _udlh && _udlh!="") s=_udlh+"&";
s+=_udl.search;
if(s && s!="" && s.indexOf("__utma=")>=0) {
if (!(_uIN(a=_uGC(s,"__utma=","&")))) a="-";
if (!(_uIN(b=_uGC(s,"__utmb=","&")))) b="-";
if (!(_uIN(c=_uGC(s,"__utmc=","&")))) c="-";
v=_uGC(s,"__utmv=","&");
z=_uGC(s,"__utmz=","&");
k=_uGC(s,"__utmk=","&");
xx=_uGC(s,"__utmx=","&");
if ((k*1) != ((_uHash(a+b+c+xx+z+v)*1)+(_udh*1))) {_ubl=1;a="-";b="-";c="-";xx="-";z="-";v="-";}
if (a!="-" && b!="-" && c!="-") f=1;
else if(a!="-") f=2;
}
}
if(f==1) {
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+b+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+c+"; path="+_utcp+";"+_udo;
} else if (f==2) {
a=_uFixA(s,"&",_ust);
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+_udh+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+_udh+"; path="+_utcp+";"+_udo;
_ufns=1;
} else if (a>=0 && b>=0 && c>=0) {
b = _uGC(dc,"__utmb="+_udh,";");
b = ("-" == b) ? _udh : b;
_ubd.cookie="__utmb="+b+"; path="+_utcp+";"+x+_udo;
} else {
if (a>=0) a=_uFixA(_ubd.cookie,";",_ust);
else {
a=_udh+"."+_uu+"."+_ust+"."+_ust+"."+_ust+".1";
nv=1;
}
_ubd.cookie="__utma="+a+"; path="+_utcp+";"+nx+_udo;
_ubd.cookie="__utmb="+_udh+"; path="+_utcp+";"+x+_udo;
_ubd.cookie="__utmc="+_udh+"; path="+_utcp+";"+_udo;
_ufns=1;
}
if (_ulink && xx && xx!="" && xx!="-") {
xx=_uUES(xx);
if (xx.indexOf(";")==-1) _ubd.cookie="__utmx="+xx+"; path="+_utcp+";"+nx+_udo;
}
if (_ulink && v && v!="" && v!="-") {
v=_uUES(v);
if (v.indexOf(";")==-1) _ubd.cookie="__utmv="+v+"; path="+_utcp+";"+nx+_udo;
}
var wc=window;
var c=_ubd.cookie;
if(wc && wc.gaGlobal && wc.gaGlobal.dh==_udh){
var g=wc.gaGlobal;
var ua=c.split("__utma="+_udh+".")[1].split(";")[0].split(".");
if(g.sid)ua[3]=g.sid;
if(nv>0){
ua[2]=ua[3];
if(g.vid){
var v=g.vid.split(".");
ua[0]=v[0];
ua[1]=v[1];
}
}
_ubd.cookie="__utma="+_udh+"."+ua.join(".")+"; path="+_utcp+";"+nx+_udo;
}
_uInfo(page);
_ufns=0;
_ufno=0;
if (!page || page=="") _uff=1;
}
function _uGH() {
var hid;
var wc=window;
if (wc && wc.gaGlobal && wc.gaGlobal.hid) {
hid=wc.gaGlobal.hid;
} else {
hid=Math.round(Math.random()*0x7fffffff);
if (!wc.gaGlobal) wc.gaGlobal={};
wc.gaGlobal.hid=hid;
}
return hid;
}
function _uInfo(page) {
var p,s="",dm="",pg=_udl.pathname+_udl.search;
if (page && page!="") pg=_uES(page,1);
_ur=_ubd.referrer;
if (!_ur || _ur=="") { _ur="-"; }
else {
dm=_ubd.domain;
if(_utcp && _utcp!="/") dm+=_utcp;
p=_ur.indexOf(dm);
if ((p>=0) && (p<=8)) { _ur="0"; }
if (_ur.indexOf("[")==0 && _ur.lastIndexOf("]")==(_ur.length-1)) { _ur="-"; }
}
s+="&utmn="+_uu;
if (_ufsc) s+=_uBInfo();
if (_uctm) s+=_uCInfo();
if (_utitle && _ubd.title && _ubd.title!="") s+="&utmdt="+_uES(_ubd.title);
if (_udl.hostname && _udl.hostname!="") s+="&utmhn="+_uES(_udl.hostname);
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
s+="&utmhid="+_uGH();
s+="&utmr="+_ur;
s+="&utmp="+pg;
if ((_userv==0 || _userv==2) && _uSP()) {
var i=new Image(1,1);
i.src=_ugifpath+"?"+"utmwv="+_uwv+s;
i.onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
var i2=new Image(1,1);
i2.src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+_uGCS();
i2.onload=function() { _uVoid(); }
}
return;
}
function _uVoid() { return; }
function _uCInfo() {
if (!_ucto || _ucto=="") { _ucto="15768000"; }
if (!_uVG()) return;
var c="",t="-",t2="-",t3="-",o=0,cs=0,cn=0,i=0,z="-",s="";
if (_uanchor && _udlh && _udlh!="") s=_udlh+"&";
s+=_udl.search;
var x=new Date(_udt.getTime()+(_ucto*1000));
var dc=_ubd.cookie;
x=" expires="+x.toGMTString()+";";
if (_ulink && !_ubl) {
z=_uUES(_uGC(s,"__utmz=","&"));
if (z!="-" && z.indexOf(";")==-1) { _ubd.cookie="__utmz="+z+"; path="+_utcp+";"+x+_udo; return ""; }
}
z=dc.indexOf("__utmz="+_udh+".");
if (z>-1) { z=_uGC(dc,"__utmz="+_udh+".",";"); }
else { z="-"; }
t=_uGC(s,_ucid+"=","&");
t2=_uGC(s,_ucsr+"=","&");
t3=_uGC(s,"gclid=","&");
if ((t!="-" && t!="") || (t2!="-" && t2!="") || (t3!="-" && t3!="")) {
if (t!="-" && t!="") c+="utmcid="+_uEC(t);
if (t2!="-" && t2!="") { if (c != "") c+="|"; c+="utmcsr="+_uEC(t2); }
if (t3!="-" && t3!="") { if (c != "") c+="|"; c+="utmgclid="+_uEC(t3); }
t=_uGC(s,_uccn+"=","&");
if (t!="-" && t!="") c+="|utmccn="+_uEC(t);
else c+="|utmccn=(not+set)";
t=_uGC(s,_ucmd+"=","&");
if (t!="-" && t!="") c+="|utmcmd="+_uEC(t);
else c+="|utmcmd=(not+set)";
t=_uGC(s,_uctr+"=","&");
if (t!="-" && t!="") c+="|utmctr="+_uEC(t);
else { t=_uOrg(1); if (t!="-" && t!="") c+="|utmctr="+_uEC(t); }
t=_uGC(s,_ucct+"=","&");
if (t!="-" && t!="") c+="|utmcct="+_uEC(t);
t=_uGC(s,_ucno+"=","&");
if (t=="1") o=1;
if (z!="-" && o==1) return "";
}
if (c=="-" || c=="") { c=_uOrg(); if (z!="-" && _ufno==1) return ""; }
if (c=="-" || c=="") { if (_ufns==1) c=_uRef(); if (z!="-" && _ufno==1) return ""; }
if (c=="-" || c=="") {
if (z=="-" && _ufns==1) { c="utmccn=(direct)|utmcsr=(direct)|utmcmd=(none)"; }
if (c=="-" || c=="") return "";
}
if (z!="-") {
i=z.indexOf(".");
if (i>-1) i=z.indexOf(".",i+1);
if (i>-1) i=z.indexOf(".",i+1);
if (i>-1) i=z.indexOf(".",i+1);
t=z.substring(i+1,z.length);
if (t.toLowerCase()==c.toLowerCase()) cs=1;
t=z.substring(0,i);
if ((i=t.lastIndexOf(".")) > -1) {
t=t.substring(i+1,t.length);
cn=(t*1);
}
}
if (cs==0 || _ufns==1) {
t=_uGC(dc,"__utma="+_udh+".",";");
if ((i=t.lastIndexOf(".")) > 9) {
_uns=t.substring(i+1,t.length);
_uns=(_uns*1);
}
cn++;
if (_uns==0) _uns=1;
_ubd.cookie="__utmz="+_udh+"."+_ust+"."+_uns+"."+cn+"."+c+"; path="+_utcp+"; "+x+_udo;
}
if (cs==0 || _ufns==1) return "&utmcn=1";
else return "&utmcr=1";
}
function _uRef() {
if (_ur=="0" || _ur=="" || _ur=="-") return "";
var i=0,h,k,n;
if ((i=_ur.indexOf("://"))<0 || _uGCse()) return "";
h=_ur.substring(i+3,_ur.length);
if (h.indexOf("/") > -1) {
k=h.substring(h.indexOf("/"),h.length);
if (k.indexOf("?") > -1) k=k.substring(0,k.indexOf("?"));
h=h.substring(0,h.indexOf("/"));
}
h=h.toLowerCase();
n=h;
if ((i=n.indexOf(":")) > -1) n=n.substring(0,i);
for (var ii=0;ii<_uRno.length;ii++) {
if ((i=n.indexOf(_uRno[ii].toLowerCase())) > -1 && n.length==(i+_uRno[ii].length)) { _ufno=1; break; }
}
if (h.indexOf("www.")==0) h=h.substring(4,h.length);
return "utmccn=(referral)|utmcsr="+_uEC(h)+"|"+"utmcct="+_uEC(k)+"|utmcmd=referral";
}
function _uOrg(t) {
if (_ur=="0" || _ur=="" || _ur=="-") return "";
var i=0,h,k;
if ((i=_ur.indexOf("://"))<0 || _uGCse()) return "";
h=_ur.substring(i+3,_ur.length);
if (h.indexOf("/") > -1) {
h=h.substring(0,h.indexOf("/"));
}
for (var ii=0;ii<_uOsr.length;ii++) {
if (h.toLowerCase().indexOf(_uOsr[ii].toLowerCase()) > -1) {
if ((i=_ur.indexOf("?"+_uOkw[ii]+"=")) > -1 || (i=_ur.indexOf("&"+_uOkw[ii]+"=")) > -1) {
k=_ur.substring(i+_uOkw[ii].length+2,_ur.length);
if ((i=k.indexOf("&")) > -1) k=k.substring(0,i);
for (var yy=0;yy<_uOno.length;yy++) {
if (_uOno[yy].toLowerCase()==k.toLowerCase()) { _ufno=1; break; }
}
if (t) return _uEC(k);
else return "utmccn=(organic)|utmcsr="+_uEC(_uOsr[ii])+"|"+"utmctr="+_uEC(k)+"|utmcmd=organic";
}
}
}
return "";
}
function _uGCse() {
var h,p;
h=p=_ur.split("://")[1];
if(h.indexOf("/")>-1) {
h=h.split("/")[0];
p=p.substring(p.indexOf("/")+1,p.length);
}
if(p.indexOf("?")>-1) {
p=p.split("?")[0];
}
if(h.toLowerCase().indexOf("google")>-1) {
if(_ur.indexOf("?q=")>-1 || _ur.indexOf("&q=")>-1) {
if (p.toLowerCase().indexOf("cse")>-1) {
return true;
}
}
}
}
function _uBInfo() {
var sr="-",sc="-",ul="-",fl="-",cs="-",je=1;
var n=navigator;
if (self.screen) {
sr=screen.width+"x"+screen.height;
sc=screen.colorDepth+"-bit";
} else if (self.java) {
var j=java.awt.Toolkit.getDefaultToolkit();
var s=j.getScreenSize();
sr=s.width+"x"+s.height;
}
if (n.language) { ul=n.language.toLowerCase(); }
else if (n.browserLanguage) { ul=n.browserLanguage.toLowerCase(); }
je=n.javaEnabled()?1:0;
if (_uflash) fl=_uFlash();
if (_ubd.characterSet) cs=_uES(_ubd.characterSet);
else if (_ubd.charset) cs=_uES(_ubd.charset);
return "&utmcs="+cs+"&utmsr="+sr+"&utmsc="+sc+"&utmul="+ul+"&utmje="+je+"&utmfl="+fl;
}
function __utmSetTrans() {
var e;
if (_ubd.getElementById) e=_ubd.getElementById("utmtrans");
else if (_ubd.utmform && _ubd.utmform.utmtrans) e=_ubd.utmform.utmtrans;
if (!e) return;
var l=e.value.split("UTM:");
var i,i2,c;
if (_userv==0 || _userv==2) i=new Array();
if (_userv==1 || _userv==2) { i2=new Array(); c=_uGCS(); }
for (var ii=0;ii<l.length;ii++) {
l[ii]=_uTrim(l[ii]);
if (l[ii].charAt(0)!='T' && l[ii].charAt(0)!='I') continue;
var r=Math.round(Math.random()*2147483647);
if (!_utsp || _utsp=="") _utsp="|";
var f=l[ii].split(_utsp),s="";
if (f[0].charAt(0)=='T') {
s="&utmt=tran"+"&utmn="+r;
f[1]=_uTrim(f[1]); if(f[1]&&f[1]!="") s+="&utmtid="+_uES(f[1]);
f[2]=_uTrim(f[2]); if(f[2]&&f[2]!="") s+="&utmtst="+_uES(f[2]);
f[3]=_uTrim(f[3]); if(f[3]&&f[3]!="") s+="&utmtto="+_uES(f[3]);
f[4]=_uTrim(f[4]); if(f[4]&&f[4]!="") s+="&utmttx="+_uES(f[4]);
f[5]=_uTrim(f[5]); if(f[5]&&f[5]!="") s+="&utmtsp="+_uES(f[5]);
f[6]=_uTrim(f[6]); if(f[6]&&f[6]!="") s+="&utmtci="+_uES(f[6]);
f[7]=_uTrim(f[7]); if(f[7]&&f[7]!="") s+="&utmtrg="+_uES(f[7]);
f[8]=_uTrim(f[8]); if(f[8]&&f[8]!="") s+="&utmtco="+_uES(f[8]);
} else {
s="&utmt=item"+"&utmn="+r;
f[1]=_uTrim(f[1]); if(f[1]&&f[1]!="") s+="&utmtid="+_uES(f[1]);
f[2]=_uTrim(f[2]); if(f[2]&&f[2]!="") s+="&utmipc="+_uES(f[2]);
f[3]=_uTrim(f[3]); if(f[3]&&f[3]!="") s+="&utmipn="+_uES(f[3]);
f[4]=_uTrim(f[4]); if(f[4]&&f[4]!="") s+="&utmiva="+_uES(f[4]);
f[5]=_uTrim(f[5]); if(f[5]&&f[5]!="") s+="&utmipr="+_uES(f[5]);
f[6]=_uTrim(f[6]); if(f[6]&&f[6]!="") s+="&utmiqt="+_uES(f[6]);
}
if (_udl.hostname && _udl.hostname!="") s+="&utmhn="+_uES(_udl.hostname);
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
if ((_userv==0 || _userv==2) && _uSP()) {
i[ii]=new Image(1,1);
i[ii].src=_ugifpath+"?"+"utmwv="+_uwv+s;
i[ii].onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
i2[ii]=new Image(1,1);
i2[ii].src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+c;
i2[ii].onload=function() { _uVoid(); }
}
}
return;
}
function _uFlash() {
var f="-",n=navigator;
if (n.plugins && n.plugins.length) {
for (var ii=0;ii<n.plugins.length;ii++) {
if (n.plugins[ii].name.indexOf('Shockwave Flash')!=-1) {
f=n.plugins[ii].description.split('Shockwave Flash ')[1];
break;
}
}
} else {
var fl;
try {
fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
f = fl.GetVariable("$version");
} catch(e) {}
if (f == "-") {
try {
fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
f = "WIN 6,0,21,0";
fl.AllowScriptAccess = "always";
f = fl.GetVariable("$version");
} catch(e) {}
}
if (f == "-") {
try {
fl = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
f = fl.GetVariable("$version");
} catch(e) {}
}
if (f != "-") {
f = f.split(" ")[1].split(",");
f = f[0] + "." + f[1] + " r" + f[2];
}
}
return f;
}
function __utmLinkerUrl(l,h) {
var p,k,a="-",b="-",c="-",x="-",z="-",v="-";
var dc=_ubd.cookie;
var iq = l.indexOf("?");
var ih = l.indexOf("#");
var url=l;
if (dc) {
a=_uES(_uGC(dc,"__utma="+_udh+".",";"));
b=_uES(_uGC(dc,"__utmb="+_udh,";"));
c=_uES(_uGC(dc,"__utmc="+_udh,";"));
x=_uES(_uGC(dc,"__utmx="+_udh,";"));
z=_uES(_uGC(dc,"__utmz="+_udh+".",";"));
v=_uES(_uGC(dc,"__utmv="+_udh+".",";"));
k=(_uHash(a+b+c+x+z+v)*1)+(_udh*1);
p="__utma="+a+"&__utmb="+b+"&__utmc="+c+"&__utmx="+x+"&__utmz="+z+"&__utmv="+v+"&__utmk="+k;
}
if (p) {
if (h && ih>-1) return;
if (h) { url=l+"#"+p; }
else {
if (iq==-1 && ih==-1) url=l+"?"+p;
else if (ih==-1) url=l+"&"+p;
else if (iq==-1) url=l.substring(0,ih-1)+"?"+p+l.substring(ih);
else url=l.substring(0,ih-1)+"&"+p+l.substring(ih);
}
}
return url;
}
function __utmLinker(l,h) {
if (!_ulink || !l || l=="") return;
_udl.href=__utmLinkerUrl(l,h);
}
function __utmLinkPost(f,h) {
if (!_ulink || !f || !f.action) return;
f.action=__utmLinkerUrl(f.action, h);
return;
}
function __utmSetVar(v) {
if (!v || v=="") return;
if (!_udo || _udo == "") {
_udh=_uDomain();
if (_udn && _udn!="") { _udo=" domain="+_udn+";"; }
}
if (!_uVG()) return;
var r=Math.round(Math.random() * 2147483647);
_ubd.cookie="__utmv="+_udh+"."+_uES(v)+"; path="+_utcp+"; expires="+_uNx()+";"+_udo;
var s="&utmt=var&utmn="+r;
if (_usample && _usample != 100) s+="&utmsp="+_uES(_usample);
if ((_userv==0 || _userv==2) && _uSP()) {
var i=new Image(1,1);
i.src=_ugifpath+"?"+"utmwv="+_uwv+s;
i.onload=function() { _uVoid(); }
}
if ((_userv==1 || _userv==2) && _uSP()) {
var i2=new Image(1,1);
i2.src=_ugifpath2+"?"+"utmwv="+_uwv+s+"&utmac="+_uacct+"&utmcc="+_uGCS();
i2.onload=function() { _uVoid(); }
}
}
function _uGCS() {
var t,c="",dc=_ubd.cookie;
if ((t=_uGC(dc,"__utma="+_udh+".",";"))!="-") c+=_uES("__utma="+t+";+");
if ((t=_uGC(dc,"__utmx="+_udh,";"))!="-") c+=_uES("__utmx="+t+";+");
if ((t=_uGC(dc,"__utmz="+_udh+".",";"))!="-") c+=_uES("__utmz="+t+";+");
if ((t=_uGC(dc,"__utmv="+_udh+".",";"))!="-") c+=_uES("__utmv="+t+";");
if (c.charAt(c.length-1)=="+") c=c.substring(0,c.length-1);
return c;
}
function _uGC(l,n,s) {
if (!l || l=="" || !n || n=="" || !s || s=="") return "-";
var i,i2,i3,c="-";
i=l.indexOf(n);
i3=n.indexOf("=")+1;
if (i > -1) {
i2=l.indexOf(s,i); if (i2 < 0) { i2=l.length; }
c=l.substring((i+i3),i2);
}
return c;
}
function _uDomain() {
if (!_udn || _udn=="" || _udn=="none") { _udn=""; return 1; }
if (_udn=="auto") {
var d=_ubd.domain;
if (d.substring(0,4)=="www.") {
d=d.substring(4,d.length);
}
_udn=d;
}
_udn = _udn.toLowerCase();
if (_uhash=="off") return 1;
return _uHash(_udn);
}
function _uHash(d) {
if (!d || d=="") return 1;
var h=0,g=0;
for (var i=d.length-1;i>=0;i--) {
var c=parseInt(d.charCodeAt(i));
h=((h << 6) & 0xfffffff) + c + (c << 14);
if ((g=h & 0xfe00000)!=0) h=(h ^ (g >> 21));
}
return h;
}
function _uFixA(c,s,t) {
if (!c || c=="" || !s || s=="" || !t || t=="") return "-";
var a=_uGC(c,"__utma="+_udh+".",s);
var lt=0,i=0;
if ((i=a.lastIndexOf(".")) > 9) {
_uns=a.substring(i+1,a.length);
_uns=(_uns*1)+1;
a=a.substring(0,i);
if ((i=a.lastIndexOf(".")) > 7) {
lt=a.substring(i+1,a.length);
a=a.substring(0,i);
}
if ((i=a.lastIndexOf(".")) > 5) {
a=a.substring(0,i);
}
a+="."+lt+"."+t+"."+_uns;
}
return a;
}
function _uTrim(s) {
if (!s || s=="") return "";
while ((s.charAt(0)==' ') || (s.charAt(0)=='\n') || (s.charAt(0,1)=='\r')) s=s.substring(1,s.length);
while ((s.charAt(s.length-1)==' ') || (s.charAt(s.length-1)=='\n') || (s.charAt(s.length-1)=='\r')) s=s.substring(0,s.length-1);
return s;
}
function _uEC(s) {
var n="";
if (!s || s=="") return "";
for (var i=0;i<s.length;i++) {if (s.charAt(i)==" ") n+="+"; else n+=s.charAt(i);}
return n;
}
function __utmVisitorCode(f) {
var r=0,t=0,i=0,i2=0,m=31;
var a=_uGC(_ubd.cookie,"__utma="+_udh+".",";");
if ((i=a.indexOf(".",0))<0) return;
if ((i2=a.indexOf(".",i+1))>0) r=a.substring(i+1,i2); else return "";
if ((i=a.indexOf(".",i2+1))>0) t=a.substring(i2+1,i); else return "";
if (f) {
return r;
} else {
var c=new Array('A','B','C','D','E','F','G','H','J','K','L','M','N','P','R','S','T','U','V','W','X','Y','Z','1','2','3','4','5','6','7','8','9');
return c[r>>28&m]+c[r>>23&m]+c[r>>18&m]+c[r>>13&m]+"-"+c[r>>8&m]+c[r>>3&m]+c[((r&7)<<2)+(t>>30&3)]+c[t>>25&m]+c[t>>20&m]+"-"+c[t>>15&m]+c[t>>10&m]+c[t>>5&m]+c[t&m];
}
}
function _uIN(n) {
if (!n) return false;
for (var i=0;i<n.length;i++) {
var c=n.charAt(i);
if ((c<"0" || c>"9") && (c!=".")) return false;
}
return true;
}
function _uES(s,u) {
if (typeof(encodeURIComponent) == 'function') {
if (u) return encodeURI(s);
else return encodeURIComponent(s);
} else {
return escape(s);
}
}
function _uUES(s) {
if (typeof(decodeURIComponent) == 'function') {
return decodeURIComponent(s);
} else {
return unescape(s);
}
}
function _uVG() {
if((_udn.indexOf("www.google.") == 0 || _udn.indexOf(".google.") == 0 || _udn.indexOf("google.") == 0) && _utcp=='/' && _udn.indexOf("google.org")==-1) {
return false;
}
return true;
}
function _uSP() {
var s=100;
if (_usample) s=_usample;
if(s>=100 || s<=0) return true;
return ((__utmVisitorCode(1)%10000)<(s*100));
}
function urchinPathCopy(p){
var d=document,nx,tx,sx,i,c,cs,t,h,o;
cs=new Array("a","b","c","v","x","z");
h=_uDomain(); if (_udn && _udn!="") o=" domain="+_udn+";";
nx=_uNx()+";";
tx=new Date(); tx.setTime(tx.getTime()+(_utimeout*1000));
tx=tx.toGMTString()+";";
sx=new Date(); sx.setTime(sx.getTime()+(_ucto*1000));
sx=sx.toGMTString()+";";
for (i=0;i<6;i++){
t=" expires=";
if (i==1) t+=tx; else if (i==2) t=""; else if (i==5) t+=sx; else t+=nx;
c=_uGC(d.cookie,"__utm"+cs[i]+"="+h,";");
if (c!="-") d.cookie="__utm"+cs[i]+"="+c+"; path="+p+";"+t+o;
}
}
function _uCO() {
if (!_utk || _utk=="" || _utk.length<10) return;
var d='www.google.com';
if (_utk.charAt(0)=='!') d='analytics.corp.google.com';
_ubd.cookie="GASO="+_utk+"; path="+_utcp+";"+_udo;
var sc=document.createElement('script');
sc.type='text/javascript';
sc.id="_gasojs";
sc.src='https://'+d+'/analytics/reporting/overlay_js?gaso='+_utk+'&'+Math.random();
document.getElementsByTagName('head')[0].appendChild(sc);
}
function _uGT() {
var h=location.hash, a;
if (h && h!="" && h.indexOf("#gaso=")==0) {
a=_uGC(h,"gaso=","&");
} else {
a=_uGC(_ubd.cookie,"GASO=",";");
}
return a;
}
var _utk=_uGT();
if (_utk && _utk!="" && _utk.length>10 && _utk.indexOf("=")==-1) {
if (window.addEventListener) {
window.addEventListener('load', _uCO, false);
} else if (window.attachEvent) {
window.attachEvent('onload', _uCO);
}
}
function _uNx() {
return (new Date((new Date()).getTime()+63072000000)).toGMTString();
}

Binary file not shown.

View File

@ -0,0 +1,8 @@
destination_fullpath=$HOME/temp2
if [ ! -d "$destination_fullpath" ]; then
mkdir "$destination_fullpath"
fi
#next line requires imagemagick
mogrify -path "$destination_fullpath" -geometry x1080 *.JPG

View File

@ -0,0 +1,8 @@
Content-Type: text/blnk
Type:Application
NoDisplay:true
Terminal:false
Name:C:\Users\jgustafson\ownCloud\d.cs\RotoCanvas\mencoder - Shortcut
Encoding:UTF-8
Comment:File or folder shortcut generated by lnk-to-blnk
Exec:C:\PortableApps\Video\megui\tools\mencoder

View File

@ -0,0 +1 @@
C:\Users\jgustafson.OX390\Videos\2014-01-31\iPhone-MrG\original - does not work in Premiere\iPhoneMrG-IMG_0468.MOV

6
more/rotate ffmpeg.txt Normal file
View File

@ -0,0 +1,6 @@
REM 0 = 90CounterCLockwise and Vertical Flip (default)
REM 1 = 90Clockwise
REM 2 = 90CounterClockwise
REM 3 = 90Clockwise and Vertical Flip
cd "C:\Users\Owner\Videos\2015-11-13 Day By Day lipsync\Media"
C:\PortableApps\Video\ffmpeg\bin\ffmpeg.exe -i "Day By Day lipsync 2015-11-13 LPhone-1113151734_hyperlapse_1x_std (original 23.976fps).mp4" -vf "transpose=2" "Day By Day lipsync 2015-11-13 LPhone-1113151734_hyperlapse_1x_std rot -90.mp4"