/* JVN LAYOUT STYLES */


html {height:100%;}

body {height:95%; margin:10; padding:0px 0px 0px 0px;}

#jvnPageWidth
{
margin-top: auto;
margin-left: auto;
margin-right: auto;
width: 900px;
height: 700px;
text-align: left;
border: 0px solid red;
}


DIV#jvnBodyDiv
{
width: 900px;
height: 700px;
}

DIV#jvnHeaderDiv
{
background-image:url(/media/templates/jvnBackgroundBorder.gif);
width:900px;
height:72px;
}

DIV#jvnHomeHeaderDiv
{
width:900px;
height:72px;
}


#jvnHeaderTable
{
height: 70px;
}

#jvnHeaderTable td
{
padding-bottom: 0px;
}

#jvnHeaderTdLeft
{
padding-left: 20px;
text-align: left;
/*background: green;*/
}

#jvnHeaderTdRight
{
/*padding-right: 35px;*/
width:100%;
text-align: right;
/*background: red;*/
}

/* JVN MAIN MENU LAYOUT STYLES*/


DIV#jvnMainMenuDiv
{
}

#jvnMainMenuTable
{
}

#jvnMainMenuTable td
{
}

#jvnMainMenuTdLeft
{
}

#jvnMainMenuTdRight
{
}



/* JVN ARTICLE MENU LAYOUT STYLES*/


DIV#jvnArticleMenuDiv
{
padding-right: 35px;
text-align: right;
vertical-align:top;
height: 67px;
}

#jvnArticleMenuTable
{
}

#jvnArticleMenuTable td
{
}

#jvnArticleMenuTdLeft
{
}

#jvnArticleMenuTdRight
{
}





/* JVN CONTENT LAYOUT STYLES */


DIV#jvnContentDiv
{
margin-top: 40px;
border-top: #1a1818 1px solid;
border-bottom: #1a1818 1px solid;
height: 461px;
}

DIV#jvnSubContentDiv
{
margin-top: 40px;
border-top: #1a1818 1px solid;
height: 461px;
}


#jvnContentTable
{

}

#jvnContentTable td
{
}

#jvnContentTdLeft
{
}

#jvnContentTdRight
{
}


/* JVN FOOTER LAYOUT STYLES */

DIV#jvnFooterDiv
{
padding-right: 35px;
text-align: right;
vertical-align:top;
}



/* GENERAL STYLES */

a
{
font-family: Arial, sans-serif;
color: #999999;
text-decoration: none;
font-size: 11px;
line-height: 14px;
}

a:hover
{
font-family: Arial, sans-serif;
color: #000000;
text-decoration: none;
font-size: 11px;
line-height: 14px;
}

/* MENU STYLES */

DIV#jvnHomeSectionMenu
{
padding-left: 62px;
padding-top: 73px; 
}

DIV#jvnHomeArticleMenu
{
padding-left: 62px;
padding-top: 73px; 
}

DIV#jvnSubArticle
{
padding-left: 62px;
padding-top: 73px; 
width: 425px;
}

DIV#jvnSubArticleTitle
{
display: block;
font-weight: bold;
font-size: 11px;
font-family: Arial, sans-serif;
color: #000000;
text-decoration: none;
outline: none;
margin-bottom: 15px;
}


DIV#jvnSubArticleBody
{
display: block;
font-weight: normal;
font-size: 11px;
font-family: Arial, sans-serif;
color: #000000;
text-decoration: none;
outline: none;
}


/*FLASH RESIZE */
/* 
Methods for resizing the flash stage at runtime.

setFlashWidth(divid, newW)
divid: id of the div containing the flash movie.
newW: new width for flash movie

setFlashWidth(divid, newH)
divid: id of the div containing the flash movie.
newH: new height for flash movie

setFlashSize(divid, newW, newH)
divid: id of the div containing the flash movie.
newW: new width for flash movie
newH: new height for flash movie

canResizeFlash()
returns true if browser supports resizing flash, false if not. 
*/

function setFlashWidth(divid, newW){
	document.getElementById(divid).style.width = newW+"px";
}
function setFlashHeight(divid, newH){
	document.getElementById(divid).style.height = newH+"px";		
}
function setFlashSize(divid, newW, newH){
	setFlashWidth(divid, newW);
	setFlashHeight(divid, newH);
}
function canResizeFlash(){
	var ua = navigator.userAgent.toLowerCase();
	var opera = ua.indexOf("opera");
	if( document.getElementById ){
		if(opera == -1) return true;
		else if(parseInt(ua.substr(opera+6, 1)) >= 7) return true;
	}
	return false;
}

