﻿ /// <reference path="js/jquery-1.4.2.js" />
var name='lIndex'
function a(obj){var np=obj.id;if(np!=name)obj.className='bg1';}
function c(obj){var cm=obj.value;if(cm==name){obj.className='bg1';}else{obj.className='bg2';}}
function b(obj){var np=obj.id;if(np!=name)obj.className='bg2';}
function ShowOrHide(op){if(op==1) $('#lgdiv').show(); else $('#lgdiv').hide();}   
function show(){$('#login_box').show();}
function hidden(){$('#login_box').hide();}
function accshow(){$('#index_user').show();}
function acchide(){$('#index_user').hide()}
 
// 移进
function mams(obj)
{  
    if(obj=='a')
    {  
         $('#mata').css({'background':'url(images/maix/czdyh1.gif) no-repeat'});
         $('#matb').css({'background':'url(images/maix/sjbytc1.jpg) no-repeat'});
         $('#matc').css({'background':'url(images/maix/bykyh1.gif) no-repeat'});
         $('#matbb').hide();
 $('#matcc').hide();
    }else if (obj=='b'){ 
         $('#mata').css({'background':'url(images/maix/czdyh.gif) no-repeat'});
         $('#matb').css({'background':'url(images/maix/sjbytc.jpg) no-repeat'});
         $('#matc').css({'background':'url(images/maix/bykyh1.gif) no-repeat'});
         $('#mataa').hide();  
 $('#matcc').hide();      
    } 
else{ 
         $('#mata').css({'background':'url(images/maix/czdyh.gif) no-repeat'});
         $('#matb').css({'background':'url(images/maix/sjbytc1.jpg) no-repeat'});
         $('#matc').css({'background':'url(images/maix/bykyh.gif) no-repeat'});
         $('#mataa').hide(); 
 $('#matbb').hide();       
    }  
    $('#mat'+obj+obj).show();
}  
