var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905262&x=5633',
		'title': '',
		'imageId': '68905262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905261&x=5633',
		'title': '',
		'imageId': '68905261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905251&x=5633',
		'title': '',
		'imageId': '68905251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905258&x=5633',
		'title': '',
		'imageId': '68905258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905246&x=5633',
		'title': '',
		'imageId': '68905246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905252&x=5633',
		'title': '',
		'imageId': '68905252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905239&x=5633',
		'title': '',
		'imageId': '68905239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905245&x=5633',
		'title': '',
		'imageId': '68905245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905243&x=5633',
		'title': '',
		'imageId': '68905243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905237&x=5633',
		'title': '',
		'imageId': '68905237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905241&x=5633',
		'title': '',
		'imageId': '68905241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905255&x=5633',
		'title': '',
		'imageId': '68905255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905260&x=5633',
		'title': '',
		'imageId': '68905260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905259&x=5633',
		'title': '',
		'imageId': '68905259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905238&x=5633',
		'title': '',
		'imageId': '68905238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905247&x=5633',
		'title': '',
		'imageId': '68905247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905242&x=5633',
		'title': '',
		'imageId': '68905242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905244&x=5633',
		'title': '',
		'imageId': '68905244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905257&x=5633',
		'title': '',
		'imageId': '68905257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905250&x=5633',
		'title': '',
		'imageId': '68905250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905249&x=5633',
		'title': '',
		'imageId': '68905249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905254&x=5633',
		'title': '',
		'imageId': '68905254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=68905248&x=5633',
		'title': '',
		'imageId': '68905248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954799&docid=69186552&x=5633',
		'title': '',
		'imageId': '69186552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954799';

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";
	})
}
