var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747493&x=5919',
		'title': '',
		'imageId': '69747493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747494&x=5919',
		'title': '',
		'imageId': '69747494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747496&x=5919',
		'title': '',
		'imageId': '69747496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747500&x=5919',
		'title': '',
		'imageId': '69747500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747495&x=5919',
		'title': '',
		'imageId': '69747495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747499&x=5919',
		'title': '',
		'imageId': '69747499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747498&x=5919',
		'title': '',
		'imageId': '69747498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747497&x=5919',
		'title': '',
		'imageId': '69747497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747501&x=5919',
		'title': '',
		'imageId': '69747501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747520&x=5919',
		'title': '',
		'imageId': '69747520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001382&docid=69747521&x=5919',
		'title': '',
		'imageId': '69747521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001382';

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