.photo-frame .topx-- 
{
	background-repeat: no-repeat;
	width: auto;
	height: 4px;
	vertical-align: top;
}
.photo-frame .top-x- {
	background-repeat: repeat-x;
	width: auto;
	height: 4px;
}
.photo-frame .top--x {
	background-repeat: no-repeat;
	width: auto;
	height: 4px;
	vertical-align: top;
}

.photo-frame .midx-- {
	background-repeat: repeat-y;
	width: 4px;
	height: auto;
}
.photo-frame .mid--x {
	background-repeat: repeat-y;
	width: 4px;
	height: auto;
}

.photo-frame .botx-- {
	background-repeat: no-repeat;
	width: 4px;
	height: 4px;
	vertical-align: top;
}
.photo-frame .bot-x- {
	background-repeat: repeat-x;
	width: auto;
	height: 4px;
}
.photo-frame .bot--x {
	background-repeat: no-repeat;
	width: 4px;
	height: 4px;
	vertical-align: bottom;
}


/* Photo Border for the Album Page */

.album-frame .topx----,
.album-frame .top----x,
.album-frame .botx----,
.album-frame .bot----x {
	height: 14px;
	width: 14px;
}

.album-frame .top-x--- {
	background-repeat: repeat-x;
	text-align: left;
	height: 14px;
	width: auto;
}
.album-frame .top--x-- {
	background-repeat: repeat-x;
	height: 14px;
	width: auto;
}
.album-frame .top---x- {
	background-repeat: repeat-x;
	text-align: right;
	height: 14px;
	width: auto;
}

.album-frame .mtpx---- {
	background-repeat: repeat-y;
	vertical-align: top;
	height: auto;
	width: 14px;
}
.album-frame .mtp----x {
	background-repeat: repeat-y;
	vertical-align: top;
	height: auto;
	width: 14px;
}

.album-frame .midx---- {
	background-repeat: repeat-y;
	height: auto;
	width: 14px;
}
.album-frame .mid----x {
	background-repeat: repeat-y;
	height: auto;
	width: 14px;
}

.album-frame .mbtx---- {
	background-repeat: repeat-y;
	vertical-align: bottom;
	height: auto;
	width: 14px;
}
.album-frame .mbt----x {
	background-repeat: repeat-y;
	vertical-align: bottom;
	height: auto;
	width: 14px;
}

.album-frame .bot-x--- {
	background-repeat: repeat-x;
	text-align: right;
	height: 14px;
	width: auto;
}
.album-frame .bot--x-- {
	background-repeat: repeat-x;
	height: 14px;
	width: auto;
}
.album-frame .bot---x- {
	background-repeat: repeat-x;
	text-align: left;
	height: 14px;
	width: auto;
}

.photo-frame .topx-- { background-image: url(/DesktopModules/SimpleGallery/images/frame-topx--.gif); }
.photo-frame .top-x- { background-image: url(/DesktopModules/SimpleGallery/images/frame-top-x-.gif); }
.photo-frame .top--x { background-image: url(/DesktopModules/SimpleGallery/images/frame-top--x.gif); }
.photo-frame .midx-- { background-image: url(/DesktopModules/SimpleGallery/images/frame-midx--.gif); }
.photo-frame .mid--x { background-image: url(/DesktopModules/SimpleGallery/images/frame-mid--x.gif); }
.photo-frame .botx-- { background-image: url(/DesktopModules/SimpleGallery/images/frame-botx--.gif); }
.photo-frame .bot-x- { background-image: url(/DesktopModules/SimpleGallery/images/frame-bot-x-.gif); }
.photo-frame .bot--x { background-image: url(/DesktopModules/SimpleGallery/images/frame-bot--x.gif); }

.album-frame .top-x--- {background-image: url(/DesktopModules/SimpleGallery/images/album-tstretch.gif);}
.album-frame .top--x-- {background-image: url(/DesktopModules/SimpleGallery/images/album-tstretch.gif);}
.album-frame .top---x- {background-image: url(/DesktopModules/SimpleGallery/images/album-tstretch.gif);}
.album-frame .mtpx---- {background-image: url(/DesktopModules/SimpleGallery/images/album-lstretch.gif);}
.album-frame .mtp----x {background-image: url(/DesktopModules/SimpleGallery/images/album-rstretch.gif);}
.album-frame .midx---- {background-image: url(/DesktopModules/SimpleGallery/images/album-lstretch.gif);}
.album-frame .mid----x {background-image: url(/DesktopModules/SimpleGallery/images/album-rstretch.gif);}
.album-frame .mbtx---- {background-image: url(/DesktopModules/SimpleGallery/images/album-lstretch.gif);}
.album-frame .mbt----x {background-image: url(/DesktopModules/SimpleGallery/images/album-rstretch.gif);}
.album-frame .bot-x--- {background-image: url(/DesktopModules/SimpleGallery/images/album-bstretch.gif);}
.album-frame .bot--x-- {background-image: url(/DesktopModules/SimpleGallery/images/album-bstretch.gif);}
.album-frame .bot---x- {background-image: url(/DesktopModules/SimpleGallery/images/album-bstretch.gif);}
