var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121302&x=531',
		'title': '',
		'imageId': '69121302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121305&x=531',
		'title': '',
		'imageId': '69121305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121298&x=531',
		'title': '',
		'imageId': '69121298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121306&x=531',
		'title': '',
		'imageId': '69121306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121304&x=531',
		'title': '',
		'imageId': '69121304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121299&x=531',
		'title': '',
		'imageId': '69121299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121300&x=531',
		'title': '',
		'imageId': '69121300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121307&x=531',
		'title': '',
		'imageId': '69121307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121303&x=531',
		'title': '',
		'imageId': '69121303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121297&x=531',
		'title': '',
		'imageId': '69121297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973709&docid=69121301&x=531',
		'title': '',
		'imageId': '69121301',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973709';

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