var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991283&x=2811',
		'title': '',
		'imageId': '69991283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991284&x=2811',
		'title': '',
		'imageId': '69991284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991290&x=2811',
		'title': '',
		'imageId': '69991290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991289&x=2811',
		'title': '',
		'imageId': '69991289',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991280&x=2811',
		'title': '',
		'imageId': '69991280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991287&x=2811',
		'title': '',
		'imageId': '69991287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991281&x=2811',
		'title': '',
		'imageId': '69991281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991292&x=2811',
		'title': '',
		'imageId': '69991292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991293&x=2811',
		'title': '',
		'imageId': '69991293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991296&x=2811',
		'title': '',
		'imageId': '69991296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991291&x=2811',
		'title': '',
		'imageId': '69991291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991279&x=2811',
		'title': '',
		'imageId': '69991279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991285&x=2811',
		'title': '',
		'imageId': '69991285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991282&x=2811',
		'title': '',
		'imageId': '69991282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991288&x=2811',
		'title': '',
		'imageId': '69991288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991297&x=2811',
		'title': '',
		'imageId': '69991297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991295&x=2811',
		'title': '',
		'imageId': '69991295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991294&x=2811',
		'title': '',
		'imageId': '69991294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011420&docid=69991286&x=2811',
		'title': '',
		'imageId': '69991286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011420';

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