diff options
author | Brandon Mathis <brandon@imathis.com> | 2011-06-24 17:17:35 -0400 |
---|---|---|
committer | Brandon Mathis <brandon@imathis.com> | 2011-06-24 17:17:35 -0400 |
commit | ef3ff431e5c3028b764d1938bb552a76c340799c (patch) | |
tree | b6d606ab522422238063f41e3334b3d7492fe69d /themes/classic/source | |
parent | a128d4990b6a346076bb07892ecdab868fdce467 (diff) | |
download | my_new_personal_website-ef3ff431e5c3028b764d1938bb552a76c340799c.tar.xz my_new_personal_website-ef3ff431e5c3028b764d1938bb552a76c340799c.zip |
1. Added html5 video with flash fallback.
2. Added Rack support
3. Disqus support
4. Improved Readme
5. Improved Syntax flexibility and styling
6. Improved blockquote styling
Diffstat (limited to '')
44 files changed, 142 insertions, 7 deletions
diff --git a/themes/classic/source/_includes/disqus_thread.html b/themes/classic/source/_includes/disqus_thread.html index 2b137792..f966f03a 100644 --- a/themes/classic/source/_includes/disqus_thread.html +++ b/themes/classic/source/_includes/disqus_thread.html @@ -3,7 +3,7 @@ var disqus_shortname = '{{ site.disqus_short_name }}'; var disqus_identifier = '{{ site.url }}{{ page.url }}'; var disqus_url = '{{ site.url }}{{ page.url }}'; - var disqus_developer = 1; + //var disqus_developer = 1; (function() { var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; dsq.src = 'http://' + disqus_shortname + '.disqus.com/embed.js'; diff --git a/themes/classic/source/_includes/head.html b/themes/classic/source/_includes/head.html index d97a6a0a..a4eec3d3 100644 --- a/themes/classic/source/_includes/head.html +++ b/themes/classic/source/_includes/head.html @@ -26,7 +26,7 @@ <link href="/images/favicon.png" rel="shortcut icon" /> <link href="/stylesheets/screen.css" media="screen, projection" rel="stylesheet" type="text/css"> <script src="/javascripts/modernizr-2.0.js"></script> - <script src="/javascripts/ender.js"></script> + <script src="http://s3.amazonaws.com/ender-js/jeesh.min.js"></script> <script src="/javascripts/octopress.js" type="text/javascript"></script> <link href='http://fonts.googleapis.com/css?family=PT+Serif:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=PT+Sans:regular,italic,bold,bolditalic' rel='stylesheet' type='text/css'> diff --git a/themes/classic/source/_includes/post_author.html b/themes/classic/source/_includes/post_author.html new file mode 100644 index 00000000..a62a68a8 --- /dev/null +++ b/themes/classic/source/_includes/post_author.html @@ -0,0 +1,6 @@ +{% if page.author %} + {% assign author = page.author %} +{% else %} + {% assign author = site.author %} +{% endif %} +{% if author %}<span class="byline author vcard">Posted by <span class="fn">{{ author }}</span></span>{% endif %} diff --git a/themes/classic/source/_includes/post_date.html b/themes/classic/source/_includes/post_date.html new file mode 100644 index 00000000..e8455a60 --- /dev/null +++ b/themes/classic/source/_includes/post_date.html @@ -0,0 +1,6 @@ +{% if page.date %} +<time datetime="{{ page.date | datetime }}" pubdate {% if page.updated %} updated {% endif %}>{{ page.date | ordinalize }}</time> +{% endif %} +{% if page.updated %} +<time class="updated" datetime="{{ page.updated | datetime }}"></time> +{% endif %} diff --git a/themes/classic/source/_includes/sharing.html b/themes/classic/source/_includes/sharing.html new file mode 100644 index 00000000..ad3112ee --- /dev/null +++ b/themes/classic/source/_includes/sharing.html @@ -0,0 +1 @@ +<a href="http://twitter.com/share" class="twitter-share-button" data-url="{{ site.url }}{{ page.url }}" data-via="{{ site.twitter_user }}" data-counturl="{{ site.url }}{{ page.url }}" >Tweet</a> diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/background.png b/themes/classic/source/assets/jwplayer/glow/controlbar/background.png Binary files differnew file mode 100644 index 00000000..c2824cc4 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/background.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png Binary files differnew file mode 100644 index 00000000..010159f3 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/blankButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/divider.png b/themes/classic/source/assets/jwplayer/glow/controlbar/divider.png Binary files differnew file mode 100644 index 00000000..77cd829a --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/divider.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png Binary files differnew file mode 100644 index 00000000..e06aa50c --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png b/themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png Binary files differnew file mode 100644 index 00000000..d2bc4fc7 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/fullscreenButtonOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png Binary files differnew file mode 100644 index 00000000..40c40ab2 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/muteButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png b/themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png Binary files differnew file mode 100644 index 00000000..96fe7bb0 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/muteButtonOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png Binary files differnew file mode 100644 index 00000000..22295074 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png b/themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png Binary files differnew file mode 100644 index 00000000..15db44d4 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/normalscreenButtonOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png Binary files differnew file mode 100644 index 00000000..e399bf34 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/pauseButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png b/themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png Binary files differnew file mode 100644 index 00000000..409d89d2 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/pauseButtonOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png Binary files differnew file mode 100644 index 00000000..f8d9a007 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/playButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png b/themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png Binary files differnew file mode 100644 index 00000000..3fe28484 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/playButtonOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png Binary files differnew file mode 100644 index 00000000..73b371ab --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderBuffer.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png Binary files differnew file mode 100644 index 00000000..72322171 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapLeft.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png Binary files differnew file mode 100644 index 00000000..626444a6 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderCapRight.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png Binary files differnew file mode 100644 index 00000000..132a8e7d --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderProgress.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png Binary files differnew file mode 100644 index 00000000..27851dfd --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/timeSliderRail.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png b/themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png Binary files differnew file mode 100644 index 00000000..3658453c --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButton.png diff --git a/themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png b/themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png Binary files differnew file mode 100644 index 00000000..138ebb35 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/controlbar/unmuteButtonOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/display/background.png b/themes/classic/source/assets/jwplayer/glow/display/background.png Binary files differnew file mode 100644 index 00000000..391152f5 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/display/background.png diff --git a/themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png b/themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png Binary files differnew file mode 100644 index 00000000..a3819c1e --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/display/bufferIcon.png diff --git a/themes/classic/source/assets/jwplayer/glow/display/muteIcon.png b/themes/classic/source/assets/jwplayer/glow/display/muteIcon.png Binary files differnew file mode 100644 index 00000000..e0408bbd --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/display/muteIcon.png diff --git a/themes/classic/source/assets/jwplayer/glow/display/playIcon.png b/themes/classic/source/assets/jwplayer/glow/display/playIcon.png Binary files differnew file mode 100644 index 00000000..cb384278 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/display/playIcon.png diff --git a/themes/classic/source/assets/jwplayer/glow/dock/button.png b/themes/classic/source/assets/jwplayer/glow/dock/button.png Binary files differnew file mode 100644 index 00000000..391152f5 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/dock/button.png diff --git a/themes/classic/source/assets/jwplayer/glow/glow.xml b/themes/classic/source/assets/jwplayer/glow/glow.xml new file mode 100644 index 00000000..7d5ba038 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/glow.xml @@ -0,0 +1,115 @@ +<?xml version="1.0"?>
+<skin version="1.1" name="Glow" author="LongTail Video">
+
+ <settings>
+ <setting name="backcolor" value="0x000000" />
+ <setting name="frontcolor" value="0xeeeeee" />
+ <setting name="lightcolor" value="0xeeeeee" />
+ <setting name="screencolor" value="0x000000" />
+ </settings>
+
+ <components>
+ <component name="controlbar">
+ <settings>
+ <setting name="margin" value="0" />
+ <setting name="fontsize" value="11" />
+ <setting name="fontcolor" value="0xEEEEEE" />
+ <setting name="buttoncolor" value="0xEEEEEE" />
+ </settings>
+
+ <layout>
+ <group position="left">
+ <button name="play" />
+ <text name="elapsed" />
+ </group>
+ <group position="center">
+ <slider name="time" />
+ </group>
+ <group position="right">
+ <text name="duration" />
+ <button name="blank" />
+ <button name="mute" />
+ <button name="fullscreen" />
+ </group>
+ </layout>
+
+ <elements>
+ <element name="background" src="background.png" />
+ <element name="capLeft" src="divider.png" />
+ <element name="capRight" src="divider.png" />
+ <element name="divider" src="divider.png" />
+ <element name="blankButton" src="blankButton.png" />
+ <element name="fullscreenButton" src="fullscreenButton.png" />
+ <element name="fullscreenButtonOver" src="fullscreenButtonOver.png" />
+ <element name="muteButton" src="muteButton.png" />
+ <element name="muteButtonOver" src="muteButtonOver.png" />
+ <element name="pauseButton" src="pauseButton.png" />
+ <element name="pauseButtonOver" src="pauseButtonOver.png" />
+ <element name="playButton" src="playButton.png" />
+ <element name="playButtonOver" src="playButtonOver.png" />
+ <element name="timeSliderBuffer" src="timeSliderBuffer.png" />
+ <element name="timeSliderCapLeft" src="timeSliderCapLeft.png" />
+ <element name="timeSliderCapRight" src="timeSliderCapRight.png" />
+ <element name="timeSliderProgress" src="timeSliderProgress.png" />
+ <element name="timeSliderRail" src="timeSliderRail.png" />
+ <element name="normalscreenButton" src="normalscreenButton.png" />
+ <element name="normalscreenButtonOver" src="normalscreenButtonOver.png" />
+ <element name="unmuteButton" src="unmuteButton.png" />
+ <element name="unmuteButtonOver" src="unmuteButtonOver.png" />
+ <element name="volumeSliderRail" src="divider.png" />
+ <element name="volumeSliderProgress" src="divider.png" />
+ </elements>
+ </component>
+
+ <component name="display">
+ <settings>
+ <setting name="bufferinterval" value="250" />
+ <setting name="bufferrotation" value="90" />
+ </settings>
+ <elements>
+ <element name="background" src="background.png" />
+ <element name="playIcon" src="playIcon.png" />
+ <element name="muteIcon" src="muteIcon.png" />
+ <element name="errorIcon" src="bufferIcon.png" />
+ <element name="bufferIcon" src="bufferIcon.png" />
+ </elements>
+ </component>
+
+ <component name="dock">
+ <settings>
+ <setting name="fontcolor" value="0xFFFFFF" />
+ </settings>
+ <elements>
+ <element name="button" src="button.png" />
+ </elements>
+ </component>
+
+ <component name="playlist">
+ <settings>
+ <setting name="fontcolor" value="0xEEEEEE" />
+ <setting name="overcolor" value="0xFFFFFF" />
+ <setting name="activecolor" value="0xFFFFFF" />
+ <setting name="backgroundcolor" value="0x333333" />
+ </settings>
+ <elements>
+ <element name="item" src="item.png" />
+ <element name="itemOver" src="itemOver.png" />
+ <element name="sliderCapBottom" src="sliderCapBottom.png" />
+ <element name="sliderCapTop" src="sliderCapTop.png" />
+ <element name="sliderRail" src="sliderRail.png" />
+ <element name="sliderThumb" src="sliderThumb.png" />
+ </elements>
+ </component>
+
+ <component name="sharing">
+ <elements>
+ <element name="embedIcon" src="embedIcon.png" />
+ <element name="embedScreen" src="embedScreen.png" />
+ <element name="shareIcon" src="shareIcon.png" />
+ <element name="shareScreen" src="shareScreen.png" />
+ </elements>
+ </component>
+
+ </components>
+
+</skin>
\ No newline at end of file diff --git a/themes/classic/source/assets/jwplayer/glow/playlist/item.png b/themes/classic/source/assets/jwplayer/glow/playlist/item.png Binary files differnew file mode 100644 index 00000000..812592c3 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/playlist/item.png diff --git a/themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png b/themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png Binary files differnew file mode 100644 index 00000000..549f3721 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/playlist/itemOver.png diff --git a/themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png b/themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png Binary files differnew file mode 100644 index 00000000..048cc623 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/playlist/sliderCapBottom.png diff --git a/themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png b/themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png Binary files differnew file mode 100644 index 00000000..65c463a0 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/playlist/sliderCapTop.png diff --git a/themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png b/themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png Binary files differnew file mode 100644 index 00000000..121778af --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/playlist/sliderRail.png diff --git a/themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png b/themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png Binary files differnew file mode 100644 index 00000000..118c3e03 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/playlist/sliderThumb.png diff --git a/themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png b/themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png Binary files differnew file mode 100644 index 00000000..3394ac9c --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/sharing/embedIcon.png diff --git a/themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png b/themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png Binary files differnew file mode 100644 index 00000000..b4059754 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/sharing/embedScreen.png diff --git a/themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png b/themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png Binary files differnew file mode 100644 index 00000000..eae1d4e7 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/sharing/shareIcon.png diff --git a/themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png b/themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png Binary files differnew file mode 100644 index 00000000..695ec949 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/glow/sharing/shareScreen.png diff --git a/themes/classic/source/assets/jwplayer/player.swf b/themes/classic/source/assets/jwplayer/player.swf Binary files differnew file mode 100644 index 00000000..0eee3797 --- /dev/null +++ b/themes/classic/source/assets/jwplayer/player.swf diff --git a/themes/classic/source/index.html b/themes/classic/source/index.html index 2ef9f8cf..d6ff868e 100644 --- a/themes/classic/source/index.html +++ b/themes/classic/source/index.html @@ -3,12 +3,21 @@ layout: default blog_index: true --- {% assign index = true %} -{% for page in site.posts limit:site.posts_per_page %} +{% for page in paginator.posts %} {% assign content = page.content %} <article> {% include article.html %} </article> {% endfor %} +<nav role="pagination"> + {% if paginator.next_page %} + <a href="/page{{paginator.next_page}}/">← Older</a> + {% endif %} + <a href="/archive.html">Blog Archive</a> + {% if paginator.previous_page %} + <a href="/page{{paginator.previous_page}}/">Newer →</a> + {% endif %} +</nav> {% if site.disqus_short_name %} <script type="text/javascript"> var disqus_shortname = '{{ site.disqus_short_name }}'; diff --git a/themes/classic/source/javascripts/octopress.js b/themes/classic/source/javascripts/octopress.js index 611357a9..680cb76b 100644 --- a/themes/classic/source/javascripts/octopress.js +++ b/themes/classic/source/javascripts/octopress.js @@ -74,7 +74,7 @@ function flashVideoFallback(){ id = 'video_'+Math.round(1 + Math.random()*(100000)), width = video.attr('width'), height = parseInt(video.attr('height')) + 30; - video.after('<div class="flash-video" style="width: '+width+'px; height: '+height+'px;"><div><div id='+id+'>'); + video.after('<div class="flash-video"><div><div id='+id+'>'); swfobject.embedSWF(flashplayerlocation, id, width, height + 30, "9.0.0", { file : src, image : video.attr('poster'), skin : flashplayerskin } , { movie : src, wmode : "opaque", allowfullscreen : "true" }); @@ -101,8 +101,8 @@ function wrapFlashVideos(){ $.domReady(function(){ testFeatures(); - flashVideoFallback(); wrapFlashVideos(); + flashVideoFallback(); addCodeLineNumbers(); getNav(); addSidebarToggler(); @@ -141,5 +141,3 @@ b=j.userAgent.toLowerCase(),d=j.platform.toLowerCase(),g=d?/win/.test(d):/win/.t 10),e[1]=parseInt(c.replace(/^.*\.(.*)\s.*$/,"$1"),10),e[2]=/[a-zA-Z]/.test(c)?parseInt(c.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}else if(typeof v.ActiveXObject!=l)try{var f=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");if(f&&(c=f.GetVariable("$version")))k=!0,c=c.split(" ")[1].split(","),e=[parseInt(c[0],10),parseInt(c[1],10),parseInt(c[2],10)]}catch(h){}return{w3:a,pv:e,wk:b,ie:k,win:g,mac:d}}();return{embedSWF:function(a,b,d,i,k,e,c,f,h){var j={success:!1,id:b};if(g.w3&&!(g.wk&&g.wk<312)&& a&&b&&d&&i&&k){d+="";i+="";var p={};if(f&&typeof f===o)for(var m in f)p[m]=f[m];p.data=a;p.width=d;p.height=i;a={};if(c&&typeof c===o)for(var n in c)a[n]=c[n];if(e&&typeof e===o)for(var r in e)typeof a.flashvars!=l?a.flashvars+="&"+r+"="+e[r]:a.flashvars=r+"="+e[r];if(t(k))b=s(p,a,b),j.success=!0,j.ref=b}h&&h(j)},ua:g,getFlashPlayerVersion:function(){return{major:g.pv[0],minor:g.pv[1],release:g.pv[2]}},hasFlashPlayerVersion:t,createSWF:function(a,b,d){if(g.w3)return s(a,b,d)},getQueryParamValue:function(a){var b= i.location.search||i.location.hash;if(b){/\?/.test(b)&&(b=b.split("?")[1]);if(a==null)return u(b);for(var b=b.split("&"),d=0;d<b.length;d++)if(b[d].substring(0,b[d].indexOf("="))==a)return u(b[d].substring(b[d].indexOf("=")+1))}return""}}}(); - - |