/* ContentFlow, version $$VERSION$$
* (c) 2007, 2008 Sebastian Kutsch
*
*
* ContentFlow is distributed under the terms of the MIT license.
* (see http://www.jacksasylum.eu/ContentFlow/LICENSE)
*
*--------------------------------------------------------------------------*/
/* Global configutaion and initilization object */
var ContentFlowGlobal = {
Flows: [],
AddOns: {},
scriptName: 'contentflow.js',
scriptElement: null,
getScriptElement:function () {
var regex = new RegExp(this.scriptName);
var scripts = document.getElementsByTagName('script');
for (var i=0; i');
document.write('');
if (this.scriptElement.getAttribute('charset')) {
var AddOns = this.scriptElement.getAttribute('charset').split(' ');
for (var i=0; i<\/script>');
}
}
/* ========== ContentFlow auto initialization on document load ==========
* thanks to Dean Edwards
* http://dean.edwards.name/weblog/2005/02/order-of-events/
*/
var CFG = this;
/* for Mozilla, Opera 9, Safari */
if (document.addEventListener) {
/* for Safari */
if (/WebKit/i.test(navigator.userAgent)) { // sniff
var _timer = setInterval(function() {
if (/loaded|complete/.test(document.readyState)) {
clearInterval(_timer);
CFG.onloadInit(); // call the onload handler
}
}, 10);
}
else {
document.addEventListener("DOMContentLoaded", CFG.onloadInit, false);
}
}
/* for Internet Explorer */
/*@cc_on @*/
/*@if (@_win32)
document.write("