$(document).ready(function(){
    // initalize the effect
    $("input").each(function(){
        var value = $(this).val();
        if (value == ""|| value == " ")
            $(this).removeClass('filled');
        else
            $(this).addClass('filled');    
    });
    $("input").focus(function(){
        $(this).addClass('filled');
    });
    $("input").blur(function(){
        var value = $(this).val();
        if (value == "" || value == " ")
            $(this).removeClass('filled');
        else
            $(this).addClass('filled'); 
    });
    $('#selSubHeader ul').superfish ({      
        delay:         500,                
        animation:     {opacity:"show"}, 
        speed:         "slow",         
        autoArrows:    false,               
        dropShadows:   true,               
        disableHI:     true
    }); 
});
function getProfiles()
{
var profiles =
{
	windowSettle:
	{
		height:550,
		width:900,
		center:1,
        resizable:0
	},

	windowHistory:
	{
		height:340,
		width:450,
		center:1,
        scrollbars:1
	},
    
	windowView:
	{
		height:800,
		width:950,
        center:1,
        scrollbars:1
	},

	windowEdit:
	{
		height:600,
		width:950,
		center:1,
        scrollbars:1
	},
    
    windowPreview:
	{
		height:800,
		width:1000,
        center:1,
        scrollbars:1
	}
    
};
    return profiles;
}
