/**
* Common Javascript Methods
*
* @author 		Zone
* @email		info@zonecontent.com
* @url 			http://www.zonecontent.com/
* @copyright 	Copyright (c) 2009, zonecontent.com. All rights reserved.
* @version		0.0.1
*/
var CLASSES = {
    "focus": "focus",
    "hover": "hover"
}
// IE6 Index panel positional fixes
if ($.browser.msie) {
    $(".panel_category:odd").after('<span class="clear"></span>');
    
}

// IE6 link state fixes
if ($.browser.msie && $.browser.version < 8) {

    // Input focus 
    $("input[type=text]").focus(function() {
        $(this).addClass(CLASSES.focus);
    }).blur(function() {
        $(this).removeClass(CLASSES.focus);
    });

    // Hover
    // $("div").hover(function () {
    // 		$(this).addClass( CLASSES.hover );
    // 	}, function () {
    // 		$(this).removeClass( CLASSES.hover );	
    // 	});
    $(".article_list li:last-child").addClass("last_child");



} else {
    $(".panel_category:odd").addClass("last");
}
if ($.browser.msie && $.browser.version == 7) {
    $(".panel_category:odd").addClass("last");
}


$(".panel_thumbnail:nth-child(3n), #individual_packs li:nth-child(4n)").addClass("last");
//$("#menu > li.active").parent().addClass("active");

// alert($(".panel_category:odd").eq(0).html())