var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767475&x=4844',
		'title': '',
		'imageId': '69767475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767484&x=4844',
		'title': '',
		'imageId': '69767484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767523&x=4844',
		'title': '',
		'imageId': '69767523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767514&x=4844',
		'title': '',
		'imageId': '69767514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767494&x=4844',
		'title': '',
		'imageId': '69767494',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767512&x=4844',
		'title': '',
		'imageId': '69767512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767526&x=4844',
		'title': '',
		'imageId': '69767526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767520&x=4844',
		'title': '',
		'imageId': '69767520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767517&x=4844',
		'title': '',
		'imageId': '69767517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767499&x=4844',
		'title': '',
		'imageId': '69767499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767467&x=4844',
		'title': '',
		'imageId': '69767467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767485&x=4844',
		'title': '',
		'imageId': '69767485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767510&x=4844',
		'title': '',
		'imageId': '69767510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767487&x=4844',
		'title': '',
		'imageId': '69767487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767486&x=4844',
		'title': '',
		'imageId': '69767486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767505&x=4844',
		'title': '',
		'imageId': '69767505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767492&x=4844',
		'title': '',
		'imageId': '69767492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767502&x=4844',
		'title': '',
		'imageId': '69767502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767469&x=4844',
		'title': '',
		'imageId': '69767469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767471&x=4844',
		'title': '',
		'imageId': '69767471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767472&x=4844',
		'title': '',
		'imageId': '69767472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767468&x=4844',
		'title': '',
		'imageId': '69767468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002173&docid=69767470&x=4844',
		'title': '',
		'imageId': '69767470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002173';

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