var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311857&x=4639',
		'title': '',
		'imageId': '68311857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68310445&x=4639',
		'title': '',
		'imageId': '68310445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68310446&x=4639',
		'title': '',
		'imageId': '68310446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68310447&x=4639',
		'title': '',
		'imageId': '68310447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311868&x=4639',
		'title': '',
		'imageId': '68311868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68310448&x=4639',
		'title': '',
		'imageId': '68310448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311855&x=4639',
		'title': '',
		'imageId': '68311855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311864&x=4639',
		'title': '',
		'imageId': '68311864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311856&x=4639',
		'title': '',
		'imageId': '68311856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311866&x=4639',
		'title': '',
		'imageId': '68311866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311873&x=4639',
		'title': '',
		'imageId': '68311873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311867&x=4639',
		'title': '',
		'imageId': '68311867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311865&x=4639',
		'title': '',
		'imageId': '68311865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311862&x=4639',
		'title': '',
		'imageId': '68311862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311863&x=4639',
		'title': '',
		'imageId': '68311863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311861&x=4639',
		'title': '',
		'imageId': '68311861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311858&x=4639',
		'title': '',
		'imageId': '68311858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311860&x=4639',
		'title': '',
		'imageId': '68311860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311859&x=4639',
		'title': '',
		'imageId': '68311859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311872&x=4639',
		'title': '',
		'imageId': '68311872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311869&x=4639',
		'title': '',
		'imageId': '68311869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311870&x=4639',
		'title': '',
		'imageId': '68311870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311871&x=4639',
		'title': '',
		'imageId': '68311871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937646&docid=68311854&x=4639',
		'title': '',
		'imageId': '68311854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937646';

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