$(document).ready
(
	function() 
	{

		if(jQuery.url.attr("source") == "http://www.wipro.com/" || jQuery.url.attr("file") == "index.aspx" || jQuery.url.attr("source") == "http://wipro.com/" )
		{
			if(jQuery.browser.msie)
			{
				//alert(parseInt(jQuery.browser.version));
			if(parseInt(jQuery.browser.version) == "6" ||  parseInt(jQuery.browser.version) == "7")
				{
					//alert("a2");
					$(".menu_left")
						.css
						(
							{
								marginLeft:	'231px'
							}
						);
				}
			else
				{
					//alert("a1");
					$(".menu_left")
						.css
						(
							{
								marginLeft:	'732px'
							}
						);
				}	
			}
		}
		else
		{
			$(".menu_left")
				.css
				(
					{
						marginLeft:	'732px'
					}
				);	
		}
		$(".menu_left")
			.css
			(
				{
					display:'block'
				}
			);
		$(".home_news")
			.css
			(
				{
					backgroundColor:'#ffffff', 
					opacity:0.8
				}
			);
		//DD_roundies.addRule('.home_news', '10px 10px 0 0', true);
		var img = new Image();
        $(img)
			.load
			(
			 	function () 
				{
            		$(this)
						.css('display', 'none'); // .hide() doesn't work in Safari when the element isn't on the DOM already
            		$('.container')
						.removeClass('loading')
						.append(this);
					$(".load_text")
						.remove();
            		$(this)
						.fadeIn
						(
							"slow",
							function()
							{
								/*load wipro logo*/
								
								
								
							}
						);
        		}
			)
			.error
			(
			 	function () 
				{
            		// notify the user that the image could not be loaded
        		}
			)
			.attr
			(
			 	'src', '/images/home/bg.jpg'
			);	
	}
)
