var photo_img_dlg = null;

function fn_photo_view1()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}

    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg1", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink1').dom);
	
	return false;
}


function fn_photo_view2()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}

    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg2", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink2').dom);
	
	return false;
}

function fn_photo_view3()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}

    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg3", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink3').dom);
	
	return false;
}


function fn_photo_view10()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}
	
    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg10", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink10').dom);
	
	return false;
}


function fn_photo_view11()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}
	
    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg11", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink11').dom);
	
	return false;
}


function fn_photo_view12()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}
	
    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg12", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink12').dom);
	
	return false;
}



function fn_photo_view20()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}
	
    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg20", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink20').dom);
	
	return false;
}


function fn_photo_view21()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}
	
    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg21", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink21').dom);
	
	return false;
}

function fn_photo_view22()
{
	if( photo_img_dlg ){
		photo_img_dlg = null;
	}
	
    if (!photo_img_dlg) {
    		photo_img_dlg = new Ext.BasicDialog("morePhotoImg22", 
    	{ 
    	    autoTabs:true,
    	    width:700,
    	    height:600,
    	    shadow:true,
    	    minWidth:500,
    	    minHeight:400,
    	    proxyDrag:true
    	}
    	);
    	
    	photo_img_dlg.addKeyListener(27,photo_img_dlg.hide,photo_img_dlg);
    	photo_img_dlg.addButton('Close',photo_img_dlg.hide,photo_img_dlg);
    }
    
    //dlg.show();
	photo_img_dlg.show(Ext.get('morePhotoImgLink22').dom);
	
	return false;
}