var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640325&x=4311',
		'title': '',
		'imageId': '69640325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640284&x=4311',
		'title': '',
		'imageId': '69640284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640319&x=4311',
		'title': '',
		'imageId': '69640319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640287&x=4311',
		'title': '',
		'imageId': '69640287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640310&x=4311',
		'title': '',
		'imageId': '69640310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640307&x=4311',
		'title': '',
		'imageId': '69640307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640306&x=4311',
		'title': '',
		'imageId': '69640306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640298&x=4311',
		'title': '',
		'imageId': '69640298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640272&x=4311',
		'title': '',
		'imageId': '69640272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640290&x=4311',
		'title': '',
		'imageId': '69640290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640318&x=4311',
		'title': '',
		'imageId': '69640318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640269&x=4311',
		'title': '',
		'imageId': '69640269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640303&x=4311',
		'title': '',
		'imageId': '69640303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640283&x=4311',
		'title': '',
		'imageId': '69640283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640326&x=4311',
		'title': '',
		'imageId': '69640326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640329&x=4311',
		'title': '',
		'imageId': '69640329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640264&x=4311',
		'title': '',
		'imageId': '69640264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640281&x=4311',
		'title': '',
		'imageId': '69640281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640267&x=4311',
		'title': '',
		'imageId': '69640267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640265&x=4311',
		'title': '',
		'imageId': '69640265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640266&x=4311',
		'title': '',
		'imageId': '69640266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640282&x=4311',
		'title': '',
		'imageId': '69640282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640268&x=4311',
		'title': '',
		'imageId': '69640268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997114&docid=69640297&x=4311',
		'title': '',
		'imageId': '69640297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997114';

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