var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062165&x=4721',
		'title': '',
		'imageId': '68062165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062169&x=4721',
		'title': '',
		'imageId': '68062169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062167&x=4721',
		'title': '',
		'imageId': '68062167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062173&x=4721',
		'title': '',
		'imageId': '68062173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062171&x=4721',
		'title': '',
		'imageId': '68062171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062172&x=4721',
		'title': '',
		'imageId': '68062172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062170&x=4721',
		'title': '',
		'imageId': '68062170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062168&x=4721',
		'title': '',
		'imageId': '68062168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062187&x=4721',
		'title': '',
		'imageId': '68062187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062166&x=4721',
		'title': '',
		'imageId': '68062166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062181&x=4721',
		'title': '',
		'imageId': '68062181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062180&x=4721',
		'title': '',
		'imageId': '68062180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062179&x=4721',
		'title': '',
		'imageId': '68062179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062178&x=4721',
		'title': '',
		'imageId': '68062178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062176&x=4721',
		'title': '',
		'imageId': '68062176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062177&x=4721',
		'title': '',
		'imageId': '68062177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062175&x=4721',
		'title': '',
		'imageId': '68062175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062174&x=4721',
		'title': '',
		'imageId': '68062174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062164&x=4721',
		'title': '',
		'imageId': '68062164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062186&x=4721',
		'title': '',
		'imageId': '68062186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062185&x=4721',
		'title': '',
		'imageId': '68062185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062184&x=4721',
		'title': '',
		'imageId': '68062184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062182&x=4721',
		'title': '',
		'imageId': '68062182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926882&docid=68062183&x=4721',
		'title': '',
		'imageId': '68062183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926882';

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