$(function()
{
	$('#search-1, #search-2').jqTransform();
		    
	if (jQuery.browser.mozilla)
	{
		$("head").append('<link rel="stylesheet" type="text/css" href="/css/firefox.css" />');
	}
});

function getcss(cssfile)
{
	loadcss = document.createElement('link')
	loadcss.setAttribute("rel", "stylesheet")
	loadcss.setAttribute("type", "text/css")
	loadcss.setAttribute("href", cssfile)
	document.getElementsByTagName("head")[0].appendChild(loadcss)
}
         
if (screen.width >= '1681' && screen.width <= '1920') 
{
	getcss('/css/1920.css');
}
else if(screen.width >= '1441' && screen.width <= '1680')
{
	getcss('/css/1680.css');
}
else if(screen.width >= '1367' && screen.width <= '1440')
{
	getcss('/css/1440.css');
}
else if(screen.width >= '1281' && screen.width <= '1366')
{
	getcss('/css/1366.css');
}
else if(screen.width >= '1025' && screen.width <= '1280')
{
	if (screen.height <= '720')
	{
		getcss('/css/1280x720.css');
	}
	else if (screen.height >= '721' && screen.height <= '768')
	{
		getcss('/css/1280x768.css');
	}
	else if (screen.height >= '769' && screen.height <= '800')
	{
		getcss('/css/1280x800.css');
	}
	else if (screen.height >= '801' && screen.height <= '960')
	{
		getcss('/css/1280x960.css');
	}
	else if (screen.height >= '961' && screen.height <= '1024')
	{
		getcss('/css/1280x1024.css');
	}
}
else if (screen.width <= '1024')
{
	getcss('/css/1024.css');
}
