//==============================================================================================================================
function loadLinkWin(){
    $('a.linkWin').each(
	    function(){
	    	var id = $(this).attr('id') ;
	    	var width = $(this).attr('width');
	    	var height = $(this).attr('height');
	    	var display = $(this).attr('display');
	    	var url = $(this).attr('href');
	    	if(display == 'next'){
	    		$(this).removeAttr('width');
	    		$(this).removeAttr('height');
	    		$(this).removeAttr('display');
	    	}
	    	else if(display =='sub'){
	    		$(this).attr('href', "javascript:void(0);" );
//	    		$(this).attr('onClick', 'openSubwin("'+url+'", "'+width+'", "'+height+'");return false;');
	    		$(this).click(function(){
	    			openSubwin(url, width, height);
	    			return false;
	    		});
	    		$(this).removeAttr('width');
	    		$(this).removeAttr('height');
	    		$(this).removeAttr('display');
//	    		$(this).attr('href', url );
	    	}

	    }
	);

}

//========================= initialize Page ===============================================================
function openSubwin( URL, WIDTH, HEIGHT){
	window.open( URL, 'linksubWin', 'width='+ WIDTH +', height='+ HEIGHT
			+', status=0, directories=0, resizable=1,scrollbars=1,menubar=0, toolbar=0,titlebar=0' );	
}

//========================= initialize Page ===============================================================

