var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67298047&x=4139',
		'title': '',
		'imageId': '67298047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67298046&x=4139',
		'title': '',
		'imageId': '67298046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67298044&x=4139',
		'title': '',
		'imageId': '67298044',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67298045&x=4139',
		'title': '',
		'imageId': '67298045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67298043&x=4139',
		'title': '',
		'imageId': '67298043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442496&x=4139',
		'title': '',
		'imageId': '67442496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442495&x=4139',
		'title': '',
		'imageId': '67442495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442497&x=4139',
		'title': '',
		'imageId': '67442497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442493&x=4139',
		'title': '',
		'imageId': '67442493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442498&x=4139',
		'title': '',
		'imageId': '67442498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442494&x=4139',
		'title': '',
		'imageId': '67442494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3894273&docid=67442492&x=4139',
		'title': '',
		'imageId': '67442492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3894273';

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