var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808688&x=340',
		'title': '',
		'imageId': '68808688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808691&x=340',
		'title': '',
		'imageId': '68808691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808690&x=340',
		'title': '',
		'imageId': '68808690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808694&x=340',
		'title': '',
		'imageId': '68808694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808697&x=340',
		'title': '',
		'imageId': '68808697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808692&x=340',
		'title': '',
		'imageId': '68808692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808689&x=340',
		'title': '',
		'imageId': '68808689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808693&x=340',
		'title': '',
		'imageId': '68808693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808695&x=340',
		'title': '',
		'imageId': '68808695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808698&x=340',
		'title': '',
		'imageId': '68808698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808699&x=340',
		'title': '',
		'imageId': '68808699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962949&docid=68808696&x=340',
		'title': '',
		'imageId': '68808696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962949';

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