var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898331&x=122',
		'title': '',
		'imageId': '69898331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898333&x=122',
		'title': '',
		'imageId': '69898333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898330&x=122',
		'title': '',
		'imageId': '69898330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898332&x=122',
		'title': '',
		'imageId': '69898332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898329&x=122',
		'title': '',
		'imageId': '69898329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898340&x=122',
		'title': '',
		'imageId': '69898340',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898339&x=122',
		'title': '',
		'imageId': '69898339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898335&x=122',
		'title': '',
		'imageId': '69898335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898336&x=122',
		'title': '',
		'imageId': '69898336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898334&x=122',
		'title': '',
		'imageId': '69898334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898341&x=122',
		'title': '',
		'imageId': '69898341',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898338&x=122',
		'title': '',
		'imageId': '69898338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898337&x=122',
		'title': '',
		'imageId': '69898337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898342&x=122',
		'title': '',
		'imageId': '69898342',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898343&x=122',
		'title': '',
		'imageId': '69898343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007612&docid=69898344&x=122',
		'title': '',
		'imageId': '69898344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007612';

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