/*!
 * Copyright (c) 2010 Liberty Concepts
 * http://www.libertyconceots.com
 * All right reserved *
 * @version 1.0
 *
 * @description Put all jQuery code into engine.structure.allBrowsers
 * engine.structure.ie is reserved only for IE lte 8.0 browsers
 */

var engine = {
    /*
     * SAMPLE PLUGIN CODE
    customPlugin : {
        init : function(opts) {
            this.supportMethod_1(opts)
        },
        supportMethod_1 : function(options) {
            var x = options;
            this.supportMethod_2(x);
        },
        supportMethod_2 : function(options2) {
            alert(options2);
        }
    },
    */
    structure: {
        init : function(){
            if (!jQuery.support.opacity) {
                this.ie();
                this.allBrowsers();
            }
            else {
                this.allBrowsers();
            }
        },
        ie : function(){
		//HERE GOES jQUERY FOR IE BROWSERS ONLY!
        },
        allBrowsers : function(){
		if ($j("ul.sf-menu").length) {
		  $j("ul.sf-menu").supersubs({minWidth:15,maxWidth:30,extraWidth:1}).superfish().find('ul').bgIframe({opacity:false});
		}
		$j("#slideShow div").cycle()
        }
    }
}

$j(function(){
    engine.structure.init();
    plugins.pageTools.init("#contentHere");
    plugins.externalLinks();
});