#lightwindow_overlay {
	/* REQUIRED */
	display: none;
	visibility: hidden;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	/*height: 100px;*/
	z-index: 500;
	/* REQUIRED */
}

#lightwindow {
	/* REQUIRED */
	/* Of Note - The height and width of this element are set to 0px */
	display: none;
	visibility: hidden;
	position: absolute;
	z-index: 999;
	line-height: 0px;
	/* REQUIRED */
}

	#lightwindow_container {
		/* REQUIRED */
		display: none;
		visibility: hidden;
		position: absolute;
		/* REQUIRED */
		padding: 0 0 0 0;
		margin: 0 0 0 0;
	}

	/* IE6 needs this or it messes with our positioning */
	* html #lightwindow_container {
		overflow: hidden;
	}

	#lightwindow_contents {
		overflow: hidden;
		z-index: 0;
		position: relative;
		border: 10px solid #ffffff;
		background-color: #ffffff;
	}		

#lightwindow_loading {
	/* REQUIRED */
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	z-index: 9999;
	position: absolute;
	/* REQUIRED */
	background-color: #f0f0f0;
	padding: 10px;
}

	#lightwindow_loading_shim { 
		display: none;
		left: 0px; 
		position: absolute; 
		top: 0px;
		width: 100%; 
		height: 100%;
	}

	#lightwindow_loading span {
    	font-size: 11px;
		line-height: 32px;
		color: #444444;
		float: left;
		padding: 0 10px 0 0;
	}

	#lightwindow_loading span a,
	#lightwindow_loading span a:link, 
	#lightwindow_loading span a:visited {
		color: #000000;
		text-decoration: none;
		cursor: pointer;
	}

	#lightwindow_loading span a:hover,
	#lightwindow_loading span a:active {
		text-decoration: underline;
	}


	#lightwindow_loading img {
   		float: left;
   		margin: 0 10px 0 0;
	}


/*-----------------------------------------------------------------------------------------------
	I liked the Navigation so much from http://www.huddletogether.com/projects/lightbox2/
	I mean let's face it, it works really well and is very easy to figure out.
-----------------------------------------------------------------------------------------------*/

#lightwindow_navigation {
	/* REQUIRED */
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
	/* REQUIRED */
}
	/* We need to shim the navigation for IE, though its more of a sub-floor */
	#lightwindow_navigation_shim { 
		/* REQUIRED */
		display: none;
		left: 0px; 
		position: absolute; 
		top: 0px;
		width: 100%; 
		height: 100%;
		/* REQUIRED */
	}

	#lightwindow_navigation a,
	#lightwindow_navigation a:link,
	#lightwindow_navigation a:visited,
	#lightwindow_navigation a:hover,
	#lightwindow_navigation a:active { 
		/* REQUIRED */
		outline: none;
		/* REQUIRED */
	}

	#lightwindow_previous, 
	#lightwindow_next {
		width: 49%;
		height: 100%;
		background: transparent url(/lightwindow/images/blank.gif) no-repeat; /* Trick IE into showing hover */
		display: block;
	}
	
	#lightwindow_previous { 
		float: left;
		left: 0px;
	}

	#lightwindow_next { 
		float: right;
		right: 0px;
	}

	#lightwindow_previous:hover, 
	#lightwindow_previous:active { 
		background: url(/lightwindow/images/prevlabel.gif) left 15% no-repeat; 
	}

	#lightwindow_next:hover, 
	#lightwindow_next:active { 
		background: url(/lightwindow/images/nextlabel.gif) right 15% no-repeat; 
	}
	
	#lightwindow_previous_title,
	#lightwindow_next_title {
		display: none;
	}
	 	
#lightwindow_galleries {
	width: 100%;
	position: absolute;
	z-index: 50; 
	display: none;
	overflow: hidden;
	margin: 0 0 0 10px;
	bottom: 0px;
	left: 0px;
	height: 125px;
}

	#lightwindow_galleries_tab_container {
		width: 100%;
		height: 0px;
		overflow: hidden;
	}

	a#lightwindow_galleries_tab,		
	a:link#lightwindow_galleries_tab,
	a:visited#lightwindow_galleries_tab {
		display: block;
		height: 20px;
		width: 77px;
		float: right;
		line-height: 22px;
		color: #ffffff;
		text-decoration: none;
		font-weight: bold;
		cursor: pointer;
		font-size: 10px;
		color: #ffffbe;
		background: url(/lightwindow/images/black-70.png) repeat 0 0 transparent;
	}
	
	* html a#lightwindow_galleries_tab,		
	* html a:link#lightwindow_galleries_tab,
	* html a:visited#lightwindow_galleries_tab {	
		background: none;
		background-color: #000000;
		opacity: .70;
		filter: alpha(opacity=70);
	}

	a:hover#lightwindow_galleries_tab,
	a:active#lightwindow_galleries_tab {
		color: #1693A7;

	}

	#lightwindow_galleries_tab_span {
		display: block;
		height: 20px;
		width: 63px;
		padding: 0 7px 0 7px;
	}
	
	#lightwindow_galleries_tab .up	{
		background: url(/lightwindow/images/arrow-up.gif) no-repeat 60px 5px transparent;
	}

	#lightwindow_galleries_tab .down {
		background: url(/lightwindow/images/arrow-down.gif) no-repeat 60px 6px transparent;
	}

	#lightwindow_galleries_list {
		background: url(/lightwindow/images/black-70.png) repeat 0 0 transparent;
		overflow: hidden;
		height: 0px;
	}

	* html #lightwindow_galleries_list {
		background: none;
		background-color: #000000;
		opacity: .70;
		filter: alpha(opacity=70);
	}	

	.lightwindow_galleries_list {
		width: 200px;
		float: left;
		margin: 0 0 10px 0;
		padding: 10px;
	}

	.lightwindow_galleries_list h1 {	
		color: #000000;
		text-decoration: none;
		font-weight: bold;
		cursor: pointer;
		padding: 10px 0 5px 0;
		font-size: 11px;
	}

	.lightwindow_galleries_list li {
		margin: 5px 0 5px 0;
		list-style-type: none;
	}

	.lightwindow_galleries_list a, 
	.lightwindow_galleries_list a:link, 
	.lightwindow_galleries_list a:visited {
		display: block;
		line-height: 22px;
		color: #ffffff;
		text-decoration: none;
		font-weight: bold;
		cursor: pointer;
		padding: 0 0 0 10px;
		font-size: 11px;
	}

	.lightwindow_galleries_list a:hover, 
	.lightwindow_galleries_list a:active {
		background: #000000;
		color: #1693A7;
		border-left: 3px solid #E6781E;
		padding: 0 0 0 7px;
	}
		
#lightwindow_data {
	/* REQUIRED */
	position: absolute;
	/* REQUIRED */
}

	#lightwindow_data_slide {
		/* REQUIRED */
		position: relative;
		/* REQUIRED */
	}

	#lightwindow_data_slide_inner {
		background-color: #ffffff;
		padding: 0 10px 10px 10px;
	}

	#lightwindow_data_caption {
		padding: 10px 0 0 0;
		color: #666666;
		line-height: 25px;
		background-color: #ffffff;
		clear: both;
	}

	#lightwindow_data_details {
		background-color: #f0f0f0;
		padding: 0 10px 0 10px;
		height: 20px;
	}
	
	#lightwindow_data_author_container {
		width: 40%;
		text-align: right;
		color: #666666;
	 	font-style: italic;
		font-size: 11px;
		line-height: 20px;
		float: right;
		overflow: hidden;
	}
	
	#lightwindow_data_gallery_container {
		font-size: 11px;
		width: 40%;
		text-align: left;
		color: #666666;
		line-height: 20px;
		float: left;
		overflow: hidden;
	}
	
#lightwindow_title_bar {
	height: 25px;
	overflow: hidden;		
}

	#lightwindow_title_bar_title {
		color: #ffffff;
		font-size: 12px;
		line-height: 25px;
		text-align: left;
		float: left;
	}

	a#lightwindow_title_bar_close_link,	
	a:link#lightwindow_title_bar_close_link,
	a:visited#lightwindow_title_bar_close_link {
		float: right;
		text-align: right;		
		cursor: pointer;
		color: #ffffff;
		line-height: 25px;
		padding: 0;
		margin: 0;
	}
	
	a:hover#lightwindow_title_bar_close_link,
	a:active#lightwindow_title_bar_close_link {
		color: #CC0C39;
	}

/*-----------------------------------------------------------------------------------------------
	Theme styling stuff
-----------------------------------------------------------------------------------------------*/	

#lightwindow p {
	color: #000000;
	padding-right: 10px;
}

// The resize speed 0-10
resizeSpeed : 8,
contentOffset : {
    height : 20,
    width : 20
},
// Default sizes for each type
dimensions : {
    image : {height : 250, width : 250},
    page : {height : 250, width : 250},
    inline : {height : 250, width : 250},
    media : {height : 250, width : 250},
    external : {height : 250, width : 250},
    titleHeight : 25
},
// The class names to look for to create a LightWindow or an action
classNames : {	
    standard : 'lightwindow',
    action : 'lightwindow_action'
},
// The file types resepctive to their actions
fileTypes : {
    page : ['asp', 'aspx', 'cgi', 'htm', 'html', 'pl', 'php4', 'php3', 'php', 'php5', 'phtml', 'rhtml', 'shtml', 'txt', 'vbs', 'rb'],
    media : ['aif', 'aiff', 'asf', 'avi', 'divx', 'm1v', 'm2a', 'm2v', 'm3u', 'mid', 'midi', 'mov', 'moov', 'movie', 'mp2', 'mp3', 'mpa', 'mpa', 'mpe', 'mpeg', 'mpg', 'mpg', 'mpga', 'pps', 'qt', 'rm', 'ram', 'swf', 'viv', 'vivo', 'wav'],
    image : ['bmp', 'gif', 'jpg', 'png', 'tiff']
},
// Mime types for the file types
mimeTypes : {
    avi : 'video/avi',
    aif : 'audio/aiff',
    aiff : 'audio/aiff',
    gif : 'image/gif',
    bmp : 'image/bmp',
    jpeg : 'image/jpeg',
    m1v : 'video/mpeg',
    m2a : 'audio/mpeg',
    m2v : 'video/mpeg',
    m3u : 'audio/x-mpequrl',
    mid : 'audio/x-midi',
    midi : 'audio/x-midi',
    mjpg : 'video/x-motion-jpeg',
    moov : 'video/quicktime',
    mov : 'video/quicktime',
    movie : 'video/x-sgi-movie',
    mp2 : 'audio/mpeg',
    mp3 : 'audio/mpeg3',
    mpa : 'audio/mpeg',
    mpa : 'video/mpeg',
    mpe : 'video/mpeg',
    mpeg : 'video/mpeg',
    mpg : 'audio/mpeg',
    mpg : 'video/mpeg',
    mpga : 'audio/mpeg',
    pdf : 'application/pdf',
    png : 'image/png',
    pps : 'application/mspowerpoint',
    qt : 'video/quicktime',
    ram : 'audio/x-pn-realaudio-plugin',
    rm : 'application/vnd.rn-realmedia',
    swf	: 'application/x-shockwave-flash',
    tiff : 'image/tiff',
    viv : 'video/vivo',
    vivo : 'video/vivo',
    wav : 'audio/wav',
    wmv : 'video/x-ms-wmv'			
},	
// ActiveX Classids for file types
classids : {
    mov : 'clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B',
    swf : 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000',
    wmv : 'clsid:6BF52A52-394A-11d3-B153-00C04F79FAA6'
},
// The plugin sources for the file types
codebases : {
    mov : 'http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0',
    swf : 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0',
    wmv : 'http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715'
},	
// The default padding for the viewport when a window is to fit the browser
viewportPadding : 10,
// What files types should the EOLAS Fix be applied to
EOLASFix : 'swf,wmv,fla,flv',
// What are our overlay images and default opacity, the preset has to be prebuilt for firefox as we cannot use an opacity setting
overlay : {
    opacity : 0.7,
    image : '/lightwindow/images/black.png',
    presetImage : '/lightwindow/images/black-70.png'
},
// The default skin and associate markup, the id's and class are required
skin : 	{
    main :  '<div id="lightwindow_container" >'+
                '<div id="lightwindow_title_bar" >'+
                    '<div id="lightwindow_title_bar_inner" >'+
                        '<span id="lightwindow_title_bar_title"></span>'+
                        '<a id="lightwindow_title_bar_close_link" >close</a>'+
                    '</div>'+
                '</div>'+
                '<div id="lightwindow_stage" >'+
                    '<div id="lightwindow_contents" >'+
                    '</div>'+
                    '<div id="lightwindow_navigation" >'+
                        '<a href="#" id="lightwindow_previous" >'+
                            '<span id="lightwindow_previous_title"></span>'+
                        '</a>'+
                        '<a href="#" id="lightwindow_next" >'+
                            '<span id="lightwindow_next_title"></span>'+
                        '</a>'+
                        '<iframe name="lightwindow_navigation_shim" id="lightwindow_navigation_shim" src="javascript:false;" frameBorder="0" scrolling="no"></iframe>'+
                    '</div>'+								
                    '<div id="lightwindow_galleries">'+
                        '<div id="lightwindow_galleries_tab_container" >'+
                            '<a href="#" id="lightwindow_galleries_tab" >'+
                                '<span id="lightwindow_galleries_tab_span" class="up" >Galleries</span>'+
                            '</a>'+
                        '</div>'+
                        '<div id="lightwindow_galleries_list" >'+
                        '</div>'+
                    '</div>'+
                '</div>'+
                '<div id="lightwindow_data_slide" >'+
                    '<div id="lightwindow_data_slide_inner" >'+
                        '<div id="lightwindow_data_details" >'+
                            '<div id="lightwindow_data_gallery_container" >'+
                                '<span id="lightwindow_data_gallery_current"></span>'+
                                ' of '+
                                '<span id="lightwindow_data_gallery_total"></span>'+
                            '</div>'+
                            '<div id="lightwindow_data_author_container" >'+
                                'by <span id="lightwindow_data_author"></span>'+
                            '</div>'+
                        '</div>'+
                        '<div id="lightwindow_data_caption" >'+
                        '</div>'+
                    '</div>'+
                '</div>'+
            '</div>',	
    loading : 	'<div id="lightwindow_loading" >'+
                    '<img src="/lightwindow/images/ajax-loading.gif" alt="loading" />'+
                    '<span>Loading or <a href="javascript: myLightWindow.deactivate();">Cancel</a></span>'+
                    '<iframe name="lightwindow_loading_shim" id="lightwindow_loading_shim" src="javascript:false;" frameBorder="0" scrolling="no"></iframe>'+
                '</div>',
    iframe : 	'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'+
                '<html xmlns="http://www.w3.org/1999/xhtml">'+
                    '<body>'+
                        '{body_replace}'+
                    '</body>'+
                '</html>',
    gallery : {
        top :	  '<div class="lightwindow_galleries_list">'+
                        '<h1>{gallery_title_replace}</h1>'+
                        '<ul>',
        middle : 	    '<li>'+
                                '{gallery_link_replace}'+
                            '</li>',
        bottom : 	'</ul>'+
                   '</div>'
    }
},
// What form method should be used
formMethod : 'get',
// Should flash objects be hidden on the page when the window opens
hideFlash : false,
// Hide the gallery tab
hideGalleryTab : true,
// Show the gallery count when viewing a gallery
showGalleryCount : false
// Define your own handlers here, see the 'How to Theme Section'
animationHandler : true,
navigationHandler : true,
transitionHandler : true,
finalAnimationHandler : true,
formHandler : true,
galleryAnimationHandler : true
