var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262589&x=2937',
		'title': '',
		'imageId': '69262589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262593&x=2937',
		'title': '',
		'imageId': '69262593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262594&x=2937',
		'title': '',
		'imageId': '69262594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262595&x=2937',
		'title': '',
		'imageId': '69262595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262596&x=2937',
		'title': '',
		'imageId': '69262596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262598&x=2937',
		'title': '',
		'imageId': '69262598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262599&x=2937',
		'title': '',
		'imageId': '69262599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262600&x=2937',
		'title': '',
		'imageId': '69262600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262601&x=2937',
		'title': '',
		'imageId': '69262601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980060&docid=69262602&x=2937',
		'title': '',
		'imageId': '69262602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980060';

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