var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935516&x=4851',
		'title': '',
		'imageId': '69935516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935514&x=4851',
		'title': '',
		'imageId': '69935514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935515&x=4851',
		'title': '',
		'imageId': '69935515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935517&x=4851',
		'title': '',
		'imageId': '69935517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935518&x=4851',
		'title': '',
		'imageId': '69935518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935522&x=4851',
		'title': '',
		'imageId': '69935522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935538&x=4851',
		'title': '',
		'imageId': '69935538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935549&x=4851',
		'title': '',
		'imageId': '69935549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935559&x=4851',
		'title': '',
		'imageId': '69935559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935569&x=4851',
		'title': '',
		'imageId': '69935569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935578&x=4851',
		'title': '',
		'imageId': '69935578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008988&docid=69935590&x=4851',
		'title': '',
		'imageId': '69935590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008988';

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