minus = 0;

							$("#footer").css("visibility","visible");
							if (screen.height <= $(document).height())
							{
								$("#innerfooter").css("width", screen.width-17 );
							}
							else
							{
								$("#innerfooter").css("width", screen.width);
							}
							
							$("#innerfooter").css("position","absolute");
							
							$(document).ready(function(){
								
								pc = $(".pagecontent");
								
								//if ($(document).height() > screen.height)
								//{
									topp = pc.offset().top + pc.height()+parseInt(pc.css("padding-top"))+parseInt(pc.css("padding-bottom"))+10;
								//}
								//else
								//{
									//topp = $(document).height()-80;
								//}
								
								$("#footer").css("position","absolute").css("top",topp+"px");
								
								add = 0;
								var ua = $.browser;
								if ( ua.msie && ua.version <=7 ) {
									add= $(document).width()*0.5;
									
									$('#sclogo').css('margin-top','-20px');
									$('.footerTxt').css('margin-right','90px');
								}
								offLeft = parseInt($("#top_menu").offset().left + add);
								
								offRight = $(document).width()-offLeft;
								
								leftp = $(".footerLeftPart")
								width = leftp.css("display","inline-block").width();
								
								leftp.css("display","block")
									 .css("position","absolute")
									 .css("width",3000+"px")
									 .css("padding-left",offLeft+"px")
									 .css("right",(offLeft+980-width-20)+"px")
									 .css("height","29px")
									 .css("text-align","right")
									 .css("padding-right","10px");
							});
