var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269973&x=355',
		'title': '',
		'imageId': '69269973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269979&x=355',
		'title': '',
		'imageId': '69269979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269996&x=355',
		'title': '',
		'imageId': '69269996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269995&x=355',
		'title': '',
		'imageId': '69269995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269993&x=355',
		'title': '',
		'imageId': '69269993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269984&x=355',
		'title': '',
		'imageId': '69269984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269986&x=355',
		'title': '',
		'imageId': '69269986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269985&x=355',
		'title': '',
		'imageId': '69269985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269987&x=355',
		'title': '',
		'imageId': '69269987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269988&x=355',
		'title': '',
		'imageId': '69269988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269991&x=355',
		'title': '',
		'imageId': '69269991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269989&x=355',
		'title': '',
		'imageId': '69269989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269990&x=355',
		'title': '',
		'imageId': '69269990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269992&x=355',
		'title': '',
		'imageId': '69269992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269994&x=355',
		'title': '',
		'imageId': '69269994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269975&x=355',
		'title': '',
		'imageId': '69269975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269974&x=355',
		'title': '',
		'imageId': '69269974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269976&x=355',
		'title': '',
		'imageId': '69269976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269980&x=355',
		'title': '',
		'imageId': '69269980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269977&x=355',
		'title': '',
		'imageId': '69269977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269978&x=355',
		'title': '',
		'imageId': '69269978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269982&x=355',
		'title': '',
		'imageId': '69269982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269983&x=355',
		'title': '',
		'imageId': '69269983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980212&docid=69269981&x=355',
		'title': '',
		'imageId': '69269981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980212';

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