var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100573&x=950',
		'title': '',
		'imageId': '70100573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101656&x=950',
		'title': '',
		'imageId': '70101656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100576&x=950',
		'title': '',
		'imageId': '70100576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100597&x=950',
		'title': '',
		'imageId': '70100597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100600&x=950',
		'title': '',
		'imageId': '70100600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100604&x=950',
		'title': '',
		'imageId': '70100604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100607&x=950',
		'title': '',
		'imageId': '70100607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100612&x=950',
		'title': '',
		'imageId': '70100612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100615&x=950',
		'title': '',
		'imageId': '70100615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70100893&x=950',
		'title': '',
		'imageId': '70100893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101759&x=950',
		'title': '',
		'imageId': '70101759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101762&x=950',
		'title': '',
		'imageId': '70101762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101570&x=950',
		'title': '',
		'imageId': '70101570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101573&x=950',
		'title': '',
		'imageId': '70101573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101576&x=950',
		'title': '',
		'imageId': '70101576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101579&x=950',
		'title': '',
		'imageId': '70101579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101582&x=950',
		'title': '',
		'imageId': '70101582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101585&x=950',
		'title': '',
		'imageId': '70101585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101588&x=950',
		'title': '',
		'imageId': '70101588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101591&x=950',
		'title': '',
		'imageId': '70101591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101594&x=950',
		'title': '',
		'imageId': '70101594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101621&x=950',
		'title': '',
		'imageId': '70101621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101741&x=950',
		'title': '',
		'imageId': '70101741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101744&x=950',
		'title': '',
		'imageId': '70101744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101747&x=950',
		'title': '',
		'imageId': '70101747',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101753&x=950',
		'title': '',
		'imageId': '70101753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101756&x=950',
		'title': '',
		'imageId': '70101756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101766&x=950',
		'title': '',
		'imageId': '70101766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101769&x=950',
		'title': '',
		'imageId': '70101769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101772&x=950',
		'title': '',
		'imageId': '70101772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101779&x=950',
		'title': '',
		'imageId': '70101779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101785&x=950',
		'title': '',
		'imageId': '70101785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101794&x=950',
		'title': '',
		'imageId': '70101794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101797&x=950',
		'title': '',
		'imageId': '70101797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015687&docid=70101801&x=950',
		'title': '',
		'imageId': '70101801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015687';

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