/*
** jsTouch - JavaScript Touch Toolkit
** @version 0.0.1
** @description:
**   Toolkit JavaScript and HTML5 developers, marching in step with the times ;)
** @example:
**   <script type="jsTouch.js">{"jQuery":true,"scripts":["my.js"]}</script>
** @author: Alexander Kuznetsov aka Regent(http://vl.vg/)
** @temp_home_page: http://vl.vg/
** Dual licensed under the MIT and GPL licenses.
** - http://www.opensource.org/licenses/mit-license.php
** - http://www.gnu.org/copyleft/gpl.html
*/
(function(){var f=this,g=f.document,d={scripts:[]},h={data:[],urls:[]},j={jQuery:{url:"http://ajax.googleapis.com/ajax/libs/jquery/$version/jquery.min.js",latest:"1.4.1"},"jQuery UI":{url:"http://ajax.googleapis.com/ajax/libs/jqueryui/$version/jquery-ui.min.js",latest:"1.7.2"},Prototype:{url:"http://ajax.googleapis.com/ajax/libs/prototype/$version/prototype.js",latest:"1.6.0.3"},"script.aculo.us":{url:"http://ajax.googleapis.com/ajax/libs/scriptaculous/$version/scriptaculous.js",latest:"1.8.2"},MooTools:{url:"http://ajax.googleapis.com/ajax/libs/mootools/$version/mootools-yui-compressed.js", latest:"1.2.3"},Dojo:{url:"http://ajax.googleapis.com/ajax/libs/dojo/$version/dojo/dojo.xd.js",latest:"1.3.1"},SWFObject:{url:"http://ajax.googleapis.com/ajax/libs/swfobject/$version/swfobject.js",latest:"2.2"},Yahoo:{url:"http://ajax.googleapis.com/ajax/libs/yui/$version/build/yuiloader/yuiloader-min.js",latest:"2.7.0"},"Ext Core":{url:"http://ajax.googleapis.com/ajax/libs/ext-core/$version/ext-core.js",latest:"3.0.0"}},i=function(b,k){return j[b].url.replace("$version",k)},a=g.getElementsByTagName("script"), c="[\\x09\\x0A-\\x0D\\x20\\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000]+",l=new RegExp("^"+c+"|"+c+"$","g");a=a.length?a[a.length-1].text.replace(l,""):null;l=function(b){if(typeof b!=="string"||!b)return null;if(/^[\],:{}\s]*$/.test(b.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return f.JSON&&f.JSON.parse?f.JSON.parse(b):(new Function("return "+b))(); else o("Invalid JSON: "+b)};var m=f.console,o=m&&m.error||function(b){throw new Error(b);},e=function(b){if(e.fns)b&&e.fns.push(b);else e.fns=[b];if(e.is===true){e.interval&&f.clearInterval(e.interval);b=0;for(var k=e.fns.length;b<k;b++)e.fns[b].call(f)}else if(!e.interval)e.interval=f.setInterval(function(){if(g&&g.getElementsByTagName&&g.getElementById&&g.body){e.is=true;e()}},50);return e.is};try{if(a)if((a=a.split("").reverse().join("").replace(/^((\/\*(.|\s)*?\*\/)|(\n.*\/\/)|\s)*/,"").split("").reverse().join("").replace(/^((\/\*(.|\s)*?\*\/)|(\/\/.*\n)|\s)*/, ""))&&(a=l(a)))if(a instanceof Array)d.scripts=a;else for(c in a)if(a.hasOwnProperty(c))d[c]=a[c]}catch(p){}for(c in d)if(d.hasOwnProperty(c)&&j.hasOwnProperty(c)){a=d[c];h.urls.push(i(c,a==="true"||a===true?j[c].latest:a))}a=d.scripts;i=a.length;for(d=0;d<i;d++)h.urls.push(a[d]);if(h.urls){c=h.urls;i=c.length;d=0;for(var n=g.createDocumentFragment();d<i;d++){h=g.createElement("script");h.setAttribute("type","text/javascript");h.setAttribute("src",c[d]);n.appendChild(h)}e(function(){g.getElementsByTagName("head")[0].appendChild(n)})}})();

/*** ----------------- **** ----------------- ****
**** HTML5 tags Enable **** (c) http://vj.vg/ ****
**** ----------------- **** ----------------- ***/
(function(a){if(!/*@cc_on!@*/0)return;"abbr article aside audio canvas datalist details eventsource figure footer header hgroup mark menu meter nav output progress section time video".replace(/\w+/g,function(b){a.createElement(b)})})(document);
