var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683420&x=2248',
		'title': '',
		'imageId': '69683420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683397&x=2248',
		'title': '',
		'imageId': '69683397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683402&x=2248',
		'title': '',
		'imageId': '69683402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683398&x=2248',
		'title': '',
		'imageId': '69683398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683424&x=2248',
		'title': '',
		'imageId': '69683424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683399&x=2248',
		'title': '',
		'imageId': '69683399',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683422&x=2248',
		'title': '',
		'imageId': '69683422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683403&x=2248',
		'title': '',
		'imageId': '69683403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683421&x=2248',
		'title': '',
		'imageId': '69683421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683400&x=2248',
		'title': '',
		'imageId': '69683400',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683425&x=2248',
		'title': '',
		'imageId': '69683425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683428&x=2248',
		'title': '',
		'imageId': '69683428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683423&x=2248',
		'title': '',
		'imageId': '69683423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683404&x=2248',
		'title': '',
		'imageId': '69683404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683426&x=2248',
		'title': '',
		'imageId': '69683426',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683405&x=2248',
		'title': '',
		'imageId': '69683405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683407&x=2248',
		'title': '',
		'imageId': '69683407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683429&x=2248',
		'title': '',
		'imageId': '69683429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683427&x=2248',
		'title': '',
		'imageId': '69683427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683401&x=2248',
		'title': '',
		'imageId': '69683401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683406&x=2248',
		'title': '',
		'imageId': '69683406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683408&x=2248',
		'title': '',
		'imageId': '69683408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683410&x=2248',
		'title': '',
		'imageId': '69683410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683411&x=2248',
		'title': '',
		'imageId': '69683411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683416&x=2248',
		'title': '',
		'imageId': '69683416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683409&x=2248',
		'title': '',
		'imageId': '69683409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683418&x=2248',
		'title': '',
		'imageId': '69683418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683415&x=2248',
		'title': '',
		'imageId': '69683415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683414&x=2248',
		'title': '',
		'imageId': '69683414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683412&x=2248',
		'title': '',
		'imageId': '69683412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683419&x=2248',
		'title': '',
		'imageId': '69683419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683417&x=2248',
		'title': '',
		'imageId': '69683417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=69683413&x=2248',
		'title': '',
		'imageId': '69683413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=59270515&x=2248',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997054&docid=59270516&x=2248',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997054';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
